kea FileNotFoundError

Started by vimage22, January 06, 2026, 08:00:16 PM

Previous topic - Next topic
January 06, 2026, 08:00:16 PM Last Edit: January 06, 2026, 08:11:14 PM by vimage22
I added a reservation using the '+' command under Services: Kea DHCP: Leases DHCPv6.
I then went to check the kea log and found this, without a time stamp.

FileNotFoundError: [Errno 2] No such file or directory: '/var/db/kea/kea-leases6.csv'
^^^^^^^^^^^
if lstpos is None or (os.path.isfile(fn) and os.fstat(fhandle.fileno()).st_ino != os.stat(fn).st_ino):
File "/usr/local/opnsense/scripts/kea/kea_prefix_watcher.py", line 51, in yield_log_records
for record in yield_log_records(inputargs.filename):
File "/usr/local/opnsense/scripts/kea/kea_prefix_watcher.py", line 109, in <module>
Traceback (most recent call last):

Has anyone else experienced this?

Edit: '/var/db/kea/kea-leases6.csv' does exist and seems to be correct.
Not sure if this matters, but before I saved the reservation, I removed the trailing dot from the hostname.