Article ID: 127080, created on Oct 4, 2015, last review on Feb 23, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


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/

Application vault in Home > Tools & Settings shows 502 Bad Gateway OR Internal error: Cannot load library: /usr/lib64/sw/


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


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

Search Words

plesk control panel access denied

502 bad gateway when accessing subscriptions

502 bad gateway

Connection to APSC DB is not possible: Cannot load library

Cannot load library: /usr/lib/sw/

502 Bad Gateway


742559b1631652fadd74764ae8be475e 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e335d9adf7edffca6a8af8039031a4c7 2a5151f57629129e26ff206d171fbb5f

Email subscription for changes to this article
Save as PDF