Page 1 of 1

Possible LFD bug...

Posted: 20 Jan 2007, 04:37
by bloggerman
Seems upgrading from 2.59 >> 2.60 when you restart CSF & LFD, you get the following:

Restarting lfd...

Stopping lfd: Done
Starting lfd: Done


...Done.

Now I go to check the LFD Daemon is running and it shows it's stopped:

ConfigServer Security & Firewall - csf v2.60

Show lfd status...

Status of lfd: Stopped


...Done.

Then to see if restarting you get this:

ConfigServer Security & Firewall - csf v2.60

Restarting lfd...

Stopping lfd: Done
Starting lfd: Done


...Done.


The I go back to check the status of LFD it says stopped again:


ConfigServer Security & Firewall - csf v2.60

Show lfd status...

Status of lfd: Stopped


...Done.


Now from ssh:
> ps aux | grep lfd
root 21369 0.1 0.3 11596 7204 ? S Jan13 16:00 lfd - sleeping
root 29363 0.0 0.0 0 0 ? Z 20:32 0:00 [lfd <defunct>]
root 29434 0.0 0.0 4820 724 pts/1 S 20:32 0:00 grep lfd
> /etc/init.d/lfd restart
Stopping lfd:/etc/init.d/lfd: line 1: /bin/pidof: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
Done
Starting lfd:Error: Another instance of lfd is running at /usr/sbin/lfd line 54.
Done
> /etc/init.d/lfd stop
Stopping lfd:/etc/init.d/lfd: line 1: /bin/pidof: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
Done
> /etc/init.d/lfd start
Starting lfd: Done
> /etc/init.d/lfd restart
Stopping lfd:/etc/init.d/lfd: line 1: /bin/pidof: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
Done
Starting lfd:Error: Another instance of lfd is running at /usr/sbin/lfd line 54.
Done
>
As you see above there is an issue even from the command line...

It was running fine and restarting fine in 2.59 so you may have a slight bug somewhere!

Posted: 20 Jan 2007, 10:00
by chirpy
This should now be fixed in v2.61 :)

Posted: 20 Jan 2007, 15:54
by boxfan
Upgrading worked for me on both of my servers.

Posted: 20 Jan 2007, 17:58
by bloggerman
Perfect, and you all are on top of things.
Show lfd status...

Status of lfd: Running


...Done.
Good to see this working now!