Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: Jae on December 20, 2017, 03:10:55 PM

Title: 502 Bad Gateway - Admin panel
Post by: Jae on December 20, 2017, 03:10:55 PM
With latest cwp7, This can happen after suspend user

Cause : cwp-phpfpm failed to start
Temporary solution delete file /usr/local/cwp/php71/etc/php-fpm.d/users/suspendenuser.conf

systemctl start cwp-phpfpm

will bring your wonderfull cwp running again..
Title: Re: 502 Bad Gateway - Admin panel
Post by: Jason on March 04, 2018, 02:58:30 AM
You rock thanks man!!  8)

With latest cwp7, This can happen after suspend user

Cause : cwp-phpfpm failed to start
Temporary solution delete file /usr/local/cwp/php71/etc/php-fpm.d/users/suspendenuser.conf

systemctl start cwp-phpfpm

will bring your wonderfull cwp running again..
Title: Re: 502 Bad Gateway - Admin panel
Post by: vanquang872003 on April 18, 2018, 08:12:40 AM
I did not find the suspendenuser.conf file
Title: Re: 502 Bad Gateway - Admin panel
Post by: studio4host on April 23, 2018, 11:52:12 AM
in most cases, this will help
Code: [Select]
sh /scripts/restart_cwpsrv
don't delete any files if you are not sure what is the error you get on your server.
As mentioned multiple times you have the error log location on the cwp wiki.
Title: Re: 502 Bad Gateway - Admin panel
Post by: tinchocba on July 21, 2018, 01:08:19 PM
in most cases, this will help
Code: [Select]
sh /scripts/restart_cwpsrv
don't delete any files if you are not sure what is the error you get on your server.
As mentioned multiple times you have the error log location on the cwp wiki.

This worked for me! Thanks.
Title: Re: 502 Bad Gateway - Admin panel
Post by: Loz702 on January 29, 2019, 06:25:48 AM
With latest cwp7, This can happen after suspend user

Cause : cwp-phpfpm failed to start
Temporary solution delete file /usr/local/cwp/php71/etc/php-fpm.d/users/suspendenuser.conf

systemctl start cwp-phpfpm

will bring your wonderfull cwp running again..

How does one access that when one cant load the IP address of the server (other domains load though, just not CWP), and FTP will not let me login either.

thx