Symptoms
Plesk is not accessible with one of the following error messages in a web-browser:
Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.Server Error
500
Zend_Db_Adapter_Exception
SQLSTATE[HY000] [2002] No such file or directoryWebsites that use MySQL/MariaDB databases do not work or work improperly.
MySQL/MariaDB fails to start after setting up the
innodb_log_file_sizeparameter in MySQL/MariaDB configuration:The error message on Linux:
start: Job failed to start
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
The error message on Windows Server:
The MySQL service fails to start with the error 1067 "The process terminated unexpectedly"
The following messages appear in the MySQL/MariaDB logfile:
Logfile location on Linux:
/var/log/mysql/error.log(or/var/log/mariadb/mariadb.logif MariaDB is installed)Logfile location on Windows Server:
%plesk_dir%MySQLData<SERVER_NAME>.err
InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
InnoDB: than specified in the .cnf file 0 536870912 bytes!
Cause
After changing the innodb_log_file_size value in MySQL/MariaDB configuration, old log files ib_logfile0 and ib_logfile1 still exist with a different size on the server.
Resolution
Follow steps from this KB article: