Re: [webmin-l] [EXTERNAL] Re: Webmin DHCP module does not show all leases in dhcpd.leases file
"Buchanan, Ted" <[email protected]> Tue, 13 Jun 2023 07:59:43 -0400
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <CAPywyDJ4GYtg5AF3egjSL-wzRuaYcNa18x+tQzJ5Vkji6yLw4Q@mail.gmail.com> |
--===============5085487443261561212==
Content-Type: multipart/alternative; boundary="000000000000cd014505fe019297"
--000000000000cd014505fe019297
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Jamie, thank you for responding. I have copied from the terminal 4
leases from the /var/lib/dhcp/dhcpd.leases file -- the first 2 leases
(159.218.146.157 and 159.218.147.8) were taken from non-contiguous sections
of the lease file and are visible when in Webmin I click on the
159.218.144.0 network and then click the List leases button. The next 2
leases (159.218.43.117 and 159.218.42.219) were copied from the same
dhcpd.leases file and are not visible in the Webmin lease listing. Below
that I have copied the appropriate sections from the /etc/dhcp/dhcpd.conf
file. I can not say exactly when this problem made itself known or what
change may have triggered it. Thank you for any direction you can give.
lease 159.218.146.157 {
starts 2 2023/06/13 10:56:13;
ends 2 2023/06/13 11:56:13;
cltt 2 2023/06/13 10:56:13;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 04:27:28:81:76:ba;
uid "\001\004'(\201v\272";
set vendor-class-identifier =3D "MSFT 5.0 XBOX";
client-hostname "XBOX";
}
lease 159.218.147.8 {
starts 2 2023/06/13 10:58:30;
ends 2 2023/06/13 11:58:30;
cltt 2 2023/06/13 10:58:30;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 00:7c:2d:87:e1:3d;
uid "\001\000|-\207\341=3D";
client-hostname "Samsung";
}
lease 159.218.43.117 {
starts 6 2023/04/08 21:58:43;
ends 6 2023/04/29 21:58:43;
tstp 6 2023/04/29 21:58:43;
cltt 4 2023/04/13 20:06:50;
binding state free;
hardware ethernet 50:9a:4c:53:8e:5f;
uid "\001P\232LS\216_";
set vendor-class-identifier =3D "MSFT 5.0";
}
lease 159.218.42.219 {
starts 1 2022/10/03 10:14:07;
ends 1 2022/10/03 16:14:15;
tstp 1 2022/10/03 16:14:15;
cltt 1 2022/10/03 10:14:07;
binding state free;
hardware ethernet 6c:2b:59:d2:22:2c;
uid "\001l+Y\322\",";
}
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# #### vlan 42 (WAB)
subnet 159.218.42.0 netmask 255.255.255.0 {
authoritative;
option broadcast-address 159.218.42.255;
option subnet-mask 255.255.255.0;
option routers 159.218.42.254;
range 159.218.42.138 159.218.42.169;
range 159.218.42.199 159.218.42.230;
}
# #### vlan 43 (Business Students)
subnet 159.218.43.0 netmask 255.255.255.0 {
option broadcast-address 159.218.43.255;
option subnet-mask 255.255.255.0;
option routers 159.218.43.254;
max-lease-time 1814400;
default-lease-time 1814400;
range 159.218.43.30 159.218.43.249;
}
# #### vlan 144 (VU Streaming)
subnet 159.218.144.0 netmask 255.255.248.0 {
option broadcast-address 159.218.144.255;
option subnet-mask 255.255.248.0;
option routers 159.218.144.254;
authoritative;
dynamic-bootp-lease-length 3600;
max-lease-time 3600;
default-lease-time 3600;
range 159.218.144.10 159.218.144.246;
range 159.218.145.5 159.218.145.249;
range 159.218.146.5 159.218.146.249;
range 159.218.147.5 159.218.147.249;
range 159.218.148.5 159.218.148.249;
range 159.218.149.5 159.218.149.249;
range 159.218.150.5 159.218.150.249;
range 159.218.151.5 159.218.151.249;
}
On Mon, Jun 12, 2023 at 6:24=E2=80=AFPM Jamie Cameron <[email protected]>=
wrote:
> 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 fi=
le
> 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.02=
1
> to help with the administration of this server. Everything used to
> work/display just fine but suddenly, when trying to list the dynamic leas=
es
> within a subnet, I get the message, "*The DHCPd lease file
> /var/lib/dhcpd/dhcpd.leases does not contain any leases that are active a=
t
> 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 leas=
es
> exist, new clients receive new IP addresses and existing ones are able to
> renew successfully. The leases that _DO_ show up are from wireless subne=
ts
> or subnets not directly connected to our campus. I'm not the only one wh=
o
> administers this server/service so the Webmin module is really helpful an=
d
> currently missed. Any suggestions for troubleshooting and correcting thi=
s
> issue. Everything in the /etc/dhcp/dhcpd.conf file agrees with the curre=
nt
> operation. Thank you.
>
> --
> Ted Buchanan
> Senior Systems Administrator - Vincennes University
> [email protected]
> <https://us01.z.antigena.com/l/dqUP8cOmul_TMVZ-c9CL53KECB-ktkSzU6E7GaQmZ7=
q1_NHLLv4ZTeV8IsnrHrzMnDEEC0h9tHVEduNNeXBWbIHDyhRcdRtElIMmRzoFYDIFNp_EwMISY=
rohLRiFA3HOIGN8Hi6Hwwae~OuP51J5kKF3BmOVOoieCNiSt~j21pCG~GqPQm>
>
>
>
> -
> 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
>
--=20
Ted Buchanan
Senior Systems Administrator - Vincennes University
[email protected]
--000000000000cd014505fe019297
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hi Jamie, thank you for responding.=C2=A0 I have copi=
ed from the terminal 4 leases from the /var/lib/dhcp/dhcpd.leases file -- t=
he first 2 leases (159.218.146.157 and 159.218.147.8) were taken from non-c=
ontiguous sections of the lease file and are visible when in Webmin I click=
on the 159.218.144.0 network and then click the List leases button.=C2=A0 =
The next 2 leases (159.218.43.117 and 159.218.42.219) were copied from the =
same dhcpd.leases file and are not visible in the Webmin lease listing.=C2=
=A0 Below that I have copied the appropriate sections from the /etc/dhcp/dh=
cpd.conf file.=C2=A0 I can not say exactly when this problem made itself kn=
own or what change may have triggered it.=C2=A0 Thank you for any direction=
you can give.<br></div><div><br></div><div>lease 159.218.146.157 {<br>=C2=
=A0 starts 2 2023/06/13 10:56:13;<br>=C2=A0 ends 2 2023/06/13 11:56:13;<br>=
=C2=A0 cltt 2 2023/06/13 10:56:13;<br>=C2=A0 binding state active;<br>=C2=
=A0 next binding state free;<br>=C2=A0 rewind binding state free;<br>=C2=A0=
hardware ethernet 04:27:28:81:76:ba;<br>=C2=A0 uid "\001\004'(\20=
1v\272";<br>=C2=A0 set vendor-class-identifier =3D "MSFT 5.0 XBOX=
";<br>=C2=A0 client-hostname "XBOX";<br>}<br><span style=3D"=
font-family:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb=
(255,255,255)">lease 159.218.147.8 {
</span><br> =C2=A0starts 2 2023/06/13 10:58:30;
<br> =C2=A0ends 2 2023/06/13 11:58:30;
<br> =C2=A0cltt 2 2023/06/13 10:58:30;
<br> =C2=A0binding state active;
<br> =C2=A0next binding state free;
<br> =C2=A0rewind binding state free;
<br> =C2=A0hardware ethernet 00:7c:2d:87:e1:3d;
<br> =C2=A0uid "\001\000|-\207\341=3D";
<br> =C2=A0client-hostname "Samsung";
<br>}<br></span><br>lease 159.218.43.117 {<br>=C2=A0 starts 6 2023/04/08 21=
:58:43;<br>=C2=A0 ends 6 2023/04/29 21:58:43;<br>=C2=A0 tstp 6 2023/04/29 2=
1:58:43;<br>=C2=A0 cltt 4 2023/04/13 20:06:50;<br>=C2=A0 binding state free=
;<br>=C2=A0 hardware ethernet 50:9a:4c:53:8e:5f;<br>=C2=A0 uid "\001P\=
232LS\216_";<br>=C2=A0 set vendor-class-identifier =3D "MSFT 5.0&=
quot;;<br>}<br>lease 159.218.42.219 {<br>=C2=A0 starts 1 2022/10/03 10:14:0=
7;<br>=C2=A0 ends 1 2022/10/03 16:14:15;<br>=C2=A0 tstp 1 2022/10/03 16:14:=
15;<br>=C2=A0 cltt 1 2022/10/03 10:14:07;<br>=C2=A0 binding state free;<br>=
=C2=A0 hardware ethernet 6c:2b:59:d2:22:2c;<br>=C2=A0 uid "\001l+Y\322=
\",";<br>}<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<br># #### vlan 42 (WAB)<br>subnet 159.218.42.0 netmask 255.255.255.0 {<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 authoritative;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 o=
ption broadcast-address 159.218.42.255;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 opti=
on subnet-mask 255.255.255.0;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 option routers=
159.218.42.254;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range 159.218.42.138 159.21=
8.42.169;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range 159.218.42.199 159.218.42.23=
0;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 }<br># #### vlan 43 (Business Students)<b=
r>subnet 159.218.43.0 netmask 255.255.255.0 {<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 option broadcast-address 159.218.43.255;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
option subnet-mask 255.255.255.0;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 option ro=
uters 159.218.43.254;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 max-lease-time 1814400=
;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 default-lease-time 1814400;<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 range 159.218.43.30 159.218.43.249;<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 }<br># #### vlan 144 (VU Streaming)<br>subnet 159.218.144.0 netm=
ask 255.255.248.0 {<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 option broadcast-address=
159.218.144.255;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 option subnet-mask 255.255=
.248.0;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 option routers 159.218.144.254;<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 authoritative;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 d=
ynamic-bootp-lease-length 3600;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 max-lease-ti=
me 3600;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 default-lease-time 3600;<br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 range 159.218.144.10 159.218.144.246;<br>=C2=A0 =C2=A0=
=C2=A0 =C2=A0 range 159.218.145.5 159.218.145.249;<br>=C2=A0 =C2=A0 =C2=A0=
=C2=A0 range 159.218.146.5 159.218.146.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0=
range 159.218.147.5 159.218.147.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range =
159.218.148.5 159.218.148.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range 159.218=
.149.5 159.218.149.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range 159.218.150.5 =
159.218.150.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 range 159.218.151.5 159.218=
.151.249;<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 }</div></div><br><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Jun 12, 2023 at 6:2=
4=E2=80=AFPM Jamie Cameron <<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><p>Can you send a sample of the dhcpd.leas=
es 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 <<a href=3D"mailto:tbuchanan@vin=
u.edu" target=3D"_blank">[email protected]</a>> wrote ..
</p>
<blockquote type=3D"cite">=20
<div dir=3D"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).=C2=A0=
I'm running webmin-2.021 to help with the administration of this serve=
r.=C2=A0 Everything used to work/display just fine but suddenly, when tryin=
g to list the dynamic leases within a subnet, I get the message, "<str=
ong>The DHCPd lease file <tt>/var/lib/dhcpd/dhcpd.leases</tt> does not cont=
ain any leases that are active at the current time."=C2=A0 </strong><s=
pan>If I click on the List all active and expired leases button, I get the =
message "</span><strong style=3D"margin-bottom:0px">The DHCPd lease fi=
le <tt>/var/lib/dhcpd/dhcpd.leases</tt> does not contain any leases."<=
/strong><span style=3D"margin-bottom:0px">=C2=A0 Clearly, when I use a text=
editor on the /var/lib/dhcpd/dhcpd.leases=20
file, all the leases exist, new clients receive new IP addresses and exist=
ing ones are able to renew successfully.=C2=A0 The leases that _DO_ show up=
are from wireless subnets or subnets not directly connected to our campus.=
=C2=A0 I'm not the only one who administers this server/service so the =
Webmin module is really helpful and currently missed.=C2=A0 Any suggestions=
for troubleshooting and correcting this issue.=C2=A0 Everything in the /et=
c/dhcp/dhcpd.conf file agrees with the current operation.=C2=A0 Thank you.<=
br></span>
<div><br><span class=3D"gmail_signature_prefix">-- </span><br>
<div dir=3D"ltr" class=3D"gmail_signature">
<div dir=3D"ltr">Ted Buchanan<br>Senior Systems Administrator - V=
incennes University<br><a href=3D"https://us01.z.antigena.com/l/dqUP8cOmul_=
TMVZ-c9CL53KECB-ktkSzU6E7GaQmZ7q1_NHLLv4ZTeV8IsnrHrzMnDEEC0h9tHVEduNNeXBWbI=
HDyhRcdRtElIMmRzoFYDIFNp_EwMISYrohLRiFA3HOIGN8Hi6Hwwae~OuP51J5kKF3BmOVOoieC=
NiSt~j21pCG~GqPQm" target=3D"_blank">[email protected]</a><br></div>
</div>
</div>
</div>=20
</blockquote><br> <br>
-<br>
Forwarded by the Webmin mailing list at <a href=3D"mailto:webadmin-list@lis=
ts.sourceforge.net" target=3D"_blank">[email protected]</=
a><br>
To remove yourself from this list, go to<br>
<a href=3D"http://lists.sourceforge.net/lists/listinfo/webadmin-list" rel=
=3D"noreferrer" target=3D"_blank">http://lists.sourceforge.net/lists/listin=
fo/webadmin-list</a><br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr">Ted Buchanan<br>Senior Systems Administrator - Vincennes University<br>=
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<=
/a><br></div></div>
--000000000000cd014505fe019297--
--===============5085487443261561212==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============5085487443261561212==
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
--===============5085487443261561212==--