Plesk left navigation frame displays 502 Bad Gateway on Plesk 11.5

Created:

2016-11-16 13:08:06 UTC

Modified:

2017-04-24 11:22:59 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk left navigation frame displays 502 Bad Gateway on Plesk 11.5

Applicable to:

  • Plesk 11.5 for Linux

Symptoms

Plesk left navigation frame displays Bad Gateway error. '/var/log/sw-cp-server/error_log' contains the alike error messages:

2014/04/15 20:01:28 [error] 19509#0: *319 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.10.10.11, server: , request: "GET /left.php3 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "10.10.10.10:8443", referrer: "https://10.10.10.10:8443/"

Cause

MySQL packages were upgraded to version 5.6 from the third party repository during the updates installation.

Resolution

  1. Check the client packages versions. The below example indicates the problem: packages are installed from 'Dotdeb' repo, which is wrong.

    dpkg -l|grep libmysqlclient
    ii libmysqlclient18:amd64 5.6.17-1~dotdeb.1 amd64
    ii libmysqlclient-dev 5.6.17-1~dotdeb.1 amd64
  2. Remove the custom packages:

    dpkg -r --force-depends libmysqlclient18
    dpkg -r --force-depends libmysqlclient-dev
  3. Comment out the Dotdeb in '/etc/apt/sources.list' file.

  4. Install the default packages from official Debian repo:

     apt-get install libmysqlclient18 libmysqlclient-dev
Have more questions? Submit a request
Please sign in to leave a comment.