[CentOS] Couple of CentOS 5.2 dhcp notes

Filipe Brandenburger filbranden at gmail.com
Mon Jul 7 21:05:18 UTC 2008


On Sun, Jul 6, 2008 at 7:39 PM, Ian Forde <ian at duckland.org> wrote:
> In fact, here's the output... (IP, hostname, and Mac info changed...)
> [root at myhost etc]# dhcpd
> Internet Systems Consortium DHCP Server V3.0.5-RedHat
> Copyright 2004-2006 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Wrote 0 leases to leases file.
> Listening on LPF/eth0/00:00:de:ad:be:ef/10.0.0/24
> Sending on   LPF/eth0/00:00:de:ad:be:ef/10.0.0/24
> Sending on   Socket/fallback/fallback-net
> [root@myhost etc]# echo $?
> 0
> [root@myhost etc]# !ps
> ps -ef | grep dhcpd
> root     15058 11173  0 16:36 pts/0    00:00:00 grep dhcpd
> [root@myhost etc]#

Try to strace it:

[root at myhost etc]# strace -f -tt -s 1024 -o /tmp/dhcpd_strace.txt dhcpd

Then check /tmp/dhcpd_strace.txt (I suggest starting from the bottom)
and see why it exited or died. The strace might give you a good clue
of what happened, and even if it tried to log anything
(unsuccessfully?) before being terminated.


More information about the CentOS mailing list