Page 1 of 1

Status of lfd:lfd is stopped

Posted: 19 Jun 2017, 13:16
by darren2
Hi,
CSF stops almost every night. I receive the following error message:

/var/log/lfd.log

Jun 19 03:20:16 server lfd[27667]: iptables appears to have been flushed - running *csf startup*...
Jun 19 03:20:18 server lfd[27667]: csf startup completed
Jun 19 03:20:18 server lfd[13974]: *Error* csf reported an error (see /etc/csf/csf.error). *lfd stopped*, at line 7146
Jun 19 03:20:18 server lfd[13974]: daemon stopped
Jun 19 03:20:23 server lfd[27667]: *Error* pid mismatch or missing, at line 918
Jun 19 03:20:23 server lfd[27667]: daemon stopped

I try to check the error log:

more /etc/csf/csf.error
/etc/csf/csf.error: No such file or directory

Thanks in advance.

Re: Status of lfd:lfd is stopped

Posted: 20 Jun 2017, 11:48
by darren2
It happened again last night but this time I got the csf.error log

Error: FASTSTART: (csf.deny IPv4) [] [iptables-restore: line 2 failed]. Try rest
arting csf with FASTSTART disabled, at line 5083 in /usr/sbin/csf

I turned off FASTSTART
Do i need this?

Re: Status of lfd:lfd is stopped

Posted: 01 Jul 2017, 04:10
by darren2
FYI
It has been working fine after turning FASTSTART off

Re: Status of lfd:lfd is stopped

Posted: 01 Jul 2017, 13:15
by darren2
Correct that.
I received this error today:

more /etc/csf/csf.error
Error: iptables command [/sbin/iptables -v --policy OUTPUT DROP] failed, at line 1200 in /usr/sbin/csf