<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hello Vadim,<br>
      <br>
      i had something like this, only that i use kea 2.7.5.  My problem
      was, that the hooks had have the wrong version (and path in config
      file).  In my kea 2.6.1 installatiom under debian 12, the hook
      directory was under /usr/local/lib/kea/hooks.<br>
      Sure, that your hooks are ftom 2.6.1  and not 2.7.5 ?<br>
      My kea 2.7.5 installation is also from cloudsmith repo., so it
      could be, that you have the wrong hooks.<br>
      <br>
      regards<br>
      Ralf<br>
      Am 18.12.2024 um 22:56 schrieb Vadim Yakovenko:<br>
    </div>
    <blockquote type="cite"
cite="mid:YQXPR01MB4358A43057C6057CBBB82E49B0052@YQXPR01MB4358.CANPRD01.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        I'm running kea dhcp 2.6.1</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        Isc-kea-hooks 2.6.1</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        When I'm trying to use libdhcp_stat_cmds.so library I'm getting
        the following message:</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        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</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        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)</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        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)</div>
      <div
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        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)</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        The package isc-kea-hooks_2.6.1-isc20240725093407_amd64.deb have
        been downloaded from the cloudsmith repo.</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        Where can I get a proper package ?</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <ul
data-editing-info="{"applyListStyleFromLevel":false,"unorderedStyleType":2}">
        <li
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0); list-style-type: "- ";">
          <div class="elementToProof">Vadim.</div>
        </li>
      </ul>
      <div class="elementToProof"
style="font-family: Arial, sans-serif; font-size: 14pt; color: rgb(0, 0, 0);">
        <b><br>
        </b></div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
    </blockquote>
    <br>
  </body>
</html>