After upgrading to 2.63 I get this error, and an email every 5 minutes.
Before upgrading everything was working.
Flushing chain `INPUT'
Flushing chain `FORWARD'
Flushing chain `OUTPUT'
Error: (iptables binary location) does not exist!, at line 22
Error: (iptables binary location) does not exist!, at line 22
Iptables Config Answer
WHM 10.8.0 cPanel 10.9.0-R50
Fedora i686 - WHM X v3.1.0
I can not locate a iptables setting in /etc/csf/csf.conf
grep / /etc/csf/csf.conf (current one)
LF_DSHIELD_URL = "http://feeds.dshield.org/block.txt"
LF_SPAMHAUS_URL = "http://www.spamhaus.org/drop/drop.lasso"
grep / /etc/csf/csf.conf (old)
LF_DSHIELD_URL = "http://feeds.dshield.org/block.txt"
LF_SPAMHAUS_URL = "http://www.spamhaus.org/drop/drop.lasso"
IPTABLES = "/sbin/iptables"
MODPROBE = "/sbin/modprobe"
IFCONFIG = "/sbin/ifconfig"
SENDMAIL = "/usr/sbin/sendmail"
NETSTAT = "/bin/netstat"
PS = "/bin/ps"
I added the missing items to the new csf.conf file and it now appears to work thanks.
It explains why I could not locate the settings.
Fedora i686 - WHM X v3.1.0
I can not locate a iptables setting in /etc/csf/csf.conf
grep / /etc/csf/csf.conf (current one)
LF_DSHIELD_URL = "http://feeds.dshield.org/block.txt"
LF_SPAMHAUS_URL = "http://www.spamhaus.org/drop/drop.lasso"
grep / /etc/csf/csf.conf (old)
LF_DSHIELD_URL = "http://feeds.dshield.org/block.txt"
LF_SPAMHAUS_URL = "http://www.spamhaus.org/drop/drop.lasso"
IPTABLES = "/sbin/iptables"
MODPROBE = "/sbin/modprobe"
IFCONFIG = "/sbin/ifconfig"
SENDMAIL = "/usr/sbin/sendmail"
NETSTAT = "/bin/netstat"
PS = "/bin/ps"
I added the missing items to the new csf.conf file and it now appears to work thanks.
It explains why I could not locate the settings.
Next Problem is with lfd
There is nothing in regex.pm.
root@mall [/]# ./etc/rc.d/init.d/lfd start Starting lfd:/etc/csf/regex.pm did not return a true value at /usr/sbin/lfd line 28. [ OK ] root@mall [/]# cat /etc/csf/regex.pm
Looks like a bad upgrade - cut off in middle or something.
Anyway to fix?
root@mall [/]# ./etc/rc.d/init.d/lfd start Starting lfd:/etc/csf/regex.pm did not return a true value at /usr/sbin/lfd line 28. [ OK ] root@mall [/]# cat /etc/csf/regex.pm
Looks like a bad upgrade - cut off in middle or something.
Anyway to fix?
Redownloaded tar file
Untar and copy regex.pm - now it is running.
Yes - it worked
I did it one problem at a time and it worked. But I then reinstalled just to make sure that I still was not missing something.
Works now.
Works now.