[Kea-users] Memfile location, how to dump leases?

jim at wrightthisway.com jim at wrightthisway.com
Wed Sep 3 16:12:00 UTC 2025


I've had a new install running for several days here, and needed to 
check the leases for a subnet.  But when I use the kea-admin tool to 
dump this, I get an error:

[root at 100671020-2 var]# kea-admin lease-dump memfile
ERROR/kea-admin: lease-dump is not supported for memfile

Googling didn't turn up any exact matches for that error, so I thought 
I'd try to find the actual leases file, but searching found several web 
pages listing a location for this but all different, and none were found 
on my system.  I couldn't find any way to dump the active running config 
for Kea to see what it thinks it's supposed to be using, below is what I 
have in my config:

     "lease-database": {
         // Memfile is the simplest and easiest backend to use. It's an 
in-memory
         // C++ database that stores its state in CSV file.
         "type": "memfile",
         "lfc-interval": 3600


More information about the Kea-users mailing list