Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just installed csf on a DirectAdmin server running CentOS. When i restart csf it however says:

Restarting bandmin acctboth chains for cPanel
    open3: exec of /usr/local/bandmin/bandminstart failed at /usr/sbin/csf line 3168
    iptables v1.3.5: Couldn't load target `acctboth':/lib64/iptables/libipt_acctboth.so: cannot open shared object file: No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.
    iptables v1.3.5: Couldn't load target `acctboth':/lib64/iptables/libipt_acctboth.so: cannot open shared object file: No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.
    iptables v1.3.5: Couldn't load target `acctboth':/lib64/iptables/libipt_acctboth.so: cannot open shared object file: No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.
    iptables v1.3.5: Couldn't load target `acctboth':/lib64/iptables/libipt_acctboth.so: cannot open shared object file: No such file or directory

    Try `iptables -h' or 'iptables --help' for more information.
    LOCALOUTPUT  all opt -- in * out !lo  0.0.0.0/0  -> 0.0.0.0/0
    LOCALINPUT  all opt -- in !lo out *  0.0.0.0/0  -> 0.0.0.0/0

Any idea why it's doing this? cPanel isn't even installed :s I tried restarting iptables but that didn't solve it

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Seems you have a mismatch of versions (most likely).

You can just opt to ignore them (warnings).

OR

You can turn off bandmin with csf by looking for setting LF_*_BANDMIN, setting to false (* should be replaced by something else) and restart csf/lfd.

OR

You can find where you have bandmin (check /scripts/bandminup) and update or install

OR

You can try to update both direct-admin, centos (various dependencies) and csf and cross your fingers for luck.

share|improve this answer
    
However, bandmin comes from cPanel. docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/BandmindPass Bandmin is therefore not installed.. –  bicycle Dec 26 '12 at 0:49

It appeared that i did something stupid. When I loaded the default csf.conf it appeared the default one was for cPanel. When rechecking the distribution file it appeared that there was also one called 'csf.directadmin.conf. When you rename that one to csf.conf and upload it to the server, it will solve the problem.

share|improve this answer
    
At least I was right about the version mismatch part. ^^; –  Grumpy Dec 26 '12 at 4:44
    
hahaha yeah true indeed –  bicycle Dec 27 '12 at 8:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.