Different Plesk sections show 502 bad Gateway errors or Cannot load library /usr/lib/sw/libmysqlserver.so

Created:

2016-11-16 12:57:35 UTC

Modified:

2017-04-30 11:52:05 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Different Plesk sections show 502 bad Gateway errors or Cannot load library /usr/lib/sw/libmysqlserver.so

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Plesk repair utility shows the following error message in /tmp/plesk_12.5.30_repair.log :

Connection to APSC DB is not possible: Cannot load library: /usr/lib/sw/libmysqlserver.so.2.0

Different sections in Plesk shows 502 Bad Gateway OR Internal error: Cannot load library: /usr/lib64/sw/libmysqlserver.so.2.011

Cause

APS_DB_DRIVER_LIBRARY in /etc/psa/psa.conf refer to non-exiting file or to library provided by 3rd-party.

Resolution

Edit /etc/psa/psa.conf and set proper path from plesk-librdbmspp package.

To get files location from package run:

On Debian-based OS:

dpkg -L plesk-rdbmspp

On RHEL-based OS:

rpm -ql plesk-rdbmspp


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