Unable to create subscription


2016-11-16 13:09:42 UTC


2017-04-24 11:11:55 UTC


Was this article helpful?

Have more questions?

Submit a request

Unable to create subscription

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux


Unable to create subscription in Plesk. One of the either errors (or both) occurs:

Exception: Cannot load library: /usr/lib64/libmysqlserver.so.2
file: /usr/share/aps_php/aps_php.php
line: 11933
code: 0


Exception: ODBC error #01000: [unixODBC][Driver Manager]Can't open lib '/usr/lib64/odbc/libmyodbc.so' : file not found 
file: /usr/share/aps_php/aps_php.php line: 11933

Or the following error can be found in /var/log/plesk/install/plesk_12.5.30_repair.log file:

Connection to APSC DB is not possible: Cannot load library: /usr/lib/x86_64-linux-gnu/libmysqlserver.so.2


Libraries libmysqlserver.so.2 and/or libmyodbc.so are/is not located in /usr/lib64/ directory or by some reason ODBC library is not compatible with running MySQL server version.


  1. Find the location of mentioned libraries:

    # find / \\( -name libmysqlserver.so.2 -o -name libmyodbc.so \\) -print 2>/dev/null
  2. Correct location path of libmysqlserver.so.2 library in /etc/psa/psa.conf to existing one:

    # grep -i APS_DB_DRIVER_LIBRARY /etc/psa/psa.conf
    APS_DB_DRIVER_LIBRARY /usr/lib64/libmysqlserver.so.2
  3. Correct driver path for libmyodbc5.so in /etc/odbcinst.ini :

    # less /etc/odbcinst.ini:
    Description = MySQL driver for Plesk
    Driver = /usr/lib/libmyodbc5.so
    Setup =
    FileUsage = 1
    Driver64 =
    Setup64 =
    UsageCount = 1
  4. In case if find utility does not return the path of a package, try to install it using yum utility:

    # yum provides */libmysqlserver.so.2
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.yandex.ru
    * extras: mirror.yandex.ru
    * updates: mirror.yandex.ru
    updates/filelists_db | 1.6 MB 00:00
    rdbmspp-2.0-735641.13073116.x86_64 : rdbms++ Database Isolation Library
    Repo : installed
    Matched from:
    Filename : /usr/lib64/libmysqlserver.so.2

    # yum install rdbmspp-2.0-735641.13073116.x86_64

NOTE: The library may be provided by a different package on your system. Install the appropriate one.

If steps above was not helped:

  1. Download ODBC driver from MySQL site for your system.
  2. Unpack it and put libmyodbc5w.so file into driver path from /etc/odbcinst.ini file.
  3. Modify /etc/odbcinst.ini file and set
    Driver      = /usr/lib/libmyodbc5w.so
Have more questions? Submit a request
Please sign in to leave a comment.