Control Web Panel

WebPanel => Information => Topic started by: tshetumd on November 30, 2017, 05:37:25 AM

Title: not able to open the admin panel
Post by: tshetumd on November 30, 2017, 05:37:25 AM
HI,

Please help us to solve following issue:
While we are opening the admin panel its saying "502 Bad Gateway

cwpsrv"

And while checking the logs file ( /usr/local/cwpsrv/logs/error_log) its giving following error . Please help.
connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (111: Connection refused) while connecting to upstream, client: 202.144.156.244, server: localhost, request: "GET /admin/loader.php?func=get_top_short&_=1512017521704 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "hostname:2031", referrer: "https://hostname:2031/admin/index.php?load=update"

Thanks
Title: Re: not able to open the admin panel
Post by: softranet on November 30, 2017, 07:21:11 AM
HI,

Please help us to solve following issue:
While we are opening the admin panel its saying "502 Bad Gateway

cwpsrv"

And while checking the logs file ( /usr/local/cwpsrv/logs/error_log) its giving following error . Please help.
connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (111: Connection refused) while connecting to upstream, client: 202.144.156.244, server: localhost, request: "GET /admin/loader.php?func=get_top_short&_=1512017521704 HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "hostname:2031", referrer: "https://hostname:2031/admin/index.php?load=update"

Thanks

I am having the same issue in two servers out of three. Tried everything but no luck. Hope Centos webpanel would come to rescue
Title: Re: not able to open the admin panel
Post by: WeBuild IT on December 25, 2017, 06:19:45 PM
I have the same problem right now, is there some one who can help with this ?
http://prntscr.com/hs500z
Title: Re: not able to open the admin panel
Post by: Jae on December 25, 2017, 10:28:16 PM
Check  /usr/local/cwp/php71/var/log/php-fpm.log
post it here if still have difficulty
Title: Re: not able to open the admin panel
Post by: Jamshed Datori on February 25, 2018, 02:41:13 PM
Check  /usr/local/cwp/php71/var/log/php-fpm.log
post it here if still have difficulty


Hello, I am facing the same issue.

Here is the entry from /usr/local/cwp/php71/var/log/php-fpm.log


[25-Feb-2018 09:37:08] ERROR: [pool career] cannot get uid for user 'career'
[25-Feb-2018 09:37:08] ERROR: FPM initialization failed


Can anyone please help me regarding this?
Title: Re: not able to open the admin panel
Post by: rhythm on March 21, 2018, 11:27:33 AM
delete the file career.conf from /usr/local/cwp/php71/etc/php-fpm.d/users
then
systemctl start cwp-phpfpm
Title: Re: not able to open the admin panel
Post by: Jason on March 21, 2018, 12:07:13 PM
Have a look here:
http://forum.centos-webpanel.com/centos-webpanel-bugs/i-removed-a-user-account-and-502/msg15088/#msg15088
Title: Re: not able to open the admin panel
Post by: studio4host on March 23, 2018, 09:59:01 AM
don't remove accounts manually from the shell, you need to use cwp if you want that all configuration is cleared and that other services don't get an issue.