• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

502 nginx Bad Gateway

FelixB

Basic Pleskian
Hey there,

After an default installation of Plesk 12 on my Debian 8 server, the domain is Unfortunately not recheable i've always the message 502 nginx bad gateway, do you have an idea what i can do, what why this is happen?

cheers
 
Hi FelixB

Could you validate if apache is running?

It was running today.. but now i dont know why, apache don't start anymore

Check if there's an error message there: /var/log/sw-cp-server/error_log

-
[error] 10286#0: *2083 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 213.55.184.150, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock",
-
error] 726#0: *57 directory index of "/opt/psa/admin/htdocs/enterprise/control/" is forbidden, client: 86.125.218.196, server: , request: "POST /enterprise/control/ HTTP/1.1"

Also, did you check on this kb? its probably relevant to your issue -> https://kb.plesk.com/en/118671 or https://kb.plesk.com/en/124377

yeah no one of this was happen
 
You should be able to get the installation GUI with this.
----------
cd /tmp

wget http://autoinstall.plesk.com/plesk-installer

chmod +x plesk-installer

./plesk-installer --web-interface
-------------

if this doesnt work try this:
/usr/local/psa/bootstrapper/pp[whatever version you have]-bootstrapper/bootstrapper.sh repair
 
Can't be sure @ 100% that this will not erase data but you said it was a new install anyway?
 
yes sure.. but i've already inserted some domains with emails and so on... and the mail server runnings actually
 
Did you purchase through a partner? You should contact them then, they can open support ticket.
 
Back
Top