kea-dhcpv4 does not start One or more hook libraries failed to load

Started by 4yi89u, February 08, 2024, 10:50:46 PM

Previous topic - Next topic
Hello,

I copied DHCP4 config to Kea, disabled DHCP4, and started KEA. But KEA does not start.

I rebooted computer. It still does not start

From general log search for KEA:

2024-02-08T13:46:19-08:00 Notice kernel <118>2024-02-08 13:46:19.103 ERROR [kea-dhcp4.dhcp4/90548.0x833b79000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': One or more hook libraries failed to load
2024-02-08T13:46:19-08:00 Notice kernel <118>INFO/keactrl: Starting /usr/local/sbin/kea-ctrl-agent -c /usr/local/etc/kea/kea-ctrl-agent.conf
2024-02-08T13:46:19-08:00 Notice kernel <118>INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf
2024-02-08T13:46:19-08:00 Notice kernel <118>Starting kea.

I found that if CONTROL AGENT was started the KEA DHCP4 service failed to load.

Am I missing something? Is this intended operation?

Imma jump on this bandwagon too.  For me I have none the issues with KEA.  Until I enable the control agent.  Then I get the same error as this post is titled. 

Quote from: 4yi89u on February 08, 2024, 10:57:33 PM
I found that if CONTROL AGENT was started the KEA DHCP4 service failed to load.

What is the bind port for the control agent and are you using in a HA setup?
Deciso DEC740

I'm having the same issue, or so it seems. 
if I start the control agent then both it and the keadhcpserver services stop and will not start. 
disable the control agent and dhcp server works fine (all in kea). 

I'm in the process of setting up my backup opnsense (HA). So I need to figure this out. 

I set the bind IP to 127.0.0.1 and the port to 8070 (8070 is not in use).