[Kea-users] Kea-1.4.0-beta CentOS rpm

Thomas Markwalder tmark at isc.org
Mon May 21 12:58:47 UTC 2018


Hi Bill:

You need to upgrade your database:

$ kea-admin upgrade mysql -u database-user -p database-password -n 
database-name

We need to make this prominently clear in the release notes.


Regards,

Thomas Markwalder
ISC Software Engineering


On 05/21/2018 08:55 AM, Bill Pye wrote:
> Hi Rasmus
>
> Thanks for providing this beta. :)
>
> I've just installed this on a test server and I've hit a problem, when I start kea I'm seeing this message:
>
> May 21 14:45:17 centosdev.phoenix-systems.uk.com kea-dhcp4[62043]: 2018-05-21 14:45:17.023 ERROR [kea-dhcp4.dhcp4/62043] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': Unable to open database: unable to prepare MySQL statement <SELECT subnet_id, state, leases as state_count  FROM lease4_stat ORDER BY subnet_id, state>, reason: Table 'kea.lease4_stat' doesn't exist
>
> I'm using a centos 7.5 server (up to date) with a Percona Server (the latest 5.7) for the lease info, if that makes any difference. First of all I tried to use an existing DB, it fails with the above error. I've also tried this with a clean install and a clean DB created manually and also initialized with "kea-admin lease-init" - it still failed with the same error.
>
> Am I missing something obvious that might be causing this problem or should I file this as a bug?
>
>
> Regards
>
>
>
> Bill
>
> ----- Original Message -----
>> From: "Rasmus Edgar" <regj at arch-ed.dk>
>> To: "kea-users" <kea-users at lists.isc.org>
>> Sent: Monday, 21 May, 2018 09:23:23
>> Subject: [Kea-users] Kea-1.4.0-beta CentOS rpm
>> Hi,
>>
>> I've updated my copr Kea repo with a build of Kea-1.4.0-beta:
>>
>> https://copr.fedorainfracloud.org/coprs/redgar/kea/
>>
>> The srpm and spec file can be found here:
>>
>> https://github.com/RasmusEdgar/kea-centos-srpms
>>
>> I had an issue with building kea-1.4.0-beta using boost-devel 1.53 that
>> EPEL provides, which does not include boost/asio/coroutine.hpp. In order
>> to get it build I used the following boost repo:
>> https://www.softwarecollections.org/en/scls/denisarnaud/boost157/epel-7-x86_64/download/denisarnaud-boost157-epel-7-x86_64.noarch.rpm
>>
>> Boost157-devel is also needed to install kea-1.4.0-beta.
>>
>> Boost157 libraries and headers will not conflict with boost 1.53.
>>
>> Best regards,
>> Rasmus Edgar
>> _______________________________________________
>> Kea-users mailing list
>> Kea-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/kea-users
> _______________________________________________
> 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