[CentOS] Couple of CentOS 5.2 dhcp notes

Ian Forde ian at duckland.org
Sun Jul 6 23:39:05 UTC 2008


On Sun, 2008-07-06 at 19:34 -0400, Marko A. Jennings wrote:
> On Sun, July 6, 2008 6:57 pm, Ian Forde wrote:
> > 1. Apparently, since I updated from 5.1 to 5.2, dhcpd no longer wants to
> > stay running.  The config is sound, and I can start it from the
> > command-line with the "-d" flag and it serves up leases.  But without
> > the -d flag, it just silently dies...
> 
> What exit code does it return when you execute it from the command line
> without the "-d" flag?

0

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]# 

	-I




More information about the CentOS mailing list