- Plesk 12.5 for Linux
- Plesk Onyx for Linux
MariaDB or mysql service shuts down automatically with the following error message:
PLESK_INFO: ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000]  Connection refused
The following error appears when trying to access Plesk:
PLESK_INFO: ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000]  No such file or directory Additionally, an exception has occurred while trying to report this error: Zend_Exception No entry is registered for key 'translate' (Abstract.php:144)
Plesk and websites are down.
/var/log/mariadb/mariadb.log (/var/log/mysql/error.log), the following error message can be found:
CONFIG_TEXT: [ERROR] Plugin 'InnoDB' init function returned error.
[ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
[ERROR] mysqld: Out of memory (Needed 128917504 bytes)
[ERROR] mysqld: Out of memory (Needed 96681984 bytes)
161104 21:24:07 [Note] Plugin 'FEEDBACK' is disabled.
[ERROR] Unknown/unsupported storage engine: InnoDB
[Note] /usr/libexec/mysqld: Shutdown complete
Less than 100MB free RAM is available on the server:
# free -m
total used free shared buff/cache available
Mem: 993M 430M 96M 173M 465M 248M
Swap: 0B 0B 0B
Contact system administrator and increase RAM on the server.