mariadb.service fails after update.

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Tarrasque
Posts: 10
Joined: Wed Jun 26, 2019 11:13 am

mariadb.service fails after update.

Post by Tarrasque »

Hello.

I just updated to the latest version wia dietpi_update, and after that the mariadb.service fails to start.

Where can I find any useful log to find out what's happening?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: mariadb.service fails after update.

Post by johnvick »

This is one possible solution:

viewtopic.php?f=11&t=5811&hilit=mariadb
Tarrasque
Posts: 10
Joined: Wed Jun 26, 2019 11:13 am

Re: mariadb.service fails after update.

Post by Tarrasque »

Nope.

I changed the value to false in both service units and reloaded the daemon but it still fails.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: mariadb.service fails after update.

Post by johnvick »

What does
# systemctl status mysql

report?
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: mariadb.service fails after update.

Post by MichaIng »

It is systemctl status mariadb, btw, although propably mysql is an ALIAS.

To show full service log:
journalctl -u mariadb
cat /var/log/mysql/error.log
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: mariadb.service fails after update.

Post by johnvick »

Sorry old habits die hard :)
Post Reply