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?
How can I enable TUN/TAP?

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

Kubernetes support on VPSDime Services

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

Control panel shows memory usage higher than my free -m. What gives?

Control panel shows the cached memory as used as well. Your free -m shows the actual result.To...

Error: Failed to detect code [xnxnxnx] in SYSLOG_LOG [/var/log/messages]

The root cause of the issue is a current known bug with the imjournal module for rsyslog that...

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/