Plesk

Execution of Plesk-related commands fails: /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)

Symptoms

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.

  1. Log into the server via SSH.
  2. 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

  3. 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

  4. 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)

  5. Download the necessary package to your Plesk server by executing the following command:

    # wget https://autoinstall.plesk.com/PSA_18.0.53/dist-rpm-CentOS-7-x86_64/engine/sw-engine-5.53.2-1centos.7.230612.1943.x86_64.rpm

  6. 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

Exit mobile version