I tried first installing CSF from the guideline provided on your website: https://download.configserver.com/csf/install.txt but this created a huge problem for us. Our server was filled up with 60k+ processes like this:
Code: Select all
root 2398 0.0 0.0 124500 1620 ? Ss Apr27 0:01 /usr/sbin/crond -n
root 13451 0.0 0.0 222996 3648 ? S 00:00 0:00 \_ /usr/sbin/CROND -n
root 13468 0.0 0.0 113280 1200 ? Ss 00:00 0:00 | \_ /bin/sh -c /usr/sbin/csf --lfd restart > /dev/null 2>&1
root 13469 0.0 0.0 113280 868 ? S 00:00 0:00 | \_ /bin/sh -c /usr/sbin/csf --lfd restart > /dev/null 2>&1
root 13471 0.0 0.0 113280 612 ? S 00:00 0:00 | \_ /bin/sh -c /usr/sbin/csf --lfd restart > /dev/null 2>&1
root 13472 0.0 0.0 113280 612 ? S 00:00 0:00 | \_ /bin/sh -c /usr/sbin/csf --lfd restart > /dev/null 2>&1
root 13474 0.0 0.0 113280 612 ? S 00:00 0:00 | \_ /bin/sh -c /usr/sbin/csf --lfd restart > /dev/null 2>&1
Code: Select all
Service Status
tailwatchd (tailwatchd) is running as root with PID 2577 (systemd+/proc check method).
Startup Log
Apr 28 05:24:36 figma.localhost systemd[1]: Starting tailwatchd...
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: [Wed Apr 28 05:24:38 2021] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: Log is at /usr/local/cpanel/logs/tailwatchd_log
Apr 28 05:24:38 figma.localhost systemd[1]: Started tailwatchd.
tailwatchd restarted successfully.
...Done
/usr/local/csf/bin/uninstall.sh: line 2: sf: command not found
Failed to execute operation: No such file or directory
Failed to execute operation: No such file or directory
Failed to remove file: /var/cpanel/apps/csf.conf : No such file or directory
Waiting for “tailwatchd” to restart gracefully ……………………………………………………………………………………………………………………………………………………waiting for “tailwatchd” to initialize ………finished.
Service Status
tailwatchd (tailwatchd) is running as root with PID 2577 (systemd+/proc check method).
Startup Log
Apr 28 05:24:36 figma.localhost systemd[1]: Starting tailwatchd...
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: [Wed Apr 28 05:24:38 2021] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: Log is at /usr/local/cpanel/logs/tailwatchd_log
Apr 28 05:24:38 figma.localhost systemd[1]: Started tailwatchd.
tailwatchd restarted successfully.
...Done
/usr/local/csf/bin/uninstall.sh: line 2: sf: command not found
Failed to execute operation: No such file or directory
Failed to execute operation: No such file or directory
Failed to remove file: /var/cpanel/apps/csf.conf : No such file or directory
Waiting for “tailwatchd” to restart gracefully …………………………………………………………………………………………………………………………………………………………………waiting for “tailwatchd” to initialize ………finished.
Service Status
tailwatchd (tailwatchd) is running as root with PID 2577 (systemd+/proc check method).
Startup Log
Apr 28 05:24:36 figma.localhost systemd[1]: Starting tailwatchd...
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: [Wed Apr 28 05:24:38 2021] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Apr 28 05:24:38 figma.localhost restartsrv_tailwatchd[2577]: Log is at /usr/local/cpanel/logs/tailwatchd_log
Apr 28 05:24:38 figma.localhost systemd[1]: Started tailwatchd.