CyberHosting

CSF : Enabled but Stopped Unable to start

Ubuntu 18.04.3 LTS
Cyberpanel 1.9
Error : CSF : Enabled but Stopped Unable to start the error output :
open3: exec of /usr/sbin/ipset flush failed: No such file or directory at /usr/sbin/csf line 5408.

While search found need to install IPSET & I have installed IPSTE.
________
[email protected]:~# sudo apt-get install ipset
Reading package lists... Done
Building dependency tree
Reading state information... Done
ipset is already the newest version (6.34-1).
__________
Tagged:
Tagged:

Comments

  • https://www.webhostingtalk.com/showthread.php?t=1558943

    It looks like the path in your csf.conf for IPset has the wrong path to the binary.

    It looks like its looking here "/usr/sbin/ipset" when it may be located at "/sbin/ipset"

    Ubuntu 18.04.3 LTS
    [email protected]:~# which ipset
    /sbin/ipset
    [email protected]:~#

    Change from:
    IPSET = "/usr/sbin/ipset"
    TO:
    IPSET = "/sbin/ipset"

    The below line as root should change that line.
    sed -i 's|^IPSET =.*|IPSET = "/sbin/ipset"|g' /etc/csf/csf.conf

    Ensure Ipset is enabled in the config
    sed -i 's/^LF_IPSET =.*/LF_IPSET="1"/g' /etc/csf/csf.conf

    Then try this to disable and start and enable it fresh.
    csf -x && csf -e

    or
    csf -ra

    It is also possible if this OpenVZ/Virtuozzo that it might not be supported.

    I noticed my Ubuntu has this line set but seems to be working fine with the wrong path which is odd but if it ain't broke don't fix it.
  • edited January 31
    @whattheserver
    > It looks like the path in your csf.conf for IPset has the wrong path to the binary.

    Thank you for your help, I have corrected the path and problem solved.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!