KEA DHCP continuously rebooting with error message after 24.11 upgrade and switch from ISC
-
Error messages as below with it occurring every second it seems and causing it to be restarted by the watchdog every hour or so.
Thoughts as this error message isn't leading me down to a specific problem I can identify.
Thanks,
PabloDec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor
Dec 5 19:19:24 kea-dhcp4 22525 ERROR [kea-dhcp4.commands.0x2f054a812000] COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket -1: Bad file descriptor -
In looking at this in more detail, this error message also caused my CPU to be stuck around 50% and was also associated intermittent network loss. Switching to ISC resolved both issues.
-
@PabloAbonia I am seeing the same issue on my Netgate 4200 running 24.11
-
@PabloAbonia said in KEA DHCP continuously rebooting with error message after 24.11 upgrade and switch from ISC:
COMMAND_SOCKET_ACCEPT_FAIL Failed to accept incoming connection on command socket
Can't be that bad.
See here : https://kea.readthedocs.io/en/kea-2.0.1/kea-messages.html
I propose : stop kill zap all kea process.
Console, or better : SSH : option 8 and thenps ax | grep 'kea'
and kill them all.
Then, check that you still have this file /var/run/kea4-ctrl-socket (socket actually).
rm it.Now start all the kea stuff with the GUI.
edit :
When kea starts, and runs fine, you can actually use this socket to talk to the process.Run this, on the command lie, and you'll see it answers you with loads of information :
echo '{"command":"lease4-get-all"}' | nc -U /var/run/kea4-ctrl-socket | jq