Discussion:
restarting the Klogd daemon
(too old to reply)
Bilal Osman
2003-11-10 17:51:59 UTC
Permalink
Hello everybody,

I'm using redhat 7.2 and I'm trying to modify the syslog.conf and restart
both syslogd and klogd daemons, now I know I can just do the following:

/etc/rc.d/init.d/syslog restart

and that would restart both daemons, but if I were to restart both daemons
seperatly using the kill/killall command with the -HUP / -SIGHUP
parameters as scuh:

killall -HUP klogd
killall -SIGHUP klogd
or
kill -HUP `cat /var/run/klogd.pid`

the klogd will be halted but it want go back up, because if I were to look
at the /var/log/messages file, or do ps -aux | grep logd I will out that the
process has been terminated and but never brought back up and I have to do

/etc/rc.d/init.d/syslog restart or
/sbin/klogd enter

can any body shed some light on this please, and let me know why this daemon
is not
coming back up, it is the same problem with RedHat 8, you help is well
appreciated,

Thanks a bunch ~~~~
mjt
2003-11-10 18:20:41 UTC
Permalink
Post by Bilal Osman
can any body shed some light on this please, and let me know why this
next time, try the man pages:

man klogd
...
SIGNAL HANDLING
The klogd will respond to eight signals: SIGHUP, SIGINT, SIGKILL,
SIGTERM, SIGTSTP, SIGUSR1, SIGUSR2 and SIGCONT. The SIGINT,
SIGKILL, SIGTERM and SIGHUP signals will cause the daemon to
close its kernel log sources and terminate gracefully.
...
.
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Good advice is something a man gives when he is too old to
set a bad example. - La Rouchefoucauld
Loading...