問題狀況:php
zabbix部署完成後,前端初始化時候頁面空白。查看web error日誌時錯誤以下:html
FastCGI sent in stderr: "PHP message: PHP Warning: require_once(/etc/zabbix/web/maintenance.inc.php): failed to open stream: Permission denied in /app/nginx/html/zabbix/include/classes/core/ZBase.php on line 292
PHP message: PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php' (include_path='.:/app/php/lib/php') in /app/nginx/html/zabbix/include/classes/core/ZBase.php on line 292" while reading response header from upstream, client: 192.168.0.10, server: localhost, request: "GET /zabbix/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.0.1"
解決方法: 前端
chmod -R 755 /etc/zabbix/web