How to enable csf or lfd on server boot
Posted: 10 Mar 2015, 09:46
I just wonder if there is a way to ensure that csf is enabled at server startup. I am asking this because I noticed today that when my server, due to a scheduled restart, was restarted, lfd did not start and it remained so until several hours later when I came to knwo about the problem after I checked my mails and had to restart csf manually.
I found this in
Any ideas would be much appreciated.
P.S. The strange thing is I could not find /etc/csf/csf.error file.
I found this in
Code: Select all
/var/log/lfd.log
Code: Select all
Mar 10 03:50:35 server lfd[3632]: iptables appears to have been flushed - running *csf startup*...
Mar 10 03:50:46 server lfd[3632]: csf startup completed
Mar 10 03:50:46 server lfd[3632]: RESTRICT_SYSLOG: *Error* No matching unix sockets found
Mar 10 03:50:51 server lfd[3632]: *Error* You have an unresolved error when starting csf. You need to restart csf successfully before restarting lfd (see /etc/csf/csf.error). *lfd $
Mar 10 03:50:51 server lfd[3632]: daemon stopped
P.S. The strange thing is I could not find /etc/csf/csf.error file.