>> Out of curiosity, what command are you using to restart klogd?  I think >>I have 
>the same problem with one of my boxes.
>
>/etc/rc.d/init.d/syslog restart
>
>kill -HUP does not do the trick.

It has been my experience that 'kill -HUP syslogd' actually CAUSES klogd to stop 
working in both stock 7.0 and 7.1.

By default klogd sends it's output to the syslog and it doen't seem to like syslogd 
being restarted, only stopping and starting klogd will get it going again (klogd halts 
on a SIGHUP).  Issuing  '/etc/rc.d/init.d/syslog restart' fixes the problem because it 
stops and starts syslogd and klogd in turn.

So, it is a possibility that your problem arises from  'killall -HUP syslogd' getting 
called via cron scripts or elsewhere.  The syslog logrotate file is one culprit.  If 
you make no alteration to the default cron/logrotate scripts, then kernel logging will 
work ok from boot until the first weekend and then stop working until klogd is 
restarted.

Getting klogd to log direct to a file might be worth trying too, (klogd -f file).

Regards,

David
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px">
<DIV>&gt;&gt; Out of curiosity, what command are you using to restart 
klogd?&nbsp; I think &gt;&gt;I&nbsp;have the same problem with one of my 
boxes.<BR>&gt;<BR>&gt;/etc/rc.d/init.d/syslog restart<BR>&gt;<BR>&gt;kill -HUP 
does not do the trick.</DIV>
<DIV>&nbsp;</DIV>
<DIV>It has been my experience that 'kill -HUP syslogd' actually CAUSES klogd to 
stop working in both stock 7.0 and 7.1.</DIV>
<DIV>&nbsp;</DIV>
<DIV>By default klogd sends it's output to the syslog and it doen't seem to like 
syslogd being restarted, only stopping and starting klogd will get it going 
again (klogd halts on a SIGHUP).&nbsp; Issuing&nbsp; '/etc/rc.d/init.d/syslog 
restart' fixes the problem because it stops and starts syslogd and klogd in 
turn.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, it is a possibility that your problem arises from&nbsp; 'killall -HUP 
syslogd' getting called&nbsp;via cron scripts or elsewhere.&nbsp; The 
syslog&nbsp;logrotate file&nbsp;is one culprit.&nbsp; If you make no alteration 
to the default cron/logrotate scripts, then kernel logging will work 
ok&nbsp;from boot until the first weekend and then stop working until klogd is 
restarted.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Getting klogd to log direct to a file might be worth trying too, (klogd -f 
file).</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>David<BR></DIV></BODY></HTML>

Reply via email to