I'm trying to run kea with memfile lease database with persist: true, but when kea starts up it tries to open the file it was compiled with instead othe the file specified in the config. This is on the latest git branch, 93ab4a4. This is also on freebsd 10.3.

"lease-database": {
    "type":"memfile",
    "lfc-interval":1800,
    "file": "/var/db/kea/kea-leases4.csv",
    "persist": true
},

016-09-09 15:51:15.145 INFO [kea-dhcp4.dhcpsrv/84630] DHCPSRV_MEMFILE_DB opening memory file lease database: file=/var/db/kea/kea-leases4.csv lfc-interval=1800 persist=true type=memfile universe=4 2016-09-09 15:51:15.145 INFO [kea-dhcp4.dhcpsrv/84630] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /usr/local/var/kea/kea-leases4.csv 2016-09-09 15:51:15.145 ERROR [kea-dhcp4.dhcp4/84630] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea.conf, reason: Unable to open database: unable to open '/usr/local/var/kea/kea-leases4.csv' 2016-09-09 15:51:15.145 ERROR [kea-dhcp4.dhcp4/84630] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea.conf': Unable to open database: unable to open '/usr/local/var/kea/kea-leases4.csv'

_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to