Red Hat Bugzilla – Bug 38768
dhcp package doesn't make dhcpd.leases file
Last modified: 2007-04-18 12:32:58 EDT
Running init.d/dhcpd start|stop|status gives no output, and doesn't start
the server. Running /usr/sbin/dhcpd kicks an error
about /var/lib/dhcp/dhcpd.leases missing. Doing a
touch /var/lib/dhcp/dhcpd.leases and then kicking the server makes it work
Steps to Reproduce:
1.Install dhcp-2.0p15-4 rpm
2.Edit /etc/dhcpd.conf (this step doesn't make a diff)
3.run /etc/rc.d/init.d/dhcpd start|status|<nothing>
Actual Results: see no output, and server doesn't start -broken IMHO
Expected Results: touch /var/lib/dhcp/dhcpd.leases - try step 2 again,
and it will work server starts running
If you run /usr/sbin/dhcpd at step 3 above, you get an error message:
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or
directory -- check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you.
don't know what to do about this.
*** This bug has been marked as a duplicate of 5405 ***