Hi all, I have configured Mysql with kea-dhcp-server. I want to store host reservation parameters (mac, ip address and hostname) in mysql. But I have found the following error.
~/Kea-DHCP$ sudo /usr/sbin/kea-dhcp4 -t /etc/kea/kea-dhcp4.conf 2021-04-27 23:36:42.145 INFO [kea-dhcp4.hosts/15381] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql 2021-04-27 23:36:42.146 ERROR [kea-dhcp4.hooks/15381] HOOKS_OPEN_ERROR failed to open hook library /usr/local/lib/kea/hooks/libdhcp_mysql_cb.so: /usr/local/lib/kea/hooks/libdhcp_mysql_cb.so: cannot open shared object file: No such file or directory 2021-04-27 23:36:42.146 ERROR [kea-dhcp4.dhcp4/15381] DHCP4_PARSER_FAIL failed to create or run parser for configuration element hooks-libraries: hooks libraries failed to validate - library or libraries in error are: /usr/local/lib/kea/hooks/libdhcp_mysql_cb.so(/etc/kea/kea-dhcp4.conf:18:10) Error encountered: hooks libraries failed to validate - library or libraries in error are: /usr/local/lib/kea/hooks/libdhcp_mysql_cb.so(/etc/kea/kea-dhcp4.conf:18:10) How do I install hooks libraries or any other solution? Regards -- Makhdoom Muhammad Naeem Assistant Professor Department of Electrical Engineering NFC Institute of Engineering and Technology Multan Phone # +92619220012, Ext 2289 <%2B92619220012%2C%20Ext%202231> Email: [email protected] [email protected] -- _____ Note: 1. The email and any files transmitted with it will be confidential and intended solely for the use of the *individual* or *entity* to which they will be addressed. 2. If you are not the named *addressee*, you should not *disseminate*, *distribute* or *copy* the e-mail. If you are not the intended recipient, you are notified that *disclosing*, *copying*, *distributing*, or taking any action in reliance on the contents of the information is strictly prohibited. Any unauthorized reproduction of the message may result in legal and disciplinary action. 3. *NFC IET* shall not be liable for improper or incomplete or delayed transmission of the message. *NFC IET* will not accept liability for any errors or omissions in the contents of the message, which arise as a result of email transmission. 4. *NFC IET* does not guarantee that the integrity of the email has been maintained or that that communication will be free of viruses, interceptions, or interference. Although *NFC IET* will take reasonable precautions to ensure that no viruses will be present in the mail, *NFC IET* cannot accept responsibility for any loss or damage arising from the use of the email or attachments.
_______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
