"502 Bad Gateway" error while accessing Plesk Panel: symbol int2str, version libmysqlclient_18 not defined in file libmysqlclient.so.18

Created:

2016-11-16 13:09:41 UTC

Modified:

2017-08-16 16:17:03 UTC

0

Was this article helpful?


Have more questions?

Anfrage einreichen

"502 Bad Gateway" error while accessing Plesk Panel: symbol int2str, version libmysqlclient_18 not defined in file libmysqlclient.so.18

Applicable to:

  • Plesk 11.5 for Linux

Symptoms

  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:  1.2.3.4, 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 libmysqlclient.so.18 with link time reference", 107}
    

Cause

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

Resolution

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/libmysqlclient.so.18 :

    # strings /usr/lib/libmysqlclient.so.18 |grep libmysqlclient_18
    libmysqlclient_18
Haben Sie Fragen? Anfrage einreichen
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.