Article ID: 120508, created on Mar 12, 2014, last review on May 11, 2014

  • Applies to:
  • Plesk 11.5 for Linux


  1. I get "502 Bad Gateway" error while accessing Plesk Panel.

  2. From /var/log/sw-cp-server/error_log log:

    [error] 2194#0: *11 recv() failed (104: Connection  reset by peer) while reading response header from upstream, client:, server: , request: "GET /left.php3 HTTP/1.1", upstream:  "fastcgi://unix:/var/run/sw-engine.sock:", host: "panel.domain.tld:8443",  referrer: "https://panel.domain.tld:8443/
  3. mariadb-server 5.5.36 is used for Plesk database.

  4. From strace log, you may see the following error:

    "symbol int2str, version libmysqlclient_18 not defined in file with link time reference", 107}


The issue is due to Mariadb bug: MDEV-5773.


Downgrade Mysql server to 5.5.35 version as it is said in MDEV-5773.

Also libmariadbclient18 package should be the same version:

    # dpkg -l |grep libmariadbclient18
    ii  libmariadbclient18                 5.5.35+maria-1~wheezy               amd64        MariaDB database client library

Make sure that mentioned symbols in error exist in /usr/lib/

    # strings /usr/lib/ |grep libmysqlclient_18

Search Words

version libmysqlclient_18 not defined in file

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 01bc4c8cf5b7f01f815a7ada004154a2 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF