Hi,
Under WHM>>Service Status, LFD is down and I keep on getting email notifications saying:
"lfd failed @ Sat Dec 21 00:27:40 2013. A restart was attempted automagically."
I checked /var/log/lfd.log and i got this error message:
Dec 21 00:27:41 lfd[11621]: *Error* Invalid configuration line, at line 64
Dec 21 00:27:41 lfd[11621]: daemon stopped
I checked /etc/csf/csf/csf.conf, and line 64 is this:
# Allow incoming PING
ICMP_IN = "1"
Anybody encountered the same issue? How did you fixed it?
This error started yesterday.
Thanks in advance.
LFD Down
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: LFD Down
Line 64 refers to the line in /etc/csf/lfd.pl not csf.conf. The error indicated that you have an invalid line somewhere in your csf.conf file. To get a more meaningful message you could edit /etc/csf/csf.pl and change line 64 from:
to:
then restart lfd and check /var/log/lfd.log
Code: Select all
&cleanup(__LINE__,"*Error* Invalid configuration line");
Code: Select all
&cleanup(__LINE__,"*Error* Invalid configuration line [$line] in /etc/csf/csf.conf");
Re: LFD Down
Hi,
I do cannot find the line of code in lfd[dot]pl
I tried disabling CSF and LFD using command csf -x and WHM>>Service Status returns LFD Up.
I also tried iploading a fresh copy of csf.conf, restarted csf but it did not fix the issue.
What should I do next?
I do cannot find the line of code in lfd[dot]pl
I tried disabling CSF and LFD using command csf -x and WHM>>Service Status returns LFD Up.
I also tried iploading a fresh copy of csf.conf, restarted csf but it did not fix the issue.
What should I do next?
Re: LFD Down
I have reuploaded csf.conf and it is working now.
I will just edit the configuration again.
I will just edit the configuration again.