• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Mariadb does not start when upgrading plesk to 18.0.58 Update 1

ivanes82

Basic Pleskian
Server operating system version
AlmaLinux 8.9
Plesk version and microupdate number
Plesk Obsidian 18.0.58 Update 1
I have managed to keep the server running by booting Mariadb in safe mode, but it won't boot in normal mode. This has been when updating plesk. Mariadb version 10.11.6


mariadb.service - MariaDB 10.11.6 database server
Loaded: loaded (/usr/lib/systemd/system/./mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─[configuration files]
Active: failed (Result: exit-code) since Wed 2024-01-17 02:04:52 CET; 26min ago
Docs: man:mariadbd(8)
systemd
Process: [PID] ExecStart=/usr/sbin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: [PID] ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set->
Process: [PID] ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: [PID] (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"

ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [ERROR] InnoDB: Plugin initialization aborted with error Generic error
ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [Note] InnoDB: Starting shutdown...
ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [Note] Plugin 'FEEDBACK' is disabled.
ene
17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [ERROR] Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist". Some plugins may be>
ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [ERROR] Failed to initialize plugins.
ene 17 02:04:52 [nombre del servidor] mariadbd[PID]: 2024-01-17 2:04:52 [ID de error] [ERROR] Aborting
ene 17 02:04:52 [nombre del servidor] systemd[PID]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
ene 17 02:04:52 [nombre del servidor] systemd[PID]: mariadb.service: Failed with result 'exit-code'.
ene 17 02:04:52 [nombre del servidor] systemd[PID]: Failed to start MariaDB 10.11.6 database server.
 
I have doubts that "Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist"." is a Plesk issue. You may have first seen it on a Plesk update, because that might have reloaded the database or updated something on the database. When the database was previously running and an issue occured with a table that is only needed when it starts, you may not have noticed it, but the problem likely existed before.

This rather appears to be a database server issue. There can be several reasons beyond the obvious that the mysql.plugin table is missing. It could also be caused by corrupted ib_logfile0, ib_logfile1 files. I suggest posting "Could not open mysql.plugin table" to Google and check some of the major resources from StackOverflow, Serverfault etc. where other users of MariaDB have experienced a similar issue. Some answers might match your case and help to solve it.
 
I have doubts that "Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist"." is a Plesk issue. You may have first seen it on a Plesk update, because that might have reloaded the database or updated something on the database. When the database was previously running and an issue occured with a table that is only needed when it starts, you may not have noticed it, but the problem likely existed before.

This rather appears to be a database server issue. There can be several reasons beyond the obvious that the mysql.plugin table is missing. It could also be caused by corrupted ib_logfile0, ib_logfile1 files. I suggest posting "Could not open mysql.plugin table" to Google and check some of the major resources from StackOverflow, Serverfault etc. where other users of MariaDB have experienced a similar issue. Some answers might match your case and help to solve it.
Thank you very much @Peter Debik, I managed to solve it following the indications in this article: https://support.plesk.com/hc/en-us/...x-server-Can-t-open-and-lock-privilege-tables
 
Back
Top