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?
Docker requires br_netfilter. How can I load this module?

br_netfilter module is already enabled on your VPS.There's a couple of different things you can...

OpenVPN fails to start. How can I resolve it?

If you cannot start OpenVPN on your VPS with Ubuntu 18.04, Debian 9 or CentOS 7 with the...

Unable to launch Docker swarm due to br_netfilter messages

When receiving the following message:"error creating external connectivity network: cannot...

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...

How can I enable FUSE?

For Linux VPS line, FUSE / SSHFS is enabled by default. You don't need to run modprobe. This will...