[Kea-users] Lease database filename is being ignored.

Adam Twardowski atwardowski at choopa.com
Fri Sep 9 21:21:02 UTC 2016


Thanks, that worked.  I'm not sure why I had file in there.


On 09/09/2016 05:04 PM, Marcin Siodelski wrote:
> Try "name" instead of the "file".
>
> Marcin Siodelski
> ISC
>
>
> Dnia 9 września 2016 22:01:54 Adam Twardowski <atwardowski at choopa.com> 
> napisał(a):
>
>> 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
>> Kea-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/kea-users
>
>




More information about the Kea-users mailing list