<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi to all</p>
    <p>I am facing a problem with the corruption of the dhcp lease file
      causing problems to many users.</p>
    <p>We use the dhcp server to serve cable modems. We use CASA CMTS
      C3200 & C40G<br>
    </p>
    <p>We got this log from the dhcp server.</p>
    <i>Sep 18 04:17:15 dhcp1 dhcpd: /var/lib/dhcp3/dhcpd.leases line
      113920: expecting left brace.<br>
      Sep 18 04:17:15 dhcp1 dhcpd:   uid "\<br>
      Sep 18 04:17:15 dhcp1 dhcpd:        ^<br>
      Sep 18 04:17:15 dhcp1 dhcpd: /var/lib/dhcp3/dhcpd.leases line
      113920: possibly corrupt lease file<br>
      Sep 18 04:17:15 dhcp1 dhcpd:   uid "\377;-E\\\\5;<br>
      Sep 18 04:17:15 dhcp1 dhcpd:                     ^<br>
      Sep 18 04:17:15 dhcp1 dhcpd: Corrupt lease file - possible data
      loss!<br>
      Sep 18 04:17:15 dhcp1 dhcpd: Corrupt lease file - possible data
      loss!<br>
      Sep 18 04:17:17 dhcp1 dhcpd: Wrote 0 class decls to leases file.<br>
      Sep 18 04:17:17 dhcp1 dhcpd: Wrote 0 deleted host decls to leases
      file.<br>
      Sep 18 04:17:17 dhcp1 dhcpd: Wrote 0 new dynamic host decls to
      leases file.<br>
      Sep 18 04:17:17 dhcp1 dhcpd: Wrote <b>8771</b> leases to leases
      file.<br>
    </i><i><br>
      <br>
    </i>2 hours before we had this log :<br>
    <i>Sep 18 02:43:35 dhcp1 dhcpd: Wrote 0 class decls to leases file.</i><i><br>
    </i><i>Sep 18 02:43:35 dhcp1 dhcpd: Wrote 0 deleted host decls to
      leases file.</i><i><br>
    </i><i>Sep 18 02:43:35 dhcp1 dhcpd: Wrote 0 new dynamic host decls
      to leases file.</i><i><br>
    </i><i>Sep 18 02:43:38 dhcp1 dhcpd: Wrote </i><i><b>104799 </b></i><i>leases
      to leases file.</i><br>
    <br>
    <br>
    Clearly when the lease file got corrupted it caused the lease to
    drop from 104799 leases to <b>8771 </b>which created us a lot of
    problem with the customers.<br>
    <br>
    This problem happened again but in a different dhcp server and it
    had the same nature of logs. <br>
    We are afraid that this may happen again !<br>
    <br>
    Is this a bug of this version 3.1.1 and is it solved if so ?<br>
    If i have to upgrade are there any stable versions ?<br>
    I want to be assure that there are no problem with  option 82 (
    relay agent ) ?<br>
    I can't afford to risk on live implementation .<br>
    <br>
    Many thanks <br>
    <br>
    Endrit Hasaj<br>
    <br>
    <br>
    <i></i>
  </body>
</html>