[Kea-users] ISC-KEA with MariaDB on Debian Buster Startup Sequence
perl-list
perl-list at network1.net
Wed Sep 22 13:35:49 UTC 2021
find /etc/ | grep isc-kea-dhcp4-server.service
its in there somewhere I assume :)
----- 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 9:32:58 AM
> Subject: Re: [Kea-users] ISC-KEA with MariaDB on Debian Buster Startup Sequence
> 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,
> PeterP
>> On 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.service
>> meaning all of those .target or .service files would need to finish before it
>> starts radiusd.service
>> You 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 AM
>>> Subject: [Kea-users] ISC-KEA with MariaDB on Debian Buster Startup Sequence
>>> Hello,
>>> 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 using
>>> MariaDB as the back-end. Everything is up to date as regards versions, at least
>>> as 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 a
>>> system 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 relation
>>> to 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.service
>>> doesn'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 I
>>> eventually 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 list
>>> Kea-users at lists.isc.org
>>> https://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 list
>> Kea-users at lists.isc.org
>> https://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 list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
More information about the Kea-users
mailing list