csf will not start, caused by ETH_DEVICE_SKIP
Posted: 19 Sep 2012, 07:02
Today I began to receive a steady stream of emails from the server... one for example:
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
Upon logging in, I found that CSF itself was not running and the problem was eventually traced to this entry in csf.conf: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
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