Tristan
Verified User
Hi there,
just installed CSF as per instructions here:
since it wasn't installed by default when this DirectAdmin server was installed. Noticed some problems after installation though. The section for additional DirectAdmin entries in csf.pignore is empty after installation resulting in lots of false "Excessive resource usage" emails of course and when issuing a restart:
Does anyone know how to install CSF properly nowadays on Debian 11 with DirectAdmin stable 1.658?
just installed CSF as per instructions here:
Code:
da build set csf yes
da build csf
Code:
● csf.service - ConfigServer Firewall & Security - csf
Loaded: loaded (/usr/lib/systemd/system/csf.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-02-28 13:54:34 CET; 5s ago
Process: 8928 ExecStart=/usr/sbin/csf --initup (code=exited, status=2)
Main PID: 8928 (code=exited, status=2)
CPU: 565ms
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `OUTPUT'
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `PREROUTING'
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `INPUT'
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `FORWARD'
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `OUTPUT'
Feb 28 13:54:34 server.example.com csf[8928]: Flushing chain `POSTROUTING'
Feb 28 13:54:34 server.example.com csf[8928]: open3: exec of /sbin/ipset flush failed: No such file or directory at /usr/sbin/csf line 5650.
Feb 28 13:54:34 server.example.com systemd[1]: csf.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Feb 28 13:54:34 server.example.com systemd[1]: csf.service: Failed with result 'exit-code'.
Feb 28 13:54:34 server.example.com systemd[1]: Failed to start ConfigServer Firewall & Security - csf.