<div dir="ltr">Seems i missed something from the docs :(<div><br></div><div>Thanks for your help.</div><div><br></div><div>I need to use mysql as I would like to use stork.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<br><br>David</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 May 2020 at 10:59, Marcin Siodelski <<a href="mailto:marcin@isc.org">marcin@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello David,<br>
<br>
Thanks for using Kea and reporting your issue. Looking at the<br>
configuration snippet you provided it seems you didn't provide a name<br>
for the lease database. Perhaps you intended to use the memfile (rather<br>
than mysql) lease backend?<br>
<br>
Kind Regards,<br>
Marcin Siodelski<br>
Sr. Software Engineer<br>
ISC<br>
<br>
W dniu 29.05.2020 o 10:54, Pizu pisze:<br>
> Hi,<br>
> <br>
> Am having an issue on the 1.6.0.<br>
> <br>
> error:<br>
> <br>
> 2020-05-29 10:43:54.629 ERROR [kea-dhcp4.dhcp4/2524]<br>
> DHCP4_CONFIG_LOAD_FAIL configuration error using file:<br>
> /usr/local/etc/kea/kea-dhcp4.conf, reason: Unable to open database: must<br>
> specify a name for the database<br>
> 2020-05-29 10:43:54.630 ERROR [kea-dhcp4.dhcp4/2524] DHCP4_INIT_FAIL<br>
> failed to initialize Kea server: configuration error using file<br>
> '/usr/local/etc/kea/kea-dhcp4.conf': Unable to open database: must<br>
> specify a name for the database<br>
> <br>
> database name is set however am having this error :( can someone help?<br>
> please<br>
> <br>
> {<br>
> <br>
> "Dhcp4": {<br>
> "server-tag": "Zejtun KEA DHCPv4 server",<br>
> "config-control": {<br>
> "config-databases": [{<br>
> "type": "mysql",<br>
> "name": "keadbname",<br>
> "user": "keadbuser",<br>
> "password": "passwordhere",<br>
> "host": "localhost",<br>
> "port": 3306<br>
> }],<br>
> "config-fetch-wait-time": 20<br>
> },<br>
> "interfaces-config": {<br>
> "interfaces": [ "ens192"]<br>
> <br>
> },<br>
> <br>
> <br>
> "lease-database": {<br>
> "type": "mysql",<br>
> "lfc-interval": 3600<br>
> },<br>
> <br>
> <br>
> Regards,<br>
> <br>
> David<br>
> <br>
> _______________________________________________<br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
> <br>
> To unsubscribe visit <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a>.<br>
> <br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org" target="_blank">Kea-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
> <br>
<br>
</blockquote></div>