• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Server Error 502 Bad Gateway

First of all, make sure that sw-cp-server service is up and running with

# systemctl status sw-cp-server
● sw-cp-server.service - Startup script for Plesk control panel server
Loaded: loaded (/usr/lib/systemd/system/sw-cp-server.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2017-10-02 05:24:04 NOVT; 4h 26min ago
Main PID: 2861 (sw-cp-serverd)
CGroup: /system.slice/sw-cp-server.service
├─ 2861 sw-cp-server: master process /usr/sbin/sw-cp-serverd -c /etc/sw-cp-server/config
└─23483 sw-cp-server: worker process

Try to start it if service is not active. Try to find a reason of problem in log file /var/log/plesk/sw-cp-server/error_log
 
Try to check if Nginx is running under services, I found out that since updating all the packages Nginx isn't starting itself automatically anymore.
 
Hi occinodo,

Try to check if Nginx is running under services
The Plesk "sw-nginx" - package has got nothing to do with "sw-engine" ( Plesk Server Control Panel PHP-FPM - service ) and "sw-cp-server" ( Plesk Control Panel webserver ). Pls. try not to mix your webservers on your server ( apache + nginx ) for your hosted domains with the Plesk Control Panel webserver. :)
 
thanks for reply my issue is resolved by its own i do nothing

this is error log
2017/10/02 14:42:41 [error] 25512#0: *7 open() "/usr/local/psa/admin/htdocs/currentsetting.htm" failed (2: No such file or directory), client: 27.19.182.17, server: , request: "GET /currentsetting.htm HTTP/1.1", host: "213.136.89.33:8443"
2017/10/05 20:37:16 [error] 25512#0: *264 open() "/usr/local/psa/admin/htdocs/a2billing/common/javascript/misc.js" failed (2: No such file or directory), client: 80.211.252.156, server: , request: "GET /a2billing/common/javascript/misc.js HTTP/1.1", host: "213.136.89.33:8443"
 
Back
Top