Mariadb failed to start

mariadb.service - MariaDB 10.5.26 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-10-20 09:02:55 UTC; 25s ago
Docs: man:mariadbd(8)
systemd - MariaDB Knowledge Base
Process: 158004 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 158005 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 158007 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/galera_recovery; [ $? -eq 0 ] && systemctl set-environment _>
Process: 158060 ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Main PID: 158060 (code=exited, status=1/FAILURE)
Status: “MariaDB server is down”
CPU: 153ms

Oct 20 09:02:54 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:54 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
Oct 20 09:02:54 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:54 0 [Note] InnoDB: Starting shutdown…
Oct 20 09:02:55 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:55 0 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
Oct 20 09:02:55 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:55 0 [Note] Plugin ‘FEEDBACK’ is disabled.
Oct 20 09:02:55 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:55 0 [ERROR] Could not open mysql.plugin table: “Unknown storage engine ‘Aria’”. Some plugins may >
Oct 20 09:02:55 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:55 0 [ERROR] Failed to initialize plugins.
Oct 20 09:02:55 ns1.reajournals.ir mariadbd[158060]: 2024-10-20 9:02:55 0 [ERROR] Aborting
Oct 20 09:02:55 ns1.reajournals.ir systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 09:02:55 ns1.reajournals.ir systemd[1]: mariadb.service: Failed with result ‘exit-code’.
Oct 20 09:02:55 ns1.reajournals.ir systemd[1]: Failed to start MariaDB 10.5.26 database server.

SYSTEM INFORMATION
OS type and version REQUIRED
Webmin version REQUIRED
Virtualmin version REQUIRED
Webserver version REQUIRED
Related packages SUGGESTED

We could start by guessing ?
or you could help us to help you, with the addition of a little more information. Like, have you tried a restart, was it working before you did some action, is there an application running that is devouring process cpu, memory?
as you can see I am just guessing now

I faced the problem. I stopped myself and entered safe mode, and killing the process. MariaDB is running. Now, I have a problem below in Virtualmin MariaDB section:
Error! MariaDB is not running on your system - database list could not be retrieved.
MariaDB error message
The full MariaDB error message was : DBI connect failed : Can’t connect to local MySQL server through socket ‘/run/mysqld/mysqld.sock’ (2) ?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.