Maria can´t run.
I have the following problem. After a power failure, mariadb stopped working. My installation runs Maria 10.6.4 on Ubuntu 20.04 Anyone who can help me?
------------------------ ● mariadb.service - MariaDB 10.6.4 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my.cnf-settings.conf Active: failed (Result: exit-code) since Wed 2024-02-14 10:22:04 UTC; 5min ago Docs: man:mariadbd(8) https://mariadb.com/kb/en/library/systemd/ Process: 21338 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=2) Process: 21225 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && system Process: 21216 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS) Process: 21208 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS) Main PID: 21338 (code=exited, status=2) Status: "MariaDB server is down"
Feb 14 10:22:03 webserver systemd[1]: Starting MariaDB 10.6.4 database server... Feb 14 10:22:03 webserver mariadbd[21338]: 2024-02-14 10:22:03 0 [Note] /usr/sbin/mariadbd (server 10.6.4-MariaDB-1:10.6.4+mariabionic) starting as process 213 Feb 14 10:22:04 webserver systemd[1]: mariadb.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Feb 14 10:22:04 webserver systemd[1]: mariadb.service: Failed with result 'exit-code'. Feb 14 10:22:04 webserver systemd[1]: Failed to start MariaDB 10.6.4 database server. -------------------- Thanks
Answer Answered by Daniel Black in this comment.
What does journalctl -u mariadb.service -n 40 show?