Hey all, i`m digging into reinstalling on the latest version (last version I used was 1.4) I am building from source and seems to have gone ok so far. I have configured my dhcp4 conf file, but when starting I get this error:
sudo keactrl start -s dhcp4 INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c /usr/local/etc/kea/kea-dhcp4.conf pi@DHCP1:/usr/local/etc/kea $ 2021-04-16 13:09:06.048 INFO [kea-dhcp4.hosts/1814.3052634656] HOSTS_BACKENDS_REGISTERED the following host backend types are available: 2021-04-16 13:09:06.063 INFO [kea-dhcp4.dhcpsrv/1814.3052634656] DHCPSRV_CFGMGR_ADD_IFACE listening on interface eth0 2021-04-16 13:09:06.076 INFO [kea-dhcp4.dhcpsrv/1814.3052634656] DHCPSRV_CFGMGR_SOCKET_TYPE_DEFAULT "dhcp-socket-type" not specified , using default socket type raw 2021-04-16 13:09:06.088 INFO [kea-dhcp4.dhcpsrv/1814.3052634656] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 192.168.0.0/24 with params: t1=1000, t2=2000, valid-lifetime=4000 2021-04-16 13:09:06.103 INFO [kea-dhcp4.dhcp4/1814.3052634656] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled 2021-04-16 13:09:06.114 INFO [kea-dhcp4.dhcpsrv/1814.3052634656] DHCPSRV_MEMFILE_DB opening memory file lease database: name=/usr/local/etc/kea/dhcp4.leases persist=true type=memfile universe=4 2021-04-16 13:09:06.122 INFO [kea-dhcp4.dhcpsrv/1814.3052634656] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /usr/local/etc/kea/dhcp4.leases 2021-04-16 13:09:06.136 ERROR [kea-dhcp4.dhcp4/1814.3052634656] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea-dhcp4.conf, reason: Unable to open database: invalid header '' in CSV file '/usr/local/etc/kea/dhcp4.leases': - header has only 0 valid column(s), it must have at least 9 2021-04-16 13:09:06.148 ERROR [kea-dhcp4.dhcp4/1814.3052634656] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/usr/local/etc/kea/kea-dhcp4.conf': Unable to open database: invalid header '' in CSV file '/usr/local/etc/kea/dhcp4.leases': - header has only 0 valid column(s), it must have at least 9 On the first install I noticed the leases file didnt exist so I have just created a blank file and thought starting the service would populate it but it seems it needs some content in the file before it can. Does anyone know what needs to be in the file or have an example? google searches havnt turned up much so far Thanks
_______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
