* syslog time problem
@ 2007-03-22 19:29 James Roy
2007-03-23 4:49 ` Glynn Clements
0 siblings, 1 reply; 2+ messages in thread
From: James Roy @ 2007-03-22 19:29 UTC (permalink / raw)
To: linux-admin
Where does syslog get it's idea of time?
After manually updating /etc/localtime to account for
the recent DST change, the other daemons get the message after
a restart and figure time correctly. But the -- MARK -- entries
from syslogd are still wrong, in spite of it being restarted
regularly from cron. This behaviour is consistant across several
old 2.2.xx machines. What am I missing here??
--
Jim Roy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: syslog time problem
2007-03-22 19:29 syslog time problem James Roy
@ 2007-03-23 4:49 ` Glynn Clements
0 siblings, 0 replies; 2+ messages in thread
From: Glynn Clements @ 2007-03-23 4:49 UTC (permalink / raw)
To: James Roy; +Cc: linux-admin
James Roy wrote:
> Where does syslog get it's idea of time?
It depends upon exactly which syslogd you are using, but they normally
just use libc functions (e.g. ctime).
> After manually updating /etc/localtime to account for
> the recent DST change, the other daemons get the message after
> a restart and figure time correctly. But the -- MARK -- entries
> from syslogd are still wrong, in spite of it being restarted
> regularly from cron. This behaviour is consistant across several
> old 2.2.xx machines. What am I missing here??
Have you checked that syslogd is actually getting restarted? It should
generate a log entry upon restart. Note that you actually have to kill
the old process and start a new one; sending it SIGHUP won't work.
--
Glynn Clements <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-23 4:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22 19:29 syslog time problem James Roy
2007-03-23 4:49 ` Glynn Clements
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).