Status of lfd:lfd is stopped

Post Reply
darren2
Junior Member
Posts: 4
Joined: 19 Jun 2017, 12:45

Status of lfd:lfd is stopped

Post 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.
darren2
Junior Member
Posts: 4
Joined: 19 Jun 2017, 12:45

Re: Status of lfd:lfd is stopped

Post 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?
darren2
Junior Member
Posts: 4
Joined: 19 Jun 2017, 12:45

Re: Status of lfd:lfd is stopped

Post by darren2 »

FYI
It has been working fine after turning FASTSTART off
darren2
Junior Member
Posts: 4
Joined: 19 Jun 2017, 12:45

Re: Status of lfd:lfd is stopped

Post 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
Post Reply