[Kea-users] ISC-KEA with MariaDB on Debian Buster Startup Sequence

PeterP looms_pastels_0f_kea at icloud.com
Wed Sep 22 13:32:58 UTC 2021


Hello,Thank you, that aligns with what I had previously read, but I was struggling to work out how to express the relevant commands.I'll try your "After" clause in my isc-kea-dhcp4-server.service file (when I find it) with the mysql.service and mariadb.service service entries only.Regards,PeterPOn 22 Sep 2021, at 14:26, perl-list <perl-list at network1.net> wrote:I don't know for sure as I have so far managed to largely avoid "systemd" but do have some small experience with it.radiusd.service on one of my servers has this:After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.service mysql.service mariadb.service postgresql.servicemeaning all of those  .target or .service files would need to finish before it starts radiusd.serviceYou can probably tailor your After= line to be more relevant to your configuration.Someone correct me if there is a better way.----- Original Message -----From: "PeterP" <looms_pastels_0f_kea at icloud.com>To: "kea-users" <kea-users at lists.isc.org>Sent: Wednesday, September 22, 2021 8:42:32 AMSubject: [Kea-users] ISC-KEA with MariaDB on Debian Buster Startup SequenceHello,I think this is somewhat of a Linux newbie question, so apologies.I have PowerDNS, KEA (DHCP4 only), and Stork running on Debian Buster all usingMariaDB as the back-end. Everything is up to date as regards versions, at leastas far as I am aware, as I run global updates every few days.I am having a problem with the isc-kea-dhcp4-server.service. Whenever there is asystem reboot, this service fails to start. When I manually restart it later,it works fine. As far as I can trace, it's a startup sequence issue in relationto having MariaDB as a back-end for Kea. I looks like Kea is starting first,looking for the MariaDB service and failing because MariaDB has yet to start.How can I change the start order so that the isc-kea-dhcp4-server.servicedoesn't start until the MariaDB service is up and running?I expect I will have the same issue with the isc-kea-dhcp6-server.service when Ieventually start to use it.Thank you,PeterP._______________________________________________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 listKea-users at lists.isc.orghttps://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 listKea-users at lists.isc.orghttps://lists.isc.org/mailman/listinfo/kea-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20210922/2e86c6b8/attachment-0001.htm>


More information about the Kea-users mailing list