known bugs or local issue? (db-time-format and 'Lease with binding state free not on its queue'

Dorsey, Chris dorsey2 at llnl.gov
Wed Jun 16 01:35:59 UTC 2010


A while ago I turned on 'db-time-format local' to get the '# Tue Jun 15 18:07:38 2010' type comments in myhost dhcpd.leases.  The problem is that myhost dhcpd restarts cause tens of thousands of lines like:

/var/myhost dhcpd/etc/myhost dhcpd.leases line 75620: semicolon expected.
  atsfp
   ^
/var/myhost dhcpd/etc/myhost dhcpd.leases line 75627: semicolon expected.
  tstp
   ^
/var/myhost dhcpd/etc/myhost dhcpd.leases line 75629: semicolon expected.
  atsfp
   ^

and causes myhost dhcpd a while to restart.  Seems like a bug with myhost dhcpd parsing itw own time comments.  I reverted back to 'db-time-format local' and after the second restart (to clear up the file after writing) all seems well again.  Is this a known bug or an issue on my end?  I've seen this in at least (2) different versions of 4 including 4.1.1 running on Redhat 5 (2.6.18-164.9.1.el5) using failover.

Also, I noticed once the other day and twice today that myhost dhcpd failed to restart on the failover server, but the primary restarted fine.  In both cases, I see the following 'Lease with binding state free not on its queue' message in the /var/log/boot.log:

Jun 15 17:05:41 myhost dhcpd: Wrote 0 class decls to leases file.
Jun 15 17:05:41  myhost dhcpd: Wrote 0 deleted host decls to leases file.
Jun 15 17:05:41  myhost dhcpd: Wrote 0 new dynamic host decls to leases file.
Jun 15 17:05:41  myhost dhcpd: Wrote 575 leases to leases file.
Jun 15 17:05:41  myhost dhcpd: Listening on LPF/eth0/00:17:a4:aa:46:80/10.10.41.0/24
Jun 15 17:05:41  myhost dhcpd: Sending on   LPF/eth0/00:17:a4:aa:46:80/10.10.41.0/24
Jun 15 17:05:41  myhost dhcpd: Sending on   Socket/fallback/fallback-net
Jun 15 17:05:41  myhost dhcpd: failover peer dhcp-yellow: I move from recover to startup
Jun 15 17:05:41  myhost dhcpd: data: hardware: raw packet not available
Jun 15 17:05:41  myhost dhcpd: data: packet: raw packet not available
Jun 15 17:05:41  myhost dhcpd: failover peer dhcp-yellow: I move from startup to recover
Jun 15 17:05:41  myhost dhcpd: failover peer dhcp-yellow: peer moves from unknown-state to communications-interrupted
Jun 15 17:05:41  myhost dhcpd: Sent update request all message to dhcp-yellow
Jun 15 17:05:41  myhost dhcpd: failover peer dhcp-yellow: peer moves from communications-interrupted to partner-down
Jun 15 17:05:41  myhost dhcpd: Lease with binding state free not on its queue.

>From the list archives, it seems this might have been patched in 4.1.0 according to the release notes, but it still seems like a major issue (failover server down).

Thanks in advance for any help,
Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100615/30d32638/attachment.html>


More information about the dhcp-users mailing list