Hello Vadim,

It looks like the hook being loaded
(/usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so) may not
match the kea version in use.  How was Kea installed on this system?
Were there multiple installations (e.g., install from packages and
compile from source)?

Thank you,
Darren Ankney

On Wed, Dec 18, 2024 at 4:56 PM Vadim Yakovenko
<[email protected]> wrote:
>
> I'm running kea dhcp 2.6.1
>
> Isc-kea-hooks 2.6.1
>
> When I'm trying to use libdhcp_stat_cmds.so library I'm getting the following 
> message:
>
> 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.hooks/7283.135087236168128] 
> HOOKS_OPEN_ERROR failed to open hook library 
> /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so: 
> /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so: undefined symbol: 
> _ZN3isc4data7Element6createERKN5boost14multiprecision6numberINS3_8backends15cpp_int_backendILj128ELj128ELNS3_16cpp_integer_typeE1ELNS3_18cpp_int_check_typeE1EvEELNS3_26expression_template_optionE0EEERKNS1_8PositionE
> 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] 
> 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/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so 
> (/etc/kea/kea-dhcp4.conf:35:9)
> 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] 
> DHCP4_CONFIG_LOAD_FAIL configuration error using file: 
> /etc/kea/kea-dhcp4.conf, reason: hooks libraries failed to validate - library 
> or libraries in error are: 
> /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so 
> (/etc/kea/kea-dhcp4.conf:35:9)
> 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] 
> DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using 
> file '/etc/kea/kea-dhcp4.conf': hooks libraries failed to validate - library 
> or libraries in error are: 
> /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so 
> (/etc/kea/kea-dhcp4.conf:35:9)
>
> The package isc-kea-hooks_2.6.1-isc20240725093407_amd64.deb have been 
> downloaded from the cloudsmith repo.
> Where can I get a proper package ?
>
> Vadim.
>
>
> --
> 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
-- 
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

Reply via email to