kea-dhcp4 Kea DHCP Server broken
-
FYI
After upgrading to + 23.09.1 my kea-dhcp4 Kea DHCP Server won't start at all
ERROR [kea-dhcp4.dhcp4.0x14d4cda12000 DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': cannot lock socket lockfile, /tmp/kea4-ctrl-socket.lock, : Resource temporarily unavailable
Update: it seems it has nothing to do with 23.09.1 upgrade. Kea DHCP breaks after adding a new DHCP Static Mappings via ServicesDHCP ServerLAN
-
-
-
Will this file be removed due to a reboot, as it is in
/tmp/kea4-ctrl-socket.lock
-
chudak,
Thanks for the insight. I had one static IP Mapping on LAN interface(1) and none on the other(2). 2 would start but 1 would not if 'enabled.'
Your suggestion work - thanks
The Bug#14977 remains open and I hope it is a part of the next release.
KEA represents 5 of the current 29 'Bugs'
https://redmine.pfsense.org/projects/pfsense/issues?page=2&query_id=164
-
This is still a problem.
ERROR [kea-dhcp4.dhcp4.0xed0fd212000] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea-dhcp4.conf, reason: cannot lock socket lockfile, /tmp/kea4-ctrl-socket.lock, : Resource temporarily unavailable
Not sure if there is still a bug open.
-
before:
Diagnostics > Command Prompt >
Execute Shell Command
rm /tmp/kea4-ctrl-socket.lock
Back to Dashboard and START the kea-dhcp4 service
after:
-this is the way.
-
Noop.
See for yourself :@chudak said in kea-dhcp4 Kea DHCP Server broken:
After upgrading to + 23.09.1
and that was : 9 Dec 2023, 20:38 so 14 months ago (!)
@chudak uses 24.11 = pfSense plus, available since a couple of month so he has the latest 'kea' pfSense implementation, and it works pretty well. No core dumping = no need to (re)start, no need to remove files manually. -
@jimp Are you sure it's https://redmine.pfsense.org/issues/14977 ?
That issue has been resolved for months and I'm on 24.11 and I'm experiencing this issue... I've read a couple of threads here and many people seem to be reporting similar problems and that Redmine issue has come up a couple of times. But it's marked as "Resolved" which is clearly not the case, if that is indeed the issue people are experiencing. Should we open a new issue?
Is Kea a beta feature or stable release? I've had nothing but problems with it, think I have to move back to the old one that works.
-
@lindhe i'm seeing the issue as well on 24.11