- Server operating system version
- centos 7 64bits
- Plesk version and microupdate number
- 18
Server Error
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2024-11-26 11:20:27 CST; 2s ago
Process: 8436 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 8435 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 8400 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 8435 (code=exited, status=0/SUCCESS)
Nov 26 11:20:26 elsalvad systemd[1]: Starting MariaDB database server...
Nov 26 11:20:26 elsalvad mariadb-prepare-db-dir[8400]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Nov 26 11:20:26 elsalvad mariadb-prepare-db-dir[8400]: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Nov 26 11:20:26 elsalvad mysqld_safe[8435]: 241126 11:20:26 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Nov 26 11:20:26 elsalvad mysqld_safe[8435]: 241126 11:20:26 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Nov 26 11:20:27 elsalvad systemd[1]: mariadb.service: control process exited, code=exited status=1
Nov 26 11:20:27 elsalvad systemd[1]: Failed to start MariaDB database server.
Nov 26 11:20:27 elsalvad systemd[1]: Unit mariadb.service entered failed state.
Nov 26 11:20:27 elsalvad systemd[1]: mariadb.service failed.
Finished with exit code 3
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.Finished with exit code 1
241126 01:54:59 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
241126 01:55:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
241126 1:55:06 [Note] /usr/libexec/mysqld (mysqld 5.5.68-MariaDB) starting as process 20248 ...
241126 1:55:06 InnoDB: The InnoDB memory heap is disabled
241126 1:55:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
241126 1:55:06 InnoDB: Compressed tables use zlib 1.2.7
241126 1:55:06 InnoDB: Using Linux native AIO
241126 1:55:06 InnoDB: Initializing buffer pool, size = 128.0M
241126 1:55:06 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
241126 1:55:06 InnoDB: Could not open or create data files.
241126 1:55:06 InnoDB: If you tried to add new data files, and it failed here,
241126 1:55:06 InnoDB: you should now edit innodb_data_file_path in my.cnf back
241126 1:55:06 InnoDB: to what it was, and remove the new ibdata files InnoDB created
241126 1:55:06 InnoDB: in this failed attempt. InnoDB only wrote those files full of
241126 1:55:06 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
241126 1:55:06 InnoDB: remove old data files which contain your precious data!
241126 1:55:06 [ERROR] Plugin 'InnoDB' init function returned error.
241126 1:55:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
241126 1:55:06 [Note] Plugin 'FEEDBACK' is disabled.
241126 1:55:06 [ERROR] Unknown/unsupported storage engine: InnoDB
241126 1:55:06 [ERROR] Aborting
241126 1:55:06 [Note] /usr/libexec/mysqld: Shutdown complete
241126 01:55:06 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
helpme please
500 Plesk\Exception\Database
DB query failed: SQLSTATE[HY000] [2002] Connection refusedType | Plesk\Exception\Database |
Message | DB query failed: SQLSTATE[HY000] [2002] Connection refused |
File | Mysql.php |
Line | 79 |
mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2024-11-26 11:20:27 CST; 2s ago
Process: 8436 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 8435 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 8400 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 8435 (code=exited, status=0/SUCCESS)
Nov 26 11:20:26 elsalvad systemd[1]: Starting MariaDB database server...
Nov 26 11:20:26 elsalvad mariadb-prepare-db-dir[8400]: Database MariaDB is probably initialized in /var/lib/mysql already, nothing is done.
Nov 26 11:20:26 elsalvad mariadb-prepare-db-dir[8400]: If this is not the case, make sure the /var/lib/mysql is empty before running mariadb-prepare-db-dir.
Nov 26 11:20:26 elsalvad mysqld_safe[8435]: 241126 11:20:26 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'.
Nov 26 11:20:26 elsalvad mysqld_safe[8435]: 241126 11:20:26 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
Nov 26 11:20:27 elsalvad systemd[1]: mariadb.service: control process exited, code=exited status=1
Nov 26 11:20:27 elsalvad systemd[1]: Failed to start MariaDB database server.
Nov 26 11:20:27 elsalvad systemd[1]: Unit mariadb.service entered failed state.
Nov 26 11:20:27 elsalvad systemd[1]: mariadb.service failed.
Finished with exit code 3
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.Finished with exit code 1
241126 01:54:59 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
241126 01:55:05 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
241126 1:55:06 [Note] /usr/libexec/mysqld (mysqld 5.5.68-MariaDB) starting as process 20248 ...
241126 1:55:06 InnoDB: The InnoDB memory heap is disabled
241126 1:55:06 InnoDB: Mutexes and rw_locks use GCC atomic builtins
241126 1:55:06 InnoDB: Compressed tables use zlib 1.2.7
241126 1:55:06 InnoDB: Using Linux native AIO
241126 1:55:06 InnoDB: Initializing buffer pool, size = 128.0M
241126 1:55:06 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
241126 1:55:06 InnoDB: Could not open or create data files.
241126 1:55:06 InnoDB: If you tried to add new data files, and it failed here,
241126 1:55:06 InnoDB: you should now edit innodb_data_file_path in my.cnf back
241126 1:55:06 InnoDB: to what it was, and remove the new ibdata files InnoDB created
241126 1:55:06 InnoDB: in this failed attempt. InnoDB only wrote those files full of
241126 1:55:06 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
241126 1:55:06 InnoDB: remove old data files which contain your precious data!
241126 1:55:06 [ERROR] Plugin 'InnoDB' init function returned error.
241126 1:55:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
241126 1:55:06 [Note] Plugin 'FEEDBACK' is disabled.
241126 1:55:06 [ERROR] Unknown/unsupported storage engine: InnoDB
241126 1:55:06 [ERROR] Aborting
241126 1:55:06 [Note] /usr/libexec/mysqld: Shutdown complete
241126 01:55:06 mysqld_safe mysqld from pid file /var/run/mariadb/mariadb.pid ended
helpme please