[kea-dev] hooks libraries failed to validate

Raj raj rajlistuser at gmail.com
Fri Sep 18 10:29:33 UTC 2015


Dear List,

My example module is now compiling without errors. But when I restart
Kea daemon to load the module it exits with following error:

2015-09-18 15:30:29.202 ERROR [kea-dhcp4.dhcp4/14052] DHCP4_INIT_FAIL
failed to initialize Kea server: configuration error using file
'/usr/local/etc/kea/kea.conf': hooks libraries failed to validate -
library or libraries in error are:
/usr/local/src/dhcp-alert/example.so
(/usr/local/etc/kea/kea.conf:24:21)

I get this error when I enable the logging line:

LOG_ERROR(packet_capture_logger, HOOK_TEST_MSG);

in load_unload.cc. If this line is commented out Kea starts with out error.

There is no further information in logs as  to what could be the error
here. Is there a way to increase debug level of module loading? How to
figure out what could be wrong in the module?

Thanks and Regards,

Raj


More information about the kea-dev mailing list