From: Buchanan, T. <tbu...@vi...> - 2023-06-16 12:27:59
|
Thank you very much, Jamie! That was indeed the fix. All leases are visible. Thank you again. On Thu, Jun 15, 2023 at 6:13 PM Jamie Cameron <jca...@we...> wrote: > Ok I looked into this some more, and found the cause. The fix is here : > https://github.com/webmin/webmin/commit/f27277c4eb7bdb1ba0d4a91890858951601b3faa > > This will also be included in the next Webmin release. > > On 14/Jun/2023 05:42 Buchanan, Ted <tbu...@vi...> wrote .. > > Just for additional information, I have 2 other DHCP servers serving other > specific parts of our network running the same Oracle 8.8, Webmin 2.021, > ISC DHCP 4.3.6 which work fine. Granted they have far fewer devices to > support. > > On Wed, Jun 14, 2023 at 1:15 AM Jamie Cameron <jca...@we... > <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> wrote: > >> Thanks for those! Does the 159.218.43.117 lease appear when you click on >> List Active Leases on the main page of the DHCP server module? There's also >> a button on that page to show expired leases as well.. >> >> On 13/Jun/2023 04:59 Buchanan, Ted <tbu...@vi... >> <http://reply_mail.cgi?new=1&to=tbuchanan%40vinu%2Eedu>> wrote .. >> >> 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 = "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="; >> 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 = "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\","; >> } >> ========================================== >> # #### vlan 42 (WAB) >> subnet 159.218.42.0 netmask 255.255.255.0 { >> authoritativ e; >> 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 PM Jamie Cameron <jca...@we... >> <http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>> 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 file >>> properly.. >>> >>> On 12/Jun/2023 11:05 Buchanan, Ted <tbu...@vi... >>> <http://reply_mail.cgi?new=1&to=tbuchanan%40vinu%2Eedu>> 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 addresses 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 administers 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 Buchanan >>> Senior Systems Administrator - Vincennes University >>> tbu...@vi... >>> <https://us01.z.antigena.com/l/dqUP8cOmul_TMVZ-c9CL53KECB-ktkSzU6E7GaQmZ7q1_NHLLv4ZTeV8IsnrHrzMnDEEC0h9tHVEduNNeXBWbIHDyhRcdRtElIMmRzoFYDIFNp_EwMISYrohLRiFA3HOIGN8Hi6Hwwae~OuP51J5kKF3BmOVOoieCNiSt~j21pCG~GqPQm> >>> >>> >>> >>> - >>> Forwarded by the Webmin mailing list at >>> web...@li... >>> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet> >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>> >> >> >> -- >> Ted Buchanan >> Senior Systems Administrator - Vincennes University >> tbu...@vi... >> <http://reply_mail.cgi?new=1&to=tbuchanan%40vinu%2Eedu> >> >> >> >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> <http://reply_mail.cgi?new=1&to=webadmin%2Dlist%40lists%2Esourceforge%2Enet> >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> > > > -- > Ted Buchanan > Senior Systems Administrator - Vincennes University > tbu...@vi... <http://reply_mail.cgi?new=1&to=tbuchanan%40vinu%2Eedu> > > > > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > -- Ted Buchanan Senior Systems Administrator - Vincennes University tbu...@vi... |