dhcpd stops logging
Shane Kerr
Shane_Kerr at isc.org
Tue Dec 19 10:57:16 UTC 2006
-----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:
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFh8WMMsfZxBO4kbQRAqwSAJ9yqARcWiqfPS5emwpAZYh0lbCZaQCgnZj8
IiGs76CRoj+a3vOwcjVE600=
=iNX3
-----END PGP SIGNATURE-----
More information about the dhcp-users
mailing list