Possible LFD bug...

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
bloggerman
Junior Member
Posts: 25
Joined: 20 Jan 2007, 04:26

Possible LFD bug...

Post 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!
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

This should now be fixed in v2.61 :)
boxfan
Junior Member
Posts: 15
Joined: 18 Dec 2006, 15:24

Post by boxfan »

Upgrading worked for me on both of my servers.
bloggerman
Junior Member
Posts: 25
Joined: 20 Jan 2007, 04:26

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