On Thu, Jan 24, 2019 at 3:51 PM russell aspinwall < [email protected]> wrote:
> Hi, > > I have configured a pair of Raspberry PI 3B+ using Ubuntu 18.10 and Kea > 1.4.0-P1-3 which is available for Ubuntu 18.10. > > In order to keep the DHCPv4 and DHCPv6 separate I have created two > kea-ctrl-agent config files /etc/kea/kea-ctrl-agent.conf and > /etc/kea/kea-ctrl-agent6.conf. I copied /usr/sbin/kea-ctrl-agent to > /usr/sbin/kea-ctrl-agent6. > > In the /etc/kea/kea-ctrl-agent.conf I have used the Raspberry PI IPv4 > address and port 8080 and socket /tmp/kea-dhcp4-ctrl.sock > > In the /etc/kea/kea-ctrl-agent6.conf I have used the Raspberry PI IPv6 > Unique Local Unicast address and port 8081 with socket > tmp/kea-dhcp6-ctrl.sock. > > The kea-dhcp4.conf and kea-dhcp6.conf files are adjusted to use the > correct socket and http://address:port. > > I have been using systemd :( to start the kea-ctrl-agent, > kea-ctrl-agent6, kea-dhcp4-server and kea-dhcp6-server. When I reboot > the PI the kea-ctrl-agent is not running when I log in but the > kea-ctrl-agent6 is running. > > If I manually start > > /usr/sbin/kea-crtl-agent -c /etc/kea/kea-ctrl-agent.conf & > > I get a warning but the DHCPv4 HA starts working > "Unable to use interprocess sync lockfile (No such file or directory): > /var/run/kea/isc_kea_logger_lockfile > Unable to use interprocess sync lockfile (No such file or directory): > /var/run/kea/isc_kea_logger_lockfile > Unable to use interprocess sync lockfile (No such file or directory): > /var/run/kea/isc_kea_logger_lockfile > Unable to use interprocess sync lockfile (No such file or directory): > /var/run/kea/isc_kea_logger_lockfile" > > I would like to get all the services starting during a reboot, any > pointers to get the processes running would be appreciated. > Based on the error message, both processes might be trying to use the same lock file, /var/run/kea/isc_kea_logger_lockfile or maybe that directory does not exist, or has wrong permissions. You need to somehow configure them to use different lock files. I don't use Kea, so I have no idea how to configure that. -- Bob Harold
_______________________________________________ Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
