Applicable to:
- Plesk for Linux
Symptoms
-
Execution of any Plesk-related commands via SSH fails with the following errors:
CONFIG_TEXT: /usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib64/libaps.so.1)
/usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/libboost-plesk-1.82/libboost_regex-plesk.so.1.82.0)
/usr/bin/sw-engine: /usr/lib64/c++-plesk-10.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/libboost-plesk-1.82/libboost_serialization-plesk.so.1.82.0) -
Attempt to perform a Plesk upgrade or update also lead to the same errors
Cause
A previous Plesk upgrade or update attempt was interrupted before finishing and as a result, the Plesk sw-engine has remained an old version that is incompatible with other packages that have been updated successfully.
Resolution
Note: Make sure to use only packages that correspond to the exact operating system and Plesk versions that are relevant to your exact scenario.
-
Log into the server via SSH
-
Find which sw-engine version is installed on your server:
-
On Debian/Ubuntu:
# dpkg -l | grep sw-engine
ii sw-engine 4.51.0-debian.12.240312.1702 amd64 Plesk panel interpreter -
On RHEL/CentOS/AlmaLinux:
# rpm -qa | grep sw-engine
...
sw-engine-4.51.0-1centos.7.230222.0826.x86_64
-
-
Remove the old version of sw-engine:
-
On Debian/Ubuntu:
# dpkg -r --force-depends sw-engine
-
On RHEL/CentOS/AlmaLinux:
# rpm -e sw-engine-4.51.0-1centos.7.230222.0826.x86_64 --nodeps
-
-
Find the package of sw-engine that corresponds to the Plesk version you are updating to by looking through the Plesk repository in the engine folder of the corresponding operating system and Plesk version (for example, go to https://autoinstall.plesk.com/PSA_18.0.60/dist-rpm-CentOS-7-x86_64/engine/ via your browser)
-
Download the necessary package to your Plesk server using
wget
:# wget https://autoinstall.plesk.com/PSA_18.0.60/dist-deb-Debian-12.0-x86_64/engine/sw-engine_5.60.1-debian.12.240318.0906_amd64.deb
-
Install the necessary package:
-
On Debian/Ubuntu:
# dpkg -i sw-engine_5.60.1-debian.12.240318.0906_amd64.deb
-
On RHEL/CentOS/AlmaLinux:
# rpm -Uvh sw-engine-5.60.1-1centos.7.230612.1943.x86_64.rpm
-
Additional information
Main Plesk update and upgrade repository
Plesk and its command-line utilities do not work due to missing Plesk packages – Plesk
Comments
0 comments
Please sign in to leave a comment.