• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

KEA server fails to start

Scheduled Pinned Locked Moved Plus 23.09 Development Snapshots (Retired)
5 Posts 3 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    tedquade
    last edited by Sep 29, 2023, 4:51 PM

    23.09-DEVELOPMENT (amd64)
    built on Fri Sep 29 7:07:00 CST 2023
    FreeBSD 14.0-CURRENT

    The system is on the latest version.
    Version information updated at Fri Sep 29 9:56:23 CST 2023

    The 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

    1 Reply Last reply Reply Quote 1
    • G
      grandrivers
      last edited by Sep 29, 2023, 8:22 PM

      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-CURRENT

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

      pfsense plus 25.03 super micro A1SRM-2558F
      C2558 32gig ECC  60gig SSD

      1 Reply Last reply Reply Quote 1
      • W
        w0w
        last edited by w0w Sep 30, 2023, 6:16 PM Sep 30, 2023, 11:41 AM

        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)

        1 Reply Last reply Reply Quote 1
        • W
          w0w
          last edited by Oct 1, 2023, 6:32 AM

          @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.

          T 1 Reply Last reply Oct 1, 2023, 1:38 PM Reply Quote 1
          • T
            tedquade @w0w
            last edited by Oct 1, 2023, 1:38 PM

            @w0w That did the trick!

            Thanks
            Ted

            1 Reply Last reply Reply Quote 0
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received