[Kea-users] 1.2.0: MySQL not working

Daniel Corbe dcorbe at hammerfiber.com
Fri Jul 14 09:46:19 UTC 2017


I know what I did wrong.   Please disregard.

On 7/14/2017 05:43, Daniel Corbe wrote:
> $ sudo keactrl start
> INFO/keactrl: Starting kea-dhcp4 -c /usr/local/etc/kea/kea.conf
> INFO/keactrl: Starting kea-dhcp6 -c /usr/local/etc/kea/kea.conf
> 2017-07-14 05:41:13.645 ERROR [kea-dhcp6.dhcp6/244] DHCP6_INIT_FAIL
> failed to initialize Kea server: configuration error using file
> '/usr/local/etc/kea/kea.conf': Unable to open database: must specify a
> name for the database
> 2017-07-14 05:41:13.645 INFO  [kea-dhcp6.commands/244]
> COMMAND_SOCKET_UNIX_CLOSE Command socket closed: UNIX, fd=5,
> path=/tmp/kea-dhcp6-ctrl.sock
> 2017-07-14 05:41:13.646 ERROR [kea-dhcp4.dhcp4/238] DHCP4_INIT_FAIL
> failed to initialize Kea server: configuration error using file
> '/usr/local/etc/kea/kea.conf': Unable to open database: must specify a
> name for the database
> 2017-07-14 05:41:13.647 INFO  [kea-dhcp4.commands%
> 
>                                                              /238]
> COMMAND_SOCKET_UNIX_CLOSE Command socket closed: UNIX, fd=6,
> path=/tmp/kea-dhcp4-ctrl.sock
> 
> The thing is, I'm specifying a database name in the config:
> 
>     "lease-database": {
>         // Memfile is the simplest and easiest backend to use. It's a
> in-memory
>         // C++ database that stores its state in CSV file.
>         "type": "mysql"
>     },
> 
>     "hosts-database": {
>         "type": "mysql",
>         "name": "dhcp",
>         "user": "dhcp",
>         "password": "emailpasswordhuehue",
>         "host": "10.98.17.104",
>         "port": 3306
>     },
> 



More information about the Kea-users mailing list