csf install problem

tsimtung

Verified User
Joined
Feb 26, 2022
Messages
66
hi,
when I build csf, it shows:
command_csf: preliminary test failed, CSF is missing some modules

how to solve it?
Thanks
stanley
 
Hello.
So why are you installinhg CSF by yourself? It will be installed automatically when you install Directadmin.

Anyway, check which modules are missing:
perl /usr/local/csf/bin/csftest.pl
 
hi,
I used directadmin to setup.sh to install, but it failed.

CT-1777 ~# perl /usr/local/csf/bin/csftest.pl
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.21: 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.21: 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]
 
OK, I have solved it, thanks.
It is a child of openvz, and I need to set the IPTABLES in vz.conf
Thanks.
 
Back
Top