dhcpd server failing to start

Claude Jones cjoneslists at tehogeeservices.com
Fri Dec 16 15:28:13 UTC 2011


On 12/15/2011 05:34 PM, Claude Jones wrote:
>
> A new error now being reported is this: "Can't open
> /var/lib/dhcpd/dhcpd.leases for append." and then results in "Unit
> dhcpd.service entered failed state." - I navigated to that file using
> Konqueror running as root, and the file is there and I was able to open
> it just fine...could this be Selinux causing the "unable to open"? I
> just checked sealerts and there are none...

Googling this can't open dhcpd.leases error found a closed bugzilla 
report - this problem was supposedly fixed, and the bugzilla report was 
marked as closed; I've added a comment which I hope will yield a reply.
https://bugzilla.redhat.com/process_bug.cgi
Here's my comment - the versions of dhcp I'm running are newer than the 
ones cited in the bugzilla comments as having fixed the issue:

I too am having this problem. If I run, as root, "dhcpd eth2" I get:
********************************
dhcpd eth2
Internet Systems Consortium DHCP Server 4.2.3-P1
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not
specified in the config file
Listening on LPF/eth2/00:08:54:38:d4:bf/192.168.2.0/24
Sending on   LPF/eth2/00:08:54:38:d4:bf/192.168.2.0/24
Sending on   Socket/fallback/fallback-net
*********************************
DHCPD can be confirmed to be running because machines on my lan can get
addresses
But, when I reboot, I get the following in /var/log/messages and attempts to
renew IP addresses by machines on the lan fail:
*********************************
"Can't open /var/lib/dhcpd/dhcpd.leases for append."
*********************************
My dhcp versions:
*********************************
rpm -qa | grep dhcp
dhcp-libs-4.2.3-4.P1.fc16.x86_64
gadmin-dhcpd-0.4.9-0.1.rhfc12.nr.i686
dhcp-4.2.3-4.P1.fc16.x86_64
dhcp-common-4.2.3-4.P1.fc16.x86_64

-- 
Claude Jones Brunswick, MD, USA


More information about the users mailing list