traskowski
Verified User
- Joined
- Nov 13, 2012
- Messages
- 59
Hey.. I've got Cloudlinux, after yum update i've got error in starting of database.. Someone got some idea? All database is on /var/lib/mysql
Code:
[root@s1 lib]# systemctl status mariadb.service
● mariadb.service - MariaDB database server
Loaded: loaded (/etc/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf, tokudb.conf
Active: failed (Result: exit-code) since Fri 2022-12-02 03:06:23 CET; 4s ago
Process: 84452 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 84442 ExecStartPre=/bin/sh -c [ -x /usr/bin/galera_recovery ] || exit 0; VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 84440 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 84452 (code=exited, status=1/FAILURE)
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Note] Plugin 'FEEDBACK' is disabled.
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Note] Recovering after a crash using tc.log
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Note] Starting crash recovery...
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Note] Crash recovery finished.
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Warning] Failed to lock memory. Errno: 12
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [Note] Server socket created on IP: '127.0.0.1'.
Dec 02 03:06:23 s1.udx.pl mysqld[84452]: 2022-12-02 3:06:23 0 [ERROR] Fatal error: Can't open and lock privilege tables: 'mysql.user' is not of type 'TABLE'
Dec 02 03:06:23 s1.udx.pl systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Dec 02 03:06:23 s1.udx.pl systemd[1]: mariadb.service: Failed with result 'exit-code'.
Dec 02 03:06:23 s1.udx.pl systemd[1]: Failed to start MariaDB database server.