Re: [Kea-users] Kea 1.4.0-P1-3 kea-ctrl-agent crashing on Ubuntu 18.10
Hello Russell, It seems that you're trying to attach the HA hooks library to the Kea Ctrl Agent process, while it must be attached to either Kea DHCPv4 or DHCPv6 process. See: https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#high-availability-library for the details. Regarding the example configurations. Did you see the examples in the doc/examples/kea4/ha-load-balancing-primary.json and the doc/examples/kea6/ha-hot-standby.json ? Kind Regards, Marcin Siodelski Senior Software Engineer ISC On 20/01/2019 13:21, russell aspinwall wrote: > Hi, > > After fixing my configuration I have found that the kea-ctrl-agent is > now crashing regularly on Ubuntu 18.10 > >> 2019-01-20 11:58:32.282 INFO [kea-ctrl-agent.dctl/26624] >> DCTL_STARTING Control-agent starting, pid: 26624, version: 1.4.0-P1 >> 2019-01-20 11:58:32.287 INFO [kea-ctrl-agent.ha-hooks/26624] >> HA_CONFIGURATION_SUCCESSFUL HA hook library has been successfully >> configured >> 2019-01-20 11:58:32.287 INFO [kea-ctrl-agent.ha-hooks/26624] >> HA_INIT_OK loading High Availability hooks library successful >> 2019-01-20 11:58:32.287 INFO [kea-ctrl-agent.hooks/26624] >> HOOKS_LIBRARY_LOADED hooks library >> /usr/lib/aarch64-linux-gnu/hooks/libdhcp_ha.so successfully loaded >> 2019-01-20 11:58:32.287 INFO [kea-ctrl-agent.ctrl-agent/26624] >> CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address >> 192.168.26.248:8080 >> 2019-01-20 11:58:32.288 INFO [kea-ctrl-agent.dctl/26624] >> DCTL_CONFIG_COMPLETE server has completed configuration: listening on >> 192.168.26.248, port 8080, control sockets: dhcp4, 1 >> lib(s):/usr/lib/aarch64-linux-gnu/hooks/libdhcp_ha.so kea-ctrl-agent: >> /usr/include/boost/smart_ptr/shared_ptr.hpp:734: typename >> boost::detail::sp_member_access::type >> boost::shared_ptr::operator->() const [with T = isc::ha::HAService; >> typename boost::detail::sp_member_access::type = >> isc::ha::HAService*]: Assertion `px != 0' failed. > > > I do think the manuals for Kea could be improved particularly with > working examples HA configurations. > > > > > ___ > Kea-users mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users
Re: [Kea-users] Kea 1.4.0-P1 configure script problem
In my case, also using CentOS 7.5 I used the configure switch like so "--with-mysql=/usr/bin/mysql_config" After this it found MySQL and was able to continue intalling with MySQL. *Ismael Suárez Maldonado* | UNIX Administrator | Coqui.Net Corp / ClaroTV ismael_sua...@coqui.com | T: 787-793-0001 x 4007 On 10/05/2018 03:01 AM, Batuhan BAKIP wrote: Hello, I want to install Kea-1.4.0-P1 with mysql on Centos 7.5.1804 but I cannot see MySQL version when I run configure script with mysql. This is mysql version output: mysqladmin Ver 8.42 Distrib 5.7.23, for Linux on x86_64 Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Server version 5.7.23 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/lib/mysql/mysql.sock Uptime: 9 min 18 sec Threads: 1 Questions: 17 Slow queries: 0 Opens: 113 Flush tables: 1 Open tables: 106 Queries per second avg: 0.030 My trials of configure script are below and always I see “MySQL: no” ./configure --prefix=/opt/kea --with-mysql --with-boost-include=/opt/boost157/include --with-boost-lib-dir=/opt/boost157/lib ./configure --prefix=/opt/kea --with-dhcp-mysql --with-boost-include=/opt/boost157/include --with-boost-lib-dir=/opt/boost157/lib Kea source configure results: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Package: Name: kea Version: 1.4.0-P1 Extended version: 1.4.0-P1 (tarball) OS Family: Linux Hooks directory: /opt/kea/lib/hooks Premium hooks: no C++ Compiler: CXX: g++ --std=c++11 CXX_VERSION: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28) CXX_STANDARD: 201103 DEFS: -DHAVE_CONFIG_H CPPFLAGS: -DOS_LINUX -DBOOST_ASIO_HEADER_ONLY CXXFLAGS: -g -O2 LDFLAGS: -lpthread KEA_CXXFLAGS: -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -pthread -Wno-missing-field-initializers -fPIC Python: PYTHON_VERSION: not needed (because kea-shell is disabled) Boost: BOOST_VERSION: 1.57 BOOST_INCLUDES: -I/opt/boost157/include BOOST_LIBS: -L/opt/boost157/lib -lboost_system OpenSSL: CRYPTO_VERSION: OpenSSL 1.0.2k 26 Jan 2017 CRYPTO_CFLAGS: CRYPTO_INCLUDES: CRYPTO_LDFLAGS: CRYPTO_LIBS: -lcrypto Botan: no Log4cplus: LOG4CPLUS_VERSION: 1.1.3 LOG4CPLUS_INCLUDES: -I/usr/include LOG4CPLUS_LIBS: -L/usr/lib -L/usr/lib64 -llog4cplus Flex/bison: FLEX: : BISON: yacc MySQL: no PostgreSQL: no Cassandra CQL: no Google Test: no Google Benchmark: no Developer: Enable Debugging: no Google Tests: no Valgrind: not found C++ Code Coverage: no Logger checks: no Generate Documentation: no Parser Generation: no Kea-shell: no Now you can type "make" to build Kea. Note that if you intend to run "make check", you must run "make" first as some files need to be generated by "make" before "make check" can be run. When running "make install" do not use any form of parallel or job server options (such as GNU make's -j option). Doing so may cause errors. This email was scanned by Bitdefender ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users
Re: [Kea-users] Kea 1.4.0 P1
If debian, try dpkg -l. Jason On Tue, Aug 7, 2018 at 5:25 AM itay cohen wrote: > hi all > > how can i check wich version of kea is running ? (1.4.0 or 1.4.0 P1 ) > > thank you > > ___ > Kea-users mailing list > Kea-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/kea-users > ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users
Re: [Kea-users] Kea 1.4.0 P1
Hi, /usr/local/sbin/kea-dhcp4 -v Cheers, On 08/07/2018 12:25 PM, itay cohen wrote: hi all how can i check wich version of kea is running ? (1.4.0 or 1.4.0 P1 ) thank you ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users -- -- Cristian Lemnaru RCS & RDS Brasov Telefon : 0368400440 Mobil : 0770056815 cristian.lemn...@rcs-rds.ro -- Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message(or responsible for delivery of the message to such person),you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail. ___ Kea-users mailing list Kea-users@lists.isc.org https://lists.isc.org/mailman/listinfo/kea-users