akira9000
Basic Pleskian
Morning guys,
CentOS 7.4 - Plesk Onyx 17.5.3
After trying to fix an issue last night I ended up restoring a snapshot on the server which has led to a new issue.
I've SSH'd and done df -h. Disk is showing 106GB used. This is correct so I know the disk contents is still there but...Plesk login page now just gives:
So I've tracked this down to MySQL issue.
Tried:
Just get:
How could the DB server be missing from the snapshot? And probably more importantly, can I reinstall it? If so what is the correct syntax.
Cheers
CentOS 7.4 - Plesk Onyx 17.5.3
After trying to fix an issue last night I ended up restoring a snapshot on the server which has led to a new issue.
I've SSH'd and done df -h. Disk is showing 106GB used. This is correct so I know the disk contents is still there but...Plesk login page now just gives:
ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused
Additionally, an exception has occurred while trying to report this error: Zend_Exception
No entry is registered for key 'translate' (Abstract.php:144)
Search for related Knowledge Base articles
ERROR: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:dbname=ps...', 'admin', '$AES-128-CBC$/Z...', Array) #1 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /usr/local/psa/admin/externals/Zend/Db/Adapter/Abstract.php(460): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select param, v...', Array) #4 /usr/local/psa/admin/plib/Db/Adapter/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Abstract->query('select param, v...', Array) #5 /usr/local/psa/admin/plib/db.php(36): Db_Adapter_Pdo_Mysql->query('select param, v...') #6 /usr/local/psa/admin/plib/db.php(212): db_query('select param, v...', false) #7 /usr/local/psa/admin/plib/Plesk/Mode.php(439): ge (Abstract.php:144)
Search for related Knowledge Base articles
So I've tracked this down to MySQL issue.
Tried:
Code:
# service mysqld start
Just get:
Code:
Redirecting to /bin/systemctl start mysqld.service
Failed to start mysqld.service: Unit not found.
How could the DB server be missing from the snapshot? And probably more importantly, can I reinstall it? If so what is the correct syntax.
Cheers