<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks, Darren. I dug deeper into the logs and in this instance the unattended upgrades service did run before this. It appears that service is scheduled to run daily and if that's true, then for some reason, the DHCP4 service won't come back up only on some
 occasions. </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
But I agree with your thinking re auto updates. I'm going to disable the service.</div>
<div class="elementToProof" id="Signature">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<p style="text-align: left; text-indent: 0px; background-color: rgb(255, 255, 255); margin: 0in;" class="elementToProof">
<span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(36, 36, 36);"><br>
</span></p>
<p style="text-align: left; text-indent: 0px; background-color: rgb(255, 255, 255); margin: 0in;" class="elementToProof">
<span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(31, 73, 125);"><b>Corby Stephens, Fiber Network Administrator</b> |
</span><span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(10, 28, 65);"><b>ACCESS</b> Anacortes Fiber Internet</span><span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(31, 73, 125);"> | P.O. Box
 547 | 904 Sixth Street | Anacortes, WA  98221</span></p>
<p style="text-align: left; text-indent: 0px; background-color: rgb(255, 255, 255); margin: 0in;" class="elementToProof">
<span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(31, 73, 125);">Office:  360.588.8362 | Cell:  360.873.3770 |
</span><span style="font-family: Aptos, sans-serif; font-size: 12pt; color: rgb(31, 73, 125);"><a style="color: rgb(31, 73, 125); margin: 0px;" data-linkindex="0" title="mailto:corbys@anacorteswa." href="mailto:corbys@anacorteswa.">corbys@anacorteswa.</a>gov</span><span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(31, 73, 125);"> |
</span><span style="font-family: Aptos, sans-serif; font-size: 12pt; color: rgb(31, 73, 125);"><a style="color: rgb(31, 73, 125); margin: 0px;" data-auth="NotApplicable" data-linkindex="1" title="http://www.anacorteswa.gov/fiber" href="http://www.anacorteswa.gov/fiber">www.anacorteswa.gov/fiber</a></span><span style="font-family: "Calibri Light", sans-serif; font-size: 12pt; color: rgb(31, 73, 125);">           </span></p>
<p style="text-align: left; text-indent: 0px; background-color: rgb(255, 255, 255); margin: 0in;" class="elementToProof">
<span style="font-family: Aptos, sans-serif; font-size: 12pt; color: rgb(36, 36, 36);"><img style="width: 2.6041in; height: 2.6041in; max-width: 722px; min-width: auto; min-height: auto; margin: 0px;" height="249" width="249" id="x_Picture_x0020_1" data-outlook-trace="F:1|T:1" src="cid:28d4dd71-1f0c-4505-bc59-54c87e000144"></span></p>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Darren Ankney <darren.ankney@gmail.com><br>
<b>Sent:</b> Saturday, October 4, 2025 2:55 AM<br>
<b>To:</b> Kea user's list <kea-users@lists.isc.org><br>
<b>Cc:</b> Corby Stephens <corbys@anacorteswa.gov><br>
<b>Subject:</b> Re: [Kea-users] Kea DHCP4 stopping by itself, one or more hook libraries failed to load</font>
<div> </div>
</div>
<div>
<p align="center" style="text-align:center"><strong><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:white; background:#BA4642">*****    This email is from outside the City of Anacortes network.  Please use caution when clicking on links,
 opening attachments, or replying.   *****</span></strong></p>
<div>
<div dir="ltr">
<div>Hi Corby,</div>
<div><br>
</div>
<div>In addition to Carsten's note, I would point out this line which is sort of attached to the previous line (perhaps due to copy/paste):</div>
<div><br>
</div>
<div>Oct 01 06:12:45 access-dhcp1 systemd[1]: Stopping isc-kea-dhcp4-server.service - Kea DHCPv4 Service...</div>
<div><br>
</div>
<div>You say no one performed this command.  If this is Ubuntu, I would check for "unattended upgrades" package: <a href="https://documentation.ubuntu.com/server/how-to/software/automatic-updates/">https://documentation.ubuntu.com/server/how-to/software/automatic-updates/</a>
 as this service WILL unexpectedly restart services.  Generally speaking, unattended upgrades are a very bad idea because things may break during an update and a human needs to be in attendance so that they might be fixed in a timely fashion (actually, upgrades
 should first be tested in a lab environment if you want to be really safe).</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Darren Ankney</div>
</div>
<br>
<div class="x_gmail_quote x_gmail_quote_container">
<div dir="ltr" class="x_gmail_attr">On Fri, Oct 3, 2025 at 6:43 PM Corby Stephens via Kea-users <<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="x_msg2727666663931135578">
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I brought this up previously with no response. I have a bit from the log but not much.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sep 26 18:29:14 access-dhcp1 systemd[1]: Started isc-kea-dhcp4-server.service - Kea DHCPv4 Service.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sep 26 18:29:14 access-dhcp1 kea-dhcp4[1024]: 2025-09-26 18:29:14.727 INFO  [kea-dhcp4.dhcp4/1024.137644572152000] DHCP4_STARTING Kea DHCPv4 server version 3.0.1 (stable) starting</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sep 26 18:29:14 access-dhcp1 kea-dhcp4[1024]: 2025-09-26 18:29:14.731 INFO  [kea-dhcp4.commands/1024.137644572152000] COMMAND_RECEIVED Received command 'config-set'Oct 01 06:12:45 access-dhcp1 systemd[1]: Stopping isc-kea-dhcp4-server.service - Kea DHCPv4 Service...</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-- something happens here --</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Oct 01 06:12:45 access-dhcp1 kea-dhcp4[197782]: 2025-10-01 06:12:45.228 INFO  [kea-dhcp4.dhcp4/197782.137503524004032] DHCP4_STARTING Kea DHCPv4 server version 3.0.1 (stable) starting</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Oct 01 06:12:45 access-dhcp1 kea-dhcp4[197782]: 2025-10-01 06:12:45.229 INFO  [kea-dhcp4.commands/197782.137503524004032] COMMAND_RECEIVED Received command 'config-set'</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Oct 01 06:12:45 access-dhcp1 kea-dhcp4[197782]: 2025-10-01 06:12:45.295 ERROR [kea-dhcp4.dhcp4/197782.137503524004032] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': One or more hook libraries failed
 to load</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Oct 01 06:12:45 access-dhcp1 kea-dhcp4[197782]: 2025-10-01 06:12:45.296 INFO  [kea-dhcp4.commands/197782.137503524004032] HTTP_COMMAND_MGR_SERVICE_STOPPING Server is stopping HTTP service bound to address 10.0.207.12 port 8002</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
No human is issuing the stop service command. Does it periodically restart itself? The system didn't reboot. The service was running for five days.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The fourth Oct 01 entry is an error. These are the hook libraries I'm using.</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_pgsql.so </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_subnet_cmds.so</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_lease_cmds.so</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_stat_cmds.so</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_host_cmds.so</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
libdhcp_legal_log.so </div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
They are all present in the file system, they don't go away. The Postgresql database is still running. </div>
<div id="x_m_2727666663931135578Signature">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<p style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0in">
<span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(36,36,36)"><br>
</span></p>
<p style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0in">
<span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(31,73,125)"><b>Corby Stephens, Fiber Network Administrator</b> |
</span><span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(10,28,65)"><b>ACCESS</b> Anacortes Fiber Internet</span><span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(31,73,125)"> | P.O. Box 547 | 904 Sixth
 Street | Anacortes, WA  98221</span></p>
<p style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0in">
<span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(31,73,125)">Office:  360.588.8362 | Cell:  360.873.3770 |
</span><span style="font-family:Aptos,sans-serif; font-size:12pt; color:rgb(31,73,125)"><a title="mailto:corbys@anacorteswa." id="x_m_2727666663931135578OWAf2ab1696-5b23-ca18-593a-2c8bd51a3b75" href="mailto:corbys@anacorteswa." target="_blank" style="color:rgb(31,73,125); margin:0px">corbys@anacorteswa.</a>gov</span><span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(31,73,125)"> |
</span><span style="font-family:Aptos,sans-serif; font-size:12pt; color:rgb(31,73,125)"><a title="http://www.anacorteswa.gov/fiber" id="x_m_2727666663931135578OWA43a84b72-9491-1415-1f5d-6e08da7804e8" href="http://www.anacorteswa.gov/fiber" target="_blank" style="color:rgb(31,73,125); margin:0px">www.anacorteswa.gov/fiber</a></span><span style="font-family:"Calibri Light",sans-serif; font-size:12pt; color:rgb(31,73,125)">           </span></p>
<p style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0in">
<span style="font-family:Aptos,sans-serif; font-size:12pt; color:rgb(36,36,36)"><img height="249" width="249" id="x_m_2727666663931135578x_Picture_x0020_1" style="width:2.6041in; height:2.6041in; max-width:722px; min-width:auto; min-height:auto; margin:0px" data-outlook-trace="F:1|T:1" src="cid:ii_199ae9f0c82f847fc351"></span></p>
</div>
</div>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users.Kea-users@lists.isc.org" rel="noreferrer" target="_blank">
https://lists.isc.org/mailman/listinfo/kea-users.<br>
Kea-users@lists.isc.org</a><br>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>