LFD Down

Post Reply
pauloray
Junior Member
Posts: 3
Joined: 21 Dec 2013, 01:24
Location: Philippines

LFD Down

Post 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.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: LFD Down

Post 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
pauloray
Junior Member
Posts: 3
Joined: 21 Dec 2013, 01:24
Location: Philippines

Re: LFD Down

Post 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?
pauloray
Junior Member
Posts: 3
Joined: 21 Dec 2013, 01:24
Location: Philippines

Re: LFD Down

Post by pauloray »

I have reuploaded csf.conf and it is working now.

I will just edit the configuration again. :)
Post Reply