Author Topic: 502 Bad Gateway  (Read 1107 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Re: 502 Bad Gateway
« Reply #15 on: August 07, 2018, 07:37:07 AM »
[root@host ~]# /sbin/service cwpsrv status
cwpsrv (pid  29955) is running...
[root@host ~]#
[root@host ~]# /sbin/service cwp-phpfpm status
cwp-phpfpm (pid  30138) is running...

Now it seems ok....

Offline
*
Re: 502 Bad Gateway
« Reply #16 on: August 11, 2018, 12:30:50 PM »
my server is centos release 6.10 final 32 bit

admin panel not work and apache logs

2018/08/11 14:45:36 [crit] 1843#0: *2029 connect() to unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock failed (2: No such file or directory) while connecting to upstream, client: 85.96.203.95, server: localhost, request: "GET / HTTP/1.$
2018/08/11 14:45:36 [error] 1843#0: *2029 open() "/usr/local/cwpsrv/htdocs/admin/favicon.ico" failed (2: No such file or directory), client: 85.96.203.95, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "ziyasuzen.com:203$




and services status



[root@svr1 scripts]# service cwpsrv status
service cwp-phpfpm statuscwpsrv (pid  14706) is running...
[root@svr1 scripts]# service cwp-phpfpm status
cwp-phpfpm: unrecognized service

[root@svr1 scripts]# service php-fpm start
php-fpm: unrecognized service




what happen?


i want to update my php versiyon php7


now my admin panel not open please help

Offline
****
Re: 502 Bad Gateway
« Reply #17 on: August 12, 2018, 12:34:58 PM »
The below command will fix issue for you

Code: [Select]
yum install cwp-phpfpm -y
sh /scripts/cwpsrv_rebuild_user_conf