dhcpd stops logging
tina at zool.unizh.ch
Tue Dec 19 14:44:30 UTC 2006
Am 19.12.2006 um 11:57 schrieb Shane Kerr:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Tina Siegenthaler wrote:
>>> Does syslog stop logging to other files at the same time?
>> I don't think so, but since I haven't got any other app that
>> generates messages as regularly as dhcpd, I can't really tell.
>> Wait... now I remember, when it happened last Friday, I tried "logger
>> -p local1.info test", to test if syslogd has stopped accepting any
>> messages, but it apparently hadn't, since that message appeared in
>> the dhcpd.log (I'll try that again as soon as possible). It seems
>> that somehow dhcpd and syslogd loose contact, but I don't know who is
>> dropping it in the first place...
> You should be able to use "lsof" to see the files that the DHCP
> server has open.
> One of them should be /var/run/log, which according to the OS X man
> page is the
> socket used for logging:
> If this file is not open, then the DHCP server has lost the
> connection. In this
> case, it is probably a bug, but it could be in the syslog() library
> call, in the
> syslogd, or in the OS itself.
> A possible solution may be to use syslog-ng:
> This won't help if the problem is in the syslog() library call. In
> that case, we
> may be able to put together a workaround, but it will be a bit of a
> - --
I'll check that as soon as it stops logging again and will post back
More information about the dhcp-users