Cara Atasi Error 503 – Service Unavailable pada Centos Web Panel (CWP)

Pada Oktober 2019, tiba-tiba seluruh web yang saya handle menggunakan Centos Web Panel (CWP) error: Error 503 Service Unavailable.
Tampilan di web seperti ini:

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

 

Pesan error di log kurang lebih seperti ini:

AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm56/usr/var/sockets/ojs.sock (*) failed

[Tue Oct 08 00:44:09.203937 2019] [proxy_fcgi:error] [pid 14501:tid 140327369266944] [client 116.206.35.8:30915] AH01079: failed to make connection to backend: httpd-UDS

Saya telusuri di forum-forum CWP, ini jadi masalah global. Berdampak hampir di seluruh pengguna CWP di seantero dunia.

Usut punya usut ternyata masalahnya di PHP-FPM. Solusinya sangat simple:

ls -l /opt/alt

semua php fpm kita chmod x biar dapat dieksekusi

 

chmod +x /opt/alt/php-fpm56 -R
service php-fpm56 restart

chmod +x /opt/alt/php-fpm73 -R
service php-fpm73 restart

contoh diatas kami buat saat baru menginstall php-fpm versi 56 & php 73

  • CentosWeb Panel, Web hosting Murah
  • 0 Users Found This Useful
Was this answer helpful?