Can't find kea-control-agent hook control-agent-commands.so with kea-2.2.0
name: Bug report
about: Can't find kea-control-agent hook control-agent-commands.so with kea-2.2.0
Describe the bug
I installed kea dhcp using source code. And the compilation parameters are as follows:
Configure arguments:
'--prefix=/opt/kea' '--with-mysql' '--with-log4cplus' '--with-boost-include' '--with-botan-config' '--with-openssl' '--enable-shell' '--with-site-packages=/lib/python3.6/site-packages' '--enable-perfdhcp' 'runstatedir=${localstatedir}/
run'
But I can't find the control-agent-commands.so hook file in kea hook dir, I also checked the entire file system and couldn't find this file.
So what is the reason why there is no such file? I need your help to solve it, thank you!
To Reproduce
Steps to reproduce the behavior:
- Install kea-2.2.0 with source code,and configure arguments with:--prefix=/opt/kea' '--with-mysql' '--with-log4cplus' '--with-boost-include' '--with-botan-config' '--with-openssl' '--enable-shell' '--with-site-packages=/lib/python3.6/site-packages' '--enable-perfdhcp' 'runstatedir=${localstatedir}/run
- Edit /opt/kea/etc/kea/kea-ctrl-agent.conf config file.
- Can't find control-agent-commands.so on server filesystem.
"hooks-libraries": [
// {
// "library": "/opt/kea/lib/kea/hooks/control-agent-commands.so",
// "parameters": {
// "param1": "foo"
// }
// }
],
ll /opt/kea/lib/kea/hooks/control-agent-commands.so
ls: cannot access /opt/kea/lib/kea/hooks/control-agent-commands.so: No such file or directory
Expected behavior
File control-agent-commands.so exists in /opt/kea/lib/kea/hooks directory.
Environment:
- Kea version: 2.2.0
- OS: CentOS Linux release 7.7.1908
Additional Information None
Contacting you E-mail:crasybest@126.com
Edited by crasybest