[Kea-users] DHCPSRV_NO_SOCKETS_OPEN problem

Stephen Berg, Code 7309 stephen.berg at nrlssc.navy.mil
Fri Feb 18 14:32:52 UTC 2022


I'm evaluating kea 1.8 to eventually integrate into my network.  I've 
got 6 subnets that I'll be managing eventually.  Relay agents will be on 
all but one subnet. An initial install and test setup with mysql backend 
went okay but I have one show stopper problem now.

Whenever I start the service I see in the log:
DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: failed to open socket on 
interface eth0, reason: failed to bind fallback socket to address 
<serverIP>, port 67, reason: Address already in use - is another DHCP 
server running?
2022-02-18 08:23:27.547 WARN [kea-dhcp4.dhcpsrv/3416.140158564502848] 
DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic

I changed dhcp-socket-type to udp to see if that would change the 
behavior and got this:
2022-02-18 08:14:13.653 WARN [kea-dhcp4.dhcpsrv/3218.139637232491840] 
DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: failed to open socket on 
interface eth0, reason: Failed to bind socket 15 to <serverIP>/port=67
2022-02-18 08:14:13.653 WARN [kea-dhcp4.dhcpsrv/3218.139637232491840] 
DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic

This is running on a virtual machine, rocky linux 8.5.  Selinux and 
firewall have been disabled for testing.  Network seems fine on the 
system other than this.  My initial config is just a couple of reserved 
address based on mac address and no pool.  If I can get this working I 
plan to add reservations for all clients in each of the subnets.

-- 
Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309
Naval Research Laboratory
W:   (228) 688-5738
DSN: (312) 823-5738
C:   (228) 365-0162
Email: stephen.berg at nrlssc.navy.mil  <- (Preferred contact)
Flank Speed: stephen.p.berg.civ at us.navy.mil



More information about the Kea-users mailing list