Author Topic: CSF won't start - iptables error  (Read 485 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CSF won't start - iptables error
« on: June 10, 2020, 08:51:25 AM »
Hello,

after a server reboot this morning I've noticed that the CWP dashboard shows the firewall as being switched off. The firewall manager shows the status "Error: iptables command [/sbin/iptables -v --policy INPUT DROP] failed, at line 1365 in /usr/sbin/csf".

When trying to manually start csf I get a lot of "iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded" errors.

Any ideas what I could do to solve this?

Offline
*****
Re: CSF won't start - iptables error
« Reply #1 on: June 12, 2020, 07:10:56 AM »
if openvz server contact server provider with that error.

Offline
*
Re: CSF won't start - iptables error
« Reply #2 on: June 12, 2020, 02:13:03 PM »
I was able to fix it myself. Reinstalling the kernel did the trick.

Code: [Select]
yum reinstall kernel

Offline
*
Re: CSF won't start - iptables error
« Reply #3 on: June 12, 2020, 02:45:39 PM »
and by the way it seems to be kernel 3.10.0-1127.10.1.el7 that breaks something. When manually selecting this kernel from GRUB2, I run into the same problem again. When choosing 3.10.0-1127.el7.x86_64 (without 10.1) everything works smoothly.