<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal>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:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>/var/myhost dhcpd/etc/myhost dhcpd.leases line 75620:
semicolon expected.<o:p></o:p></p>
<p class=MsoNormal> atsfp <o:p></o:p></p>
<p class=MsoNormal> ^<o:p></o:p></p>
<p class=MsoNormal>/var/myhost dhcpd/etc/myhost dhcpd.leases line 75627:
semicolon expected.<o:p></o:p></p>
<p class=MsoNormal> tstp <o:p></o:p></p>
<p class=MsoNormal> ^<o:p></o:p></p>
<p class=MsoNormal>/var/myhost dhcpd/etc/myhost dhcpd.leases line 75629:
semicolon expected.<o:p></o:p></p>
<p class=MsoNormal> atsfp <o:p></o:p></p>
<p class=MsoNormal> ^<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Wrote 0 class decls to leases
file.<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Wrote 0 deleted host decls to
leases file.<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Wrote 0 new dynamic host
decls to leases file.<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Wrote 575 leases to leases
file.<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Listening on
LPF/eth0/00:17:a4:aa:46:80/10.10.41.0/24<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Sending on
LPF/eth0/00:17:a4:aa:46:80/10.10.41.0/24<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Sending on
Socket/fallback/fallback-net<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: failover peer dhcp-yellow: I
move from recover to startup<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: data: hardware: raw packet
not available<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: data: packet: raw packet not
available<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: failover peer dhcp-yellow: I
move from startup to recover<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: failover peer dhcp-yellow: peer
moves from unknown-state to communications-interrupted<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Sent update request all
message to dhcp-yellow<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: failover peer dhcp-yellow:
peer moves from communications-interrupted to partner-down<o:p></o:p></p>
<p class=MsoNormal>Jun 15 17:05:41 myhost dhcpd: Lease with binding state free
not on its queue.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>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).<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks in advance for any help,<o:p></o:p></p>
<p class=MsoNormal>Chris<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>