Author Topic: 503 error  (Read 8643 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
503 error
« on: October 09, 2019, 09:11:33 AM »
hello, i get 503 error on all my websites on server
cwp panel ok =>
Apache Webserver, FTP Server, MySQL Database Server, PostgreSQL Database Server ,BIND DNS Server ,SSH Server  => Active

PHP version: 7.2.23 PHP-FPM is forced    -- CentOS release 6.10
Apache version: Apache/2.4.34  --- Web Servers: apache-only

apache log error for a user=
[proxy:error] [pid 26903:tid 139971251853056] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm72/usr/var/sockets/farhang.sock (*) failed
[proxy_fcgi:error] [pid 26903:tid 139971251853056] [client 46.229.168.136:47204] AH01079: failed to make connection to backend: httpd-UDS

when reload PHP-FPM 7.2  in PHP-FPM Selector  get this noice =>  Reload service php-fpm warning, no pid file found - php-fpm is not running ?

any suggestions?? please help

Offline
*
Re: 503 error
« Reply #1 on: October 10, 2019, 03:29:01 PM »
It seems that because of using the php-fpm selctor
And because it's not for free, then the php is disabled and locked for users!!!

But What can I do now to disable the php-fpm and be able to use cwp???

At the moment our sites are giving error 503

Offline
*****
Re: 503 error
« Reply #2 on: October 11, 2019, 10:50:50 AM »
you need to uncheck force php-fpm and use php-cgi

Offline
*
Re: 503 error
« Reply #3 on: October 12, 2019, 04:05:02 AM »
Can you share steps by steps how to do that? I tried but didn't get it to work.