Page 1 of 1

csf will not start, caused by ETH_DEVICE_SKIP

Posted: 19 Sep 2012, 07:02
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

Re: csf will not start, caused by ETH_DEVICE_SKIP

Posted: 21 Sep 2012, 09:28
by ForumAdmin
I'll look at changing that to a warning message instead of a failure error.

Re: csf will not start, caused by ETH_DEVICE_SKIP

Posted: 21 Sep 2012, 09:45
by ForumAdmin
This should now be resolved in v2.61:
http://blog.configserver.com/index.php?itemid=672