klogd is not running - CSF

There is a mobile optimized version of this page, view AMP Version.

ConfigServer Security & Firewall (CSF) may start sending you warning emails that "klogd is not running", dont panic its not hard to fix! All you need to do is make sure klogd is running by following the tutorial below, btw if you're wondering klogd is a logging mechanism which logs kernal firewall messages to syslog, so its important you make sure its running and healthy.


How to setup klogd

All you need to do is edit one file on your server, connect to SSH as root and run the following command:

nano /etc/init.d/syslog

Find the following line in the file:

passed klogd skipped #daemon klogd $KLOGD_OPTIONS

replace it with the following:

#passed klogd skipped
daemon klogd $KLOGD_OPTIONS

Now search for the following line (about line #61):

status klogd

and uncomment it.

Make sure you restart syslog:

/etc/init.d/syslog restart

Author: Dean Williams

I'm a Web Developer, Graphics Designer and Gamer, this is my personal site which provides PHP programming advice, hints and tips

Post Tags:
, , , , ,
  • Chaz Antonelli