Page 1 of 1

LFD Down

Posted: 21 Dec 2013, 06:40
by pauloray
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.

Re: LFD Down

Posted: 21 Dec 2013, 08:35
by ForumAdmin
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:

Code: Select all

		&cleanup(__LINE__,"*Error* Invalid configuration line");
to:

Code: Select all

		&cleanup(__LINE__,"*Error* Invalid configuration line [$line] in /etc/csf/csf.conf");
then restart lfd and check /var/log/lfd.log

Re: LFD Down

Posted: 21 Dec 2013, 19:28
by pauloray
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?

Re: LFD Down

Posted: 21 Dec 2013, 20:12
by pauloray
I have reuploaded csf.conf and it is working now.

I will just edit the configuration again. :)