[Kea-users] Kea DHCP4 stopping by itself, one or more hook libraries failed to load

Darren Ankney darren.ankney at gmail.com
Sat Oct 4 09:55:30 UTC 2025


Hi Corby,

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):

Oct 01 06:12:45 access-dhcp1 systemd[1]: Stopping
isc-kea-dhcp4-server.service - Kea DHCPv4 Service...

You say no one performed this command.  If this is Ubuntu, I would check
for "unattended upgrades" package:
https://documentation.ubuntu.com/server/how-to/software/automatic-updates/
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).

Thank you,
Darren Ankney

On Fri, Oct 3, 2025 at 6:43 PM Corby Stephens via Kea-users <
kea-users at lists.isc.org> wrote:

> I brought this up previously with no response. I have a bit from the log
> but not much.
>
> Sep 26 18:29:14 access-dhcp1 systemd[1]: Started
> isc-kea-dhcp4-server.service - Kea DHCPv4 Service.
> 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
> 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...
> -- something happens here --
> 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
> 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'
> 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
> 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
>
> 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.
>
> The fourth Oct 01 entry is an error. These are the hook libraries I'm
> using.
>
> libdhcp_pgsql.so
> libdhcp_subnet_cmds.so
> libdhcp_lease_cmds.so
> libdhcp_stat_cmds.so
> libdhcp_host_cmds.so
> libdhcp_legal_log.so
>
> They are all present in the file system, they don't go away. The
> Postgresql database is still running.
>
>
> *Corby Stephens, Fiber Network Administrator* | *ACCESS* Anacortes Fiber
> Internet | P.O. Box 547 | 904 Sixth Street | Anacortes, WA  98221
>
> Office:  360.588.8362 | Cell:  360.873.3770 | corbys at anacorteswa.gov |
> www.anacorteswa.gov/fiber
>
> --
> ISC funds the development of this software with paid support
> subscriptions. Contact us at https://www.isc.org/contact/ for more
> information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
> Kea-users at lists.isc.org
> <https://lists.isc.org/mailman/listinfo/kea-users.Kea-users@lists.isc.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20251004/f9750a74/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-4rhicmbs.png
Type: image/png
Size: 21886 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20251004/f9750a74/attachment-0001.png>


More information about the Kea-users mailing list