csf will not start, caused by ETH_DEVICE_SKIP

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
sneader
Junior Member
Posts: 84
Joined: 22 Mar 2007, 05:38

csf will not start, caused by ETH_DEVICE_SKIP

Post by sneader »

Today I began to receive a steady stream of emails from the server... one for example:
cPanel ChkServd Service Monitor
lfd failed @ Tue Sep 18 18:44:22 2012. A restart was attempted automagically.
Service Check Method: [check command]
Number of Restart Attempts: 2
Syslog Messages: Sep 18 18:39:22 host lfd: lfd shutdown failed
Sep 18 18:39:22 host lfd: succeeded
Sep 18 18:39:22 host lfd: succeeded
Upon logging in, I found that CSF itself was not running and the problem was eventually traced to this entry in csf.conf:

ETH_DEVICE_SKIP = "eth1"

At some point, we had skipped eth1, since it was either an unused port, or one that went to the data center's local 10.x.x.x network (still looking into this part).

But, bottom line, eth1 is no longer in use (verified by ifconfig) and so by removing this from the config, CSF restarted fine.

Posting this in bugs, in case this might be an opportunity to handle this situation more gracefully... maybe if we try to skip an Interface that does not exist, it can bypass the request to skip it and move on?

Thanks for listening!

- Scott
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: csf will not start, caused by ETH_DEVICE_SKIP

Post by ForumAdmin »

I'll look at changing that to a warning message instead of a failure error.
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: csf will not start, caused by ETH_DEVICE_SKIP

Post by ForumAdmin »

This should now be resolved in v2.61:
http://blog.configserver.com/index.php?itemid=672
Post Reply