Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
原因是
systemctl status rh-php72-php-fpm
启动失败:
● rh-php72-php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/rh-php72-php-fpm.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2023-05-08 17:40:24 CST; 4min 31s ago
Main PID: 4302 (code=exited, status=78)
May 08 17:40:24 zabbix systemd[1]: Starting The PHP FastCGI Process Manager...
May 08 17:40:24 zabbix php-fpm[4302]: PHP: syntax error, unexpected END_OF_LINE, expecting '=' in Unknown on line 2
May 08 17:40:24 zabbix php-fpm[4302]: [08-May-2023 17:40:24] ERROR: Unable to include /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf from /etc/opt/rh/rh-php72/php-fpm.conf at line 1
May 08 17:40:24 zabbix php-fpm[4302]: [08-May-2023 17:40:24] ERROR: failed to load configuration file '/etc/opt/rh/rh-php72/php-fpm.conf'
May 08 17:40:24 zabbix php-fpm[4302]: [08-May-2023 17:40:24] ERROR: FPM initialization failed
May 08 17:40:24 zabbix systemd[1]: rh-php72-php-fpm.service: main process exited, code=exited, status=78/n/a
May 08 17:40:24 zabbix systemd[1]: Failed to start The PHP FastCGI Process Manager.
May 08 17:40:24 zabbix systemd[1]: Unit rh-php72-php-fpm.service entered failed state.
May 08 17:40:24 zabbix systemd[1]: rh-php72-php-fpm.service failed.
配置文件有问题,修改一下就可以了
欢迎来撩 : 汇总all