lfd on servername.com failed

Sometimes a Cpanel server running lfd (part of CSF) will send you an email every minute because it’s detected an lfd service failure.

Although it could have failed, what usually happens is a software update of CSF (config server firewall) might change the program id (pid), and chkservd (the service checker thats part of cpanel) doesn’t know it’s changed.

Typical email received every 2 minutes:
Subject: lfd on servername.com failed
Message: lfd failed @ Sat Mar 21 10:19:18 2009. A restart was attempted automagically.
Service Check Method:  [check command]

This is an inconclusive error message, it doesn’t always mean lfd is not running, but it could mean that the PID has changed (a software update), and chkservd is looking for the wrong program.

Do the following:

  1. Login to a Secure Shell.
  2. Determine lfd status (#/etc/init.d/lfd status)
  3. If not running, start it. (#/etc/init.d/lfd start) or (#/etc/init.d/lfd restart)
  4. If it is running, you need to restart chkserd (#/etc/init.d/lfd status)
  5. Restart chkservd

Hopefully the service status in WHM or Cpanel, will shot it’s up now.

If that didn’t work, you’ll need to check the error logs, you can do this with any editor.

#nano /var/log/lfd.log

Share and Enjoy:
  • Print
  • email
  • Google Bookmarks
  • Digg
  • Facebook
  • del.icio.us
  • Mixx
  • Live
  • NewsVine
  • Slashdot
  • Technorati
  • Ma.gnolia

Tags: , , , ,

Leave a Reply