Plesk upgrade failed: libmariadb.so.1 is missing

Refers to:

  • Plesk 12.5 for Linux

Created:

2016-11-16 13:25:47 UTC

Modified:

2017-01-27 02:28:29 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk upgrade failed: libmariadb.so.1 is missing

Symptoms

Unable to create Apache configuration files or Plesk upgrade fails with the following error:

/opt/psa/admin/sbin/packagemng: error while loading shared libraries: libmariadb.so.1: cannot open shared object file: No such file or directory

OR

MailListManager encounter an error: listmng failed: /usr/local/psa/admin/bin/listmng: error while loading shared libraries: libmariadb.so.1: cannot open shared object file

Cause

sw-mariadb-client package is installed on the server, but libmariadb.so.1 file is missing.

Resolution

  1. Find if file libmariadb.so.1 exists on the server:

    # locate libmariadb.so.1
    /usr/lib/sw/libmariadb.so.1
  2. If yes, copy it to correct location:

    # cp /usr/lib/sw/libmariadb.so.1 /usr/lib/
  3. If file is missing on the server download package sw-mariadb-client :

    # wget http://autoinstall.plesk.com/PSA_12.5.30/<server operating system>/contrib/sw-mariadb-client_1.0.0-<server operating system>

    For example for Ubuntu 14:

    # wget http://autoinstall.plesk.com/PSA_12.5.30/dist-deb-Ubuntu-14.04-x86_64/contrib/sw-mariadb-client_1.0.0-ubuntu14.04.15072015_amd64.deb
  4. Unpack downloaded package (do not install it):

    # ar vx sw-mariadb-client_1.0.0-ubuntu14.04.15072015_amd64.deb
    # tar -xJvf data.tar.xz
  5. Place file libmariadb.so.1 into /usr/lib/ directory.

  6. Run upgrade or try to re-create Apache configuration files again.

Have more questions? Submit a request
Please sign in to leave a comment.