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
Usut punya usut ternyata masalahnya di PHP-FPM. Solusinya sangat simple:
1 2 |
ls -l /opt/alt |
akam muncul berikut
1 2 3 4 5 6 7 |
drwxr-xr-x 3 root root 4096 Aug 30 12:10 php-fpm53 drwxr-xr-x 3 root root 4096 Aug 30 12:17 php-fpm56 drwxr-xr-x 3 root root 4096 Aug 30 12:23 php-fpm70 drwxr-xr-x 3 root root 4096 Aug 30 12:30 php-fpm71 drwxr-xr-x 3 root root 4096 Aug 30 12:38 php-fpm72 drwxr-xr-x 3 root root 4096 Aug 30 12:46 php-fpm73 drwxr-xr-x 3 root root 4096 Aug 30 12:54 php-fpm74 |
semua php fpm kita chmod x biar dapat dieksekusi
1 2 3 |
chmod +x /opt/alt/php-fpm71 -R chmod +x /opt/alt/php-fpm72 -R chmod +x /opt/alt/php-fpm73 -R |
setelah itu restart php fpmnya
1 2 3 4 |
service php-fpm71 restart service php-fpm72 restart service php-fpm56 restart |