Symptoms
- Plesk Obsidian running on a RHEL-based operating system
- Execution of any Plesk-related commands via SSH fails with the following errors:
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 by executing the following command:
# rpm -qa | grep sw-engine
...
sw-engine-4.51.0-1centos.7.230222.0826.x86_64 - Remove the old version of sw-engine by executing the following command:
# 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 (for example, go to https://autoinstall.plesk.com/PSA_18.0.53/dist-rpm-CentOS-7-x86_64/engine/ via your browser)
-
Download the necessary package to your Plesk server by executing the following command:
-
Install the necessary package by executing the following command:
# rpm -Uvh sw-engine-5.53.2-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