Comments - Knowledge Base Questions

1 month, 1 week ago Max Müller

Hi,

I see in the KB the same problem as I have to restart MariaDb again!

- my system was running now since 2019 for my Weatherstation as Database - MariaDb (MySQL) is installed on a Raspberry Pi 4B+ - the mysql data are stored on a external SSD - on last Friday I had a unexpected power-supply fail - In this incident, the SSD was not unmounted correctly

I have tried various options, but without success

- after start with: sudo systemctl restart mariadb.service Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.

pi@raspi02:/ $ journalctl -u mariadb.service -n 40 -- Logs begin at Sun 2024-03-17 16:55:39 CET, end at Mon 2024-03-18 10:40:18 CET. -- Mar 17 16:55:55 raspi02 systemd[1]: Starting MariaDB 10.3.39 database server... Mar 17 16:59:51 raspi02 mysqld[733]: 2024-03-17 16:59:51 0 [Warning] Setting lower_case_table_names=2 because file system for /mnt/Phaselis_1/mysql-data/ is case insensitive Mar 17 17:00:23 raspi02 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE Mar 17 17:00:23 raspi02 systemd[1]: mariadb.service: Failed with result 'exit-code'. Mar 17 17:00:23 raspi02 systemd[1]: Failed to start MariaDB 10.3.39 database server. Mar 18 10:31:14 raspi02 systemd[1]: Starting MariaDB 10.3.39 database server... Mar 18 10:31:14 raspi02 mysqld[4064]: 2024-03-18 10:31:14 0 [Warning] Setting lower_case_table_names=2 because file system for /mnt/Phaselis_1/mysql-data/ is case insensitive Mar 18 10:31:16 raspi02 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE Mar 18 10:31:16 raspi02 systemd[1]: mariadb.service: Failed with result 'exit-code'. Mar 18 10:31:16 raspi02 systemd[1]: Failed to start MariaDB 10.3.39 database server.

pi@raspi02:~ $ sudo systemctl status mariadb.service ● mariadb.service - MariaDB 10.3.39 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2024-03-18 10:31:16 CET; 27s ago Docs: man:mysqld(8) https://mariadb.com/kb/en/library/systemd/ Process: 4011 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS) Process: 4012 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS) Process: 4014 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITIO Process: 4064 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE) Main PID: 4064 (code=exited, status=1/FAILURE)

Mar 18 10:31:14 raspi02 systemd[1]: Starting MariaDB 10.3.39 database server... Mar 18 10:31:14 raspi02 mysqld[4064]: 2024-03-18 10:31:14 0 [Warning] Setting lower_case_table_names=2 because file system for /mnt/Phaselis_1/mysql-data/ is case insensitive Mar 18 10:31:16 raspi02 systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE Mar 18 10:31:16 raspi02 systemd[1]: mariadb.service: Failed with result 'exit-code'. Mar 18 10:31:16 raspi02 systemd[1]: Failed to start MariaDB 10.3.39 database server. ESCOC

I would be very grateful if you could help me with this thank you for your advice Max Müller

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.