dhcpd stops logging

Tina Siegenthaler tina at zool.unizh.ch
Tue Dec 19 14:44:30 UTC 2006

Am 19.12.2006 um 11:57 schrieb Shane Kerr:

> 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:
> http://developer.apple.com/documentation/Darwin/Reference/ManPages/ 
> man8/syslogd.8.html
> 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:
> http://www.macosxhints.com/article.php?story=20040710171559860
> 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  
> hack.
> - --
> Shane
Hi Shane

I'll check that as soon as it stops logging again and will post back  

Thanks, Tina

More information about the dhcp-users mailing list