EmilioO
Basic Pleskian
Plesk reapair installation command fails. Output shows unable to connect to mysql through socket.
Enviroment:
Ubuntu 18.04
Plesk Obsidian 18.0.37 MU2
psa.conf: MYSQL_SOCKET /var/run/mysqld/mysqld.sock
my.cnf : socket = /var/run/mysqld/mysqld.sock
Commands as Plesk db , o Plesk repair mysql works perfect, without errors.
PLESK REPAIR VERBOSE :
PLESK REPAIR WITOUTH VERBOSSE OPTION
Enviroment:
Ubuntu 18.04
Plesk Obsidian 18.0.37 MU2
psa.conf: MYSQL_SOCKET /var/run/mysqld/mysqld.sock
my.cnf : socket = /var/run/mysqld/mysqld.sock
Commands as Plesk db , o Plesk repair mysql works perfect, without errors.
PLESK REPAIR VERBOSE :
Code:
Reconfiguring the Plesk installation
**** Product repair started.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.
Trying to start service mysql... done
Trying to establish test connection... connected
done
Trying to find psa database... version is 018000000
Trying to backup MySQL database... done
MySQL databases are dumped to /media/2TB/backups/dumps/mysql.preupgrade.18.0.37-18.0.37.20210822-131117.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
Trying to add supplementary group 'lock-manager' for user 'psaadm'... already there
Trying to set up APS controller database...
ERROR while trying to create database for APS controller
Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.37_repair.log), fix and try again
===> Restoring database from backup /media/2TB/backups/dumps/mysql.preupgrade.18.0.37-18.0.37.20210822-131117.dump.gz
gzip: stdout: Broken pipe
[ERROR] Database restoring failed
Try to restore database from /media/2TB/backups/dumps/mysql.preupgrade.18.0.37-18.0.37.20210822-131117.dump.gz manually
**** Product repair failed.
***** problem report *****
ERROR while trying to create database for APS controller
exit status 1
PLESK REPAIR WITOUTH VERBOSSE OPTION
Code:
Reconfiguring the Plesk installation
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
**** Product repair started.
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.
Trying to start service mysql... active
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 018000000
Trying to backup MySQL database... done
MySQL databases are dumped to /media/2TB/backups/dumps/mysql.preupgrade.18.0.37-18.0.37.20210822-131216.dump.gz
Finishing up upgrade procedures and rerunning previously failed upgrade actions...
Trying to add supplementary group 'lock-manager' for user 'psaadm'... already there
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Trying to set up APS controller database... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
...(THIS ERROR SHOWS MORE TIMES BUT TRIMMED THE OUTPUT BECAUSE FORUM LIMITATIONS CHARS.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR while trying to create database for APS controller
Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.37_repair.log), fix and try again
gzip: stdout: Broken pipe
***** problem report *****
ERROR while trying to create database for APS controller
exit status 1