• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved 502 BAD GATEWAY

Henry C. Lavau

New Pleskian
I post this in case it helps.

All the sites of the plesk server suddenly showed a 502 Bad Gateway.
The server VPS000000.ovh.net was hired with Plesk installed.

From time to time, all my sites show the 502 BAD GATEWAY message.

I suspect the automatic updates unable to restart, accordingly to the message I received.
| Unable to generate the web server configuration file on the host <stock.ovh> because of the following errors:
| Template_Exception: Can not restart web server: Apache is down, start it instead of graceful
| Apache is down, start it instead of graceful

A manual repair / restart did not solve the problem either

What solved it? Setting the Full Server Name from stock.ovh, which is the default name of the server to its name VPS000000.ovh.net (replace VPS000000 by the actual name)
The sites reborned instantly.

HTH
 
Back
Top