<div dir="ltr">Hi Robin,<div><br></div><div>Please specify the Kea version, and what type of reconfiguration is being done.</div><div><br></div><div>Jason</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 1:14 PM Robin Daermann <<a href="mailto:robin.daermann@ruhr-uni-bochum.de">robin.daermann@ruhr-uni-bochum.de</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">Dear all,<br>
<br>
about 2-3 times a week, I get a strange problem with our Kea setup.<br>
<br>
We have two Kea servers, each hosting a MySQL server and database for lease storage.  Both MySQL servers are replicated in both directions, so each Kea server reads and writes from the MySQL database on localhost and they share their lease storage (anycast DHCP solution).<br>
<br>
So, the problem is: Sometimes, after a reconfiguration, I get the following error (either for kea-dhcp4 or kea-dhcp6):<br>
<br>
--------------------<br>
2019-03-06 07:13:48.379 ERROR [kea-dhcp4.dhcp4/89345] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /usr/local/etc/kea/kea-dhcp4.conf, reason: Error while processing command 'config-set':getNextRow failed for <SELECT subnet_id, state, leases as state_count  FROM lease4_stat ORDER BY subnet_id, state>, reason:  (error code 0), params: '{ "Dhcp4": { "control-socket": {<br>
...<br>
--------------------<br>
<br>
I cut off the rest of the JSON configuration, which is syntactically correct.<br>
<br>
I can't explain that behaviour. Can anyone point me in the right direction here?<br>
<br>
Thank you<br>
<br>
Robin Därmann<br>
(Network Operation Center RUB)<br>
<br>
-- <br>
| Robin Därmann                             Network Operation Center |<br>
| RS18625-RIPE                              Ruhr-Universitaet Bochum |<br>
| Press any key to continue or any other key to quit...              |<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>
</blockquote></div>