KEA server fails to start
-
23.09-DEVELOPMENT (amd64)
built on Fri Sep 29 7:07:00 CST 2023
FreeBSD 14.0-CURRENTThe system is on the latest version.
Version information updated at Fri Sep 29 9:56:23 CST 2023The KEA server fails to start and the following is logged:
Sep 29 10:23:34 kea-dhcp4 58513 ERROR [kea-dhcp4.dhcp4.0x540aa12000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': the 'hw-address' and 'client-id' are mutually exclusive (/usr/local/etc/kea/kea-dhcp4.conf:78:21)
I've looked at the referenced .conf file and the structure seems a bit odd. I'm reluctant to post it in public but am prepared to share it privately with developers if needed.
Ted Quade
-
if I try and enable kea i get this
on : 23.09-DEVELOPMENT (amd64)
built on Fri Sep 29 9:07:00 EDT 2023
FreeBSD 14.0-CURRENTSep 29 16:19:54 kea-dhcp4 89689 ERROR [kea-dhcp4.dhcp4.0xafff5212000] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': the 'hw-address' and 'client-id' are mutually exclusive (/usr/local/etc/kea/kea-dhcp4.conf:103:21)
Sep 29 16:19:54 kea-dhcp4 89689 ERROR [kea-dhcp4.dhcp4.0xafff5212000] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea-dhcp4.conf, reason: the 'hw-address' and 'client-id' are mutually exclusive (/usr/local/etc/kea/kea-dhcp4.conf:103:21)
Sep 29 16:19:54 kea-dhcp4 89689 ERROR [kea-dhcp4.dhcp4.0xafff5212000] DHCP4_PARSER_FAIL failed to create or run parser for configuration element subnet4: the 'hw-address' and 'client-id' are mutually exclusive (/usr/local/etc/kea/kea-dhcp4.conf:103:21)
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.dhcpsrv.0xafff5212000] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 192.168.35.0/24 with params: valid-lifetime=7200
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.hooks.0xafff5212000] HOOKS_LIBRARY_CLOSED hooks library /usr/local/lib/kea/hooks/libdhcp_lease_cmds.so successfully closed
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.dhcpsrv.0xafff5212000] DHCPSRV_CFGMGR_SOCKET_TYPE_DEFAULT "dhcp-socket-type" not specified , using default socket type raw
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.dhcpsrv.0xafff5212000] DHCPSRV_CFGMGR_ADD_IFACE listening on interface igb1.190
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.dhcpsrv.0xafff5212000] DHCPSRV_CFGMGR_ADD_IFACE listening on interface igb1
Sep 29 16:19:54 kea-dhcp4 89689 WARN [kea-dhcp4.dhcp4.0xafff5212000] DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.
Sep 29 16:19:54 kea-dhcp4 89689 WARN [kea-dhcp4.dhcpsrv.0xafff5212000] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled.
Sep 29 16:19:54 kea-dhcp4 89689 INFO [kea-dhcp4.hosts.0xafff5212000] HOSTS_BACKENDS_REGISTERED the following host backend types are available: -
There is something broken with deprecated server too. Mine looses all leases as well. Further testing needed, currently trying to install latest snapshot.
Edit: 23.09.a.20230929.2350 works fine with ISC DHCP (Deprecated)
-
@tedquade said in KEA server fails to start:
client-id
Try to remove all client id's on static configured clients. I have now it up and running without it configured.
-
@w0w That did the trick!
Thanks
Ted