Hi,
I got the following error while installing CSF.
I have tried various root commands from other threads, like:
I also tried manually adding the modules in iptables-config, but it refused to start.
I also tried downloading the iptables (1.6.1, 1.4.20 and 1.4.14), ./configure, make and make install. Nothing changed.
Note: Server is not OpenVZ (so vz commands do not exist)
Note: GoDaddy VPS (with default CentOS + CPanel)
The server holds several active email accounts, so reinstalling the OS and CPanel is not an option.
Thanks.
I also tried Iptables Basic Guide:
I got the following error while installing CSF.
Code:
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...FAILED [FATAL Error: iptables: No chain/target/match by that name.] - Required for csf to function
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...FAILED [Error: iptables: No chain/target/match by that name.] - Required for CONNLIMIT feature
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...FAILED [Error: iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)] - Required for MESSENGER feature
Testing iptable_nat/ipt_DNAT...FAILED [Error: iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)] - Required for csf.redirect feature
RESULT: csf will not function on this server due to FATAL errors from missing modules [1]
- Issue in Installing csf in cPanel, by NaveenT20, Nov 16, 2015
-
Code:
# modprobe iptables_module FATAL: Module iptables_module not found. # lsmod Module Size Used by # cd /etc/sysconfig/modules/ [/etc/sysconfig/modules]# ls ./ ../ #cat /proc/sys/net/ipv4/ip_forward 0
-
- replace centos 6.x iptables
- Nothing Changed
- Installation CSF Firewall on CentOS 5 and 6 - Knowledgebase
- Nothing Changed after perl -MCPAN -e 'install Bundle::LWP' finished compiling
I also tried manually adding the modules in iptables-config, but it refused to start.
I also tried downloading the iptables (1.6.1, 1.4.20 and 1.4.14), ./configure, make and make install. Nothing changed.
Code:
/etc/centos-release:CentOS release 6.9 (Final)
/usr/local/cpanel/version:11.64.0.21
/var/cpanel/envtype:
Kernel Version : 2.6.32-042stab093.4
Note: GoDaddy VPS (with default CentOS + CPanel)
The server holds several active email accounts, so reinstalling the OS and CPanel is not an option.
Thanks.
I also tried Iptables Basic Guide:
Code:
# cat /boot/config-2.6.32-042stab093.4 | grep -i "CONFIG_IP_NF"
cat: /boot/config-2.6.32-042stab093.4: No such file or directory
# rpm -qa | grep iptables
iptables-1.4.7-16.el6.x86_64
iptables-ipv6-1.4.7-16.el6.x86_64
# rpm -Uvh iptables-1.4.7-16.el6.x86_64.rpm
error: open of iptables-1.4.7-16.el6.x86_64.rpm failed: No such file or directory
# yum install iptables
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* cpanel-addons-production-feed: 104.219.172.10
* base: centos-distro.cavecreek.net
* extras: repos-lax.psychz.net
* updates: dist1.800hosting.com
Package iptables-1.4.7-16.el6.x86_64 already installed and latest version
Nothing to do
Last edited by a moderator: