Re: [webmin-l] Webmin DHCP module does not show all leases in dhcpd.leases file

"Jamie Cameron" <[email protected]> Mon, 12 Jun 2023 22:23:40 +0000
Newsgroups gmane.comp.web.webmin.general
Message-ID <01110188b1b52a7e-6c93064e-a809-402b-b37a-e83284f7553f-000000@us-west-1.amazonses.com>
This is a multi-part message in MIME format.

--bound1686608618
Content-Type: multipart/alternative; boundary="altsbound1686608618"
Content-Transfer-Encoding: 7bit


--altsbound1686608618
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit



Can you send a sample of the dhcpd.leases file that contains the leases that aren't showing up? The issue may be that Webmin isn't parsing the file properly.. 

On 12/Jun/2023 11:05 Buchanan, Ted <[email protected]> wrote ..   I'm running Oracle Enterprise Linux 8.8 as a DHCP server with ISC DHCP version 4.2.6-46 (from the Oracle distribution).  I'm running webmin-2.021 to help with the administration of this server.  Everything used to work/display just fine but suddenly, when trying to list the dynamic leases within a subnet, I get the message, "The DHCPd lease file /var/lib/dhcpd/dhcpd.leases does not contain any leases that are active at the current time."  If I click on the List all active and expired leases button, I get the message "The DHCPd lease file /var/lib/dhcpd/dhcpd.leases does not contain any leases."  Clearly, when I use a text editor on the /var/lib/dhcpd/dhcpd.leases file, all the leases exist, new clients receive new IP addres
 ses and existing ones are able to renew successfully.  The leases that _DO_ show up are from wireless subnets or subnets not directly connected to our campus.  I'm not the only one who admin
 isters this server/service so the Webmin module is really helpful and currently missed.  Any suggestions for troubleshooting and correcting this issue.  Everything in the /etc/dhcp/dhcpd.conf file agrees with the current operation.  Thank you. --   Ted BuchananSenior Systems Administrator - Vincennes [email protected]     

--altsbound1686608618
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>Can you send a sample of the dhcpd.leases file that contains the leases that aren't showing up? The issue may be that Webmin isn't parsing the file properly..</p>
  <p>On 12/Jun/2023 11:05 Buchanan, Ted &lt;[email protected]&gt; wrote ..
</p>
  <blockquote type="cite"> 
    <div dir="ltr">I'm running Oracle Enterprise Linux 8.8 as a DHCP server with ISC DHCP version 4.2.6-46 (from the Oracle distribution).&nbsp; I'm running webmin-2.021 to help with the administration of this server.&nbsp; Everything used to work/display just fine but suddenly, when trying to list the dynamic leases within a subnet, I get the message, &quot;<strong class="gmail-font-weight-normal">The DHCPd lease file <tt>/var/lib/dhcpd/dhcpd.leases</tt> does not contain any leases that are active at the current time.&quot;&nbsp; </strong><span class="gmail-font-weight-normal">If I click on the List all active and expired leases button, I get the message &quot;</span><strong style="margin-bottom: 0px;" class="gmail-font-weight-normal">The DHCPd lease file <tt>/var/lib/dhcpd/dhcpd.leases</
 tt> does not contain any leases.&quot;</strong><span style="margin-bottom: 0px;" class="gmail-font-weight-normal">&nbsp; Clearly, when I use a text editor on the /var/lib/dhcpd/dhcpd.leases 
 file, all the leases exist, new clients receive new IP addresses and existing ones are able to renew successfully.&nbsp; The leases that _DO_ show up are from wireless subnets or subnets not directly connected to our campus.&nbsp; I'm not the only one who administers this server/service so the Webmin module is really helpful and currently missed.&nbsp; Any suggestions for troubleshooting and correcting this issue.&nbsp; Everything in the /etc/dhcp/dhcpd.conf file agrees with the current operation.&nbsp; Thank you.<br /></span>
      <div><br /><span class="gmail_signature_prefix">-- </span><br />
        <div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">Ted Buchanan<br />Senior Systems Administrator - Vincennes University<br /><a href="reply_mail.cgi?new=1&amp;to=tbuchanan%40vinu%2Eedu" target="_blank">[email protected]</a><br /></div>
        </div>
      </div>
    </div> 
  </blockquote><br /> <br />

--altsbound1686608618--


--bound1686608618
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--bound1686608618
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list

--bound1686608618--