• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Error with update Plesk 12.0.18

DiPolo

New Pleskian
I having hard time with plesk update I don`t really know what should I do in order to solve the issue , the previous update I had a problem with third-party powerstack repository which I already disabled from the system , hope someone can advice please

OS: CentOS 6.2 (Final)
Plesk version: 12.0.18 Update #88

Thx

This is the error log

Code:
**** Product perform-deferred-actions completed successfully.

STOP Bootstrapper 12.0.18 perform-deferred-actions AT Tue Aug  2 03:49:51 JST 2016
START Bootstrapper 12.0.18 prep-install for BASE AT Thu Aug 11 04:14:50 JST 2016

**** Product prep-install started.

===> Checking for previous installation ... found.
Create user 'psaadm' and group 'psaadm'
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Create group swkey-data
Checking for the group 'swkey-data'...
Group 'swkey-data' already exists

Checking for the group 'swkey-data'...
Trying to add supplementary group 'swkey-data' for user 'psaadm'...  already there
Create Mail accounts
Checking for the group 'popuser'...
Group 'popuser' already exists

Checking for the user 'popuser'...
User 'popuser' already exists

Checking for the user 'mhandlers-user'...
User 'mhandlers-user' already exists

Trying to got legacy variables... done
config updated
===> Updated /etc/psa/psa.conf
Trying to save legacy variables... done
Trying to resolve hostname 'sub000054033810.hmk-temp.com' and validate its IP address... done


===> Checking for the necessary system accounts
Checking for the system groups and users necessary for MySQL...
Checking for the group 'mysql'...
Group 'mysql' already exists

Checking for the user 'mysql'...
User 'mysql' already exists

Checking for the system groups and users necessary for admin server...
Checking for the group 'psaadm'...
Group 'psaadm' already exists

Checking for the user 'psaadm'...
User 'psaadm' already exists

Checking for the group 'psaserv'...
Group 'psaserv' already exists

Checking for the group 'psaserv'...
Trying to add supplementary group 'psaserv' for user 'psaadm'...  already there
Checking for the group 'psacln'...
Group 'psacln' already exists

Checking that /usr/local/psa/bin/chrootsh registered as login shell...
/usr/local/psa/bin/chrootsh already registered as a login shell


===> Performing safe prep-install database actions


===> Upgrading database

Trying to start service mysqld... mysqld (pid 31545) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 012000018
Version is OK, no need to create psa database.
Trying to backup MySQL database... Warning: Not dumping MySQL database 'atmail' as it doesn't exist
done
MySQL databases are dumped to /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20160811-041457.dump.gz
Trying to allow INNODB engine... done
Restarting mysql Trying to restart service mysqld... mysqld (pid 31545) is running...
Timeout error occurred trying to stop MySQL Daemon.
Stopping mysqld:  [FAILED]
MySQL Daemon failed to start.
Starting mysqld:  [FAILED]

WARNING!
Some problems are found during restart(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log)

Continue...


ERROR while trying to restart MySQL
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again


===> Restoring database from backup /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20160811-041457.dump.gz

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

    [ERROR] Database restoring failed
    Try to restore database from /var/lib/psa/dumps/mysql.preupgrade.12.0.18-12.0.18.20160811-041457.dump.gz manually


Trying to start psa...
Stopping psa... Stopping sw-engine-fpm: [FAILED]
done

**** Product prep-install for BASE failed.

*****  problem report *****
ERROR while trying to restart MySQL
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
STOP Bootstrapper 12.0.18 prep-install for BASE AT Thu Aug 11 04:17:21 JST 2016
 
There are a lot of related KB articles if you try to search "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'"
Have you seen them?
 
Hi IgorG , the server has been working properly till now , still working so I didn`t make any changes apart disabling the repository related to the problem I had yesterday ..the server has always been update fine as well as the db
I searching on the net and seems to be many answer related to the same problem but with different reply and suggestion , to be honest I don`t really know which one should solve my issue , and advice will be so much appreciate

Thx
 
Back
Top