<div>Hi,</div>
<div> </div>
<div>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:</div>
<div> </div>
<div>Sep 23 03:01:06 dns dhcpd: Internet Systems Consortium DHCP Server V3.1.3<br>Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608: eof in string constant<br>Sep 23 03:01:06 dns dhcpd: uid "\<br>
Sep 23 03:01:06 dns dhcpd: ^<br>Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608: semicolon expected.<br>Sep 23 03:01:06 dns dhcpd: uid "\<br>Sep 23 03:01:06 dns dhcpd: ^<br>Sep 23 03:01:06 dns dhcpd: /var/state/dhcp/dhcpd.leases line 190608: unexpected end of file<br>
Sep 23 03:01:06 dns dhcpd: uid "\<br>Sep 23 03:01:06 dns dhcpd: ^<br>Sep 23 03:01:06 dns dhcpd: Impossible condition at hash.c:54.<br>Sep 23 03:01:06 dns dhcpd: exiting.<br>Sep 23 03:01:06 dns DHCP[19187]: DHCP.SH FAILED START DHCPD</div>
<div> </div>
<div>The lease file shows the following. This is the last line in the dhcpd.lease file on the primary. </div>
<div> </div>
<div>lease 10.2.2.2 {<br> starts 4 2010/09/23 14:18:29;<br> ends 5 2010/09/24 14:18:29;<br> tstp 6 2010/09/25 02:18:29;<br> tsfp 6 2010/09/25 02:15:15;<br> cltt 4 2010/09/23 14:18:29;<br> binding state active;<br> next binding state expired;<br>
hardware ethernet 18:a9:05:f3:47:11;<br> uid "\</div>
<div> </div>
<div>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. </div>
<div> </div>
<div>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? </div>
<div> </div>
<div>Thanks</div>
<div><br> </div>
<div> </div>