Portal Home > Knowledgebase > Technical Questions > ufw is not starting and returning nf_conntrack_ftp module not found

ufw is not starting and returning nf_conntrack_ftp module not found

You may receive the following error message while trying to enable ufw (ufw enable):

ERROR: problem running ufw-init
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.4.0/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/4.4.0
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.4.0/modules.builtin.bin'
modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/4.4.0
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.4.0/modules.builtin.bin'modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/4.4.0

The reason is that the modules are already enabled on your VPS but ufw is trying to enable them again.

To resolve the problem, simply edit your /etc/default/ufw file with a text editor like nano and comment the following line out:

IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_netbios_ns"

To comment it out, simply put a # in front of the line, like this:

#IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_netbios_ns"

Then save and exit and try enabling it again by command:

ufw enable
Was this answer helpful?
Can I use Mailcow on Linux VPS?

Unfortunately, you cannot use Mailcow on Linux VPS line. Their maintainers have no interest in...

Kubernetes support on VPSDime Services

Full-stack k8s Kubernetes is not supported on our Linux VPS plans, as with the OpenVZ 7...

Can I run Docker on my VPS?

Docker is fully supported for our Linux VPS and Premium VPS plans.It has been enabled by default...

My VPS is using too much memory. What's wrong?

It probably isn't. You may be reading it incorrectly. Please refer to http://www.linuxatemyram.com/

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

If you see a message like the below when you are trying to connect to your VPS using SSH, it's...