<html><body><div><div>Hello,<br></div><div><br></div><div>Thank you, that aligns with what I had previously read, but I was struggling to work out how to express the relevant commands.<br></div><div><br></div><div>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.<br></div><div><br></div><div>Regards,<br></div><div><br></div><div>PeterP</div><div><br></div><blockquote type="cite"><div>On 22 Sep 2021, at 14:26, perl-list <perl-list@network1.net> wrote:<br></div><div><br></div><div><br></div><div><div><div>I don't know for sure as I have so far managed to largely avoid "systemd" but do have some small experience with it.<br></div><div><br></div><div>radiusd.service on one of my servers has this:<br></div><div><br></div><div>After=syslog.target network-online.target ipa.service dirsrv.target krb5kdc.service mysql.service mariadb.service postgresql.service<br></div><div><br></div><div>meaning all of those .target or .service files would need to finish before it starts radiusd.service<br></div><div><br></div><div>You can probably tailor your After= line to be more relevant to your configuration.<br></div><div><br></div><div>Someone correct me if there is a better way.<br></div><div><br></div><div>----- Original Message -----<br></div><blockquote type="cite"><div>From: "PeterP" <looms_pastels_0f_kea@icloud.com><br></div><div>To: "kea-users" <kea-users@lists.isc.org><br></div><div>Sent: Wednesday, September 22, 2021 8:42:32 AM<br></div><div>Subject: [Kea-users] ISC-KEA with MariaDB on Debian Buster Startup Sequence<br></div></blockquote><div><br></div><blockquote type="cite">Hello,<br></blockquote><div><br></div><blockquote type="cite">I think this is somewhat of a Linux newbie question, so apologies.<br></blockquote><div><br></div><blockquote type="cite"><div>I have PowerDNS, KEA (DHCP4 only), and Stork running on Debian Buster all using<br></div><div>MariaDB as the back-end. Everything is up to date as regards versions, at least<br></div><div>as far as I am aware, as I run global updates every few days.<br></div></blockquote><div><br></div><blockquote type="cite"><div>I am having a problem with the isc-kea-dhcp4-server.service. Whenever there is a<br></div><div>system reboot, this service fails to start. When I manually restart it later,<br></div><div>it works fine. As far as I can trace, it's a startup sequence issue in relation<br></div><div>to having MariaDB as a back-end for Kea. I looks like Kea is starting first,<br></div><div>looking for the MariaDB service and failing because MariaDB has yet to start.<br></div></blockquote><div><br></div><blockquote type="cite"><div>How can I change the start order so that the isc-kea-dhcp4-server.service<br></div><div>doesn't start until the MariaDB service is up and running?<br></div></blockquote><div><br></div><blockquote type="cite"><div>I expect I will have the same issue with the isc-kea-dhcp6-server.service when I<br></div><div>eventually start to use it.<br></div></blockquote><div><br></div><blockquote type="cite">Thank you,<br></blockquote><div><br></div><blockquote type="cite">PeterP.<br></blockquote><div><br></div><blockquote type="cite"><div>_______________________________________________<br></div><div>ISC funds the development of this software with paid support subscriptions.<br></div><div>Contact us at https://www.isc.org/contact/ for more information.<br></div></blockquote><div><br></div><blockquote type="cite">To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.<br></blockquote><div><br></div><blockquote type="cite"><div>Kea-users mailing list<br></div><div>Kea-users@lists.isc.org<br></div><div>https://lists.isc.org/mailman/listinfo/kea-users<br></div></blockquote><div>_______________________________________________<br></div><div>ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.<br></div><div><br></div><div>To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.<br></div><div><br></div><div>Kea-users mailing list<br></div><div>Kea-users@lists.isc.org<br></div><div>https://lists.isc.org/mailman/listinfo/kea-users<br></div></div></div></blockquote></div><div><br></div></body></html>