problems with loading libdhcp_mysql_cb lib
Configuration I am using is:
"config-control":
{
"config-databases": [
{
"user": "keauser",
"password": "keapass",
"name": "keadb",
"type": "mysql"
}
]
},
Kea log message:
DHCP4_CONFIG_LOAD_FAIL configuration error using file: /home/wlodek/installed/kea4-db.conf, reason: undefined configuration parsing error
DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/home/wlodek/installed/kea4-db.conf': undefined configuration parsing error
HOOKS_LIBRARY_UNLOADED hooks library /home/wlodek/installed/git/lib/hooks/libdhcp_mysql_cb.so successfully unloaded
I played a bit with configuration and it looks like parameter password
is causing a problem, because when I'm commenting it out kea works properly and logs message:
Access denied for user 'keauser'@'localhost' (using password: NO)
My system:
wlodek@debian9-64-2:~$ installed/git/sbin/kea-dhcp4 -V
1.5.0-git
git 21e23319bc91b301530c02ae1269de5b2f068e9a
linked with:
log4cplus 1.1.2
OpenSSL 1.0.2q 20 Nov 2018
database:
MySQL backend 8.0, library 10.1.37-MariaDB
PostgreSQL backend 5.0, library 90610
Memfile backend 2.1
wlodek@debian9-64-2:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch