failed to load nf_conntrack module

Issues related to applications and software problems
Post Reply
w()lf
Posts: 2
Joined: 2019/10/22 15:09:06

failed to load nf_conntrack module

Post by w()lf » 2019/10/22 15:50:50

I recently set up a server using CentOs7.
While setting up firewalld i came across the following error:
ERROR: Failed to load nf_conntrack module:
modprobe: ERROR: could not find module by name='nf_conntrack'
ERROR: could not insert 'nf_conntrack': Function not implemented
ERROR: Error running install command for nf_conntrack
modinfo nf_conntrack results in:
modinfo: ERROR: Module alias nf_conntrack not found.
Does anyone know how to fix this?
Thanks a lot!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: failed to load nf_conntrack module

Post by TrevorH » 2019/10/23 14:30:27

That module is part of the CentOS 7 kernel so there is something else going on. Is this a VPS? What is the output from the command uname -a ? What is returned by grep -ir nf_conntrack /etc/modprobe*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

w()lf
Posts: 2
Joined: 2019/10/22 15:09:06

Re: failed to load nf_conntrack module

Post by w()lf » 2019/10/25 08:16:47

Hey thanks for the reply,
I think its a vps. Im using domainFactory/JiffyBox.

uname -a:
Linux j333112.servers.jiffybox.net 4.19.56-x86_64-jb1 #1 SMP Thu Jun 27 10:22:31 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux
grep -ir nf_conntrack /etc/modprobe*:
/etc/modprobe.d/firewalld-sysctls.conf:install nf_conntrack /usr/sbin/modprobe --ignore-install nf_conntrack $CMDLINE_OPTS && /usr/sbin/sysctl --quiet --pattern 'net[.]netfilter[.]nf_conntrack.*' --system

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: failed to load nf_conntrack module

Post by TrevorH » 2019/10/25 15:12:18

I'm afraid your provider has given you something which is not CentOS. We do not ship any kernel version 4.19.56-x86_64-jb1 and it's that that is the problem. Whoever built and supplied that kernel would appear not to have included the nf_conntrack* modules. You'll have to ask them about it and either hope they can supply one that works or guide you on hot to install the correct distro kernel and use that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply