DHCP crashes due to corrupt lease file
Sushma Reddy
sushmatuvva at gmail.com
Mon Sep 27 03:07:09 UTC 2010
Hi,
I am running DHCP version 3.1.3 in failover. From time to time dhcp
service doesn't start on the Primary DHCP server with following message in
syslog:
Sep 23 03:01:06 dns dhcpd: Internet Systems Consortium DHCP Server V3.1.3
Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608: eof in
string constant
Sep 23 03:01:06 dns dhcpd: uid "\
Sep 23 03:01:06 dns dhcpd: ^
Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608:
semicolon expected.
Sep 23 03:01:06 dns dhcpd: uid "\
Sep 23 03:01:06 dns dhcpd: ^
Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608:
unexpected end of file
Sep 23 03:01:06 dns dhcpd: uid "\
Sep 23 03:01:06 dns dhcpd: ^
Sep 23 03:01:06 dns dhcpd: Impossible condition at hash.c:54.
Sep 23 03:01:06 dns dhcpd: exiting.
Sep 23 03:01:06 dns DHCP[19187]: DHCP.SH FAILED START DHCPD
The lease file shows the following. This is the last line in the dhcpd.lease
file on the primary.
lease 10.2.2.2 {
starts 4 2010/09/23 14:18:29;
ends 5 2010/09/24 14:18:29;
tstp 6 2010/09/25 02:18:29;
tsfp 6 2010/09/25 02:15:15;
cltt 4 2010/09/23 14:18:29;
binding state active;
next binding state expired;
hardware ethernet 18:a9:05:f3:47:11;
uid "\
I can start dhcp service successfully once I delete this lease. This
particular client (a security system) is sending DHCP DISCOVERS every 3
minutes. DHCP minimum, default and maximum lease is set to 1 day. MCLT is
set to 1 hour. DHCP is also configured for DDNS.
I searched the mailing list archives but didn't get any concrete answer to
what is causing the lease corruption. Has any one encountered this before?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100926/f263db33/attachment.html>
More information about the dhcp-users
mailing list