• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk 7.5.3 -> Upgrade FAILS -> HELP!

A

aernative

Guest
Trying to install -
Base packages of Plesk Jan 28, 2005 May 6, 2005

The upgrade fails leaving mysql down which effectrively halts evey site on the server with over 1000 unique sessions daily this is a realy problem...

I restarted mysql using "inid.d/mysqld restart" looking at the logs in tmp i found the following towards the end of the autoinstaller.log -

Preparing for packages installation...Error reading info for conflict check of installed package (null).
Error reading info for conflict check of installed package (null).

----- begin of output -----
Installing sharutils-4.2.1-18.1.FC2.i386.rpm
warning: /var/psa/PSA_7.5.3/FC2_std.updates/sharutils-4.2.1-18.1.FC2.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Installing mysql-server-3.23.58-16.FC2.1.i386.rpm
Installing mysql-3.23.58-16.FC2.1.i386.rpm
warning: /var/psa/PSA_7.5.3/FC2_std.updates/mysql-server-3.23.58-16.FC2.1.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
packagemng: Unable to connect to the mysql database

System error 2: No such file or directory
packagemng: Unable to connect to the mysql database

Appears the upgrade of mysql is failing...

Anyone got a soloution for this?
 
I don't have the solution, but next time wait about 3 weeks before you update. swsoft is not good about updating correctly. I would also stay away from the updater within plesk and manually upgrade.

Anyone out there have a fix for aernative's problem??

Thanks,
poke
 
Originally posted by aernative
packagemng: Unable to connect to the mysql database

I get rid out of this problem by replacing /usr/local/psa/admin/sbin/packagemng with the /bin/true before the upgrade :) Looks everything works correctly for now (this utility was automatically replaced with the one from 7.5.3 distrubition after upgrade). AFAIU, packagemng updates the installed component list, and it's a pretty useless to update this list in package uninstallation during upgrade :)
 
Back
Top