您好,登錄后才能下訂單哦!
修改此處 /etc/httpd/conf/httpd.conf
#DocumentRoot "/var/www/html"
DocumentRoot "/usr/share/zabbix"
可以直接訪問zabbix了 IP
不用IP/zabbix了
如果zabbix3.4不能瀏覽
報錯:
[Mon Nov 20 16:32:26.449942 2017] [:error] [pid 4979] [client 172.23.10.155:53980] PHP Warning: require_once(/etc/zabbix/web/maintenance.inc.php): failed to open stream: Permission denied in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.449996 2017] [:error] [pid 4979] [client 172.23.10.155:53980] PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.788031 2017] [:error] [pid 4982] [client 172.23.10.155:53981] PHP Warning: require_once(/etc/zabbix/web/maintenance.inc.php): failed to open stream: Permission denied in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
[Mon Nov 20 16:32:26.788089 2017] [:error] [pid 4982] [client 172.23.10.155:53981] PHP Fatal error: require_once(): Failed opening required '/etc/zabbix/web/maintenance.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/zabbix/include/classes/core/ZBase.php on line 271
chown -R apache.apache /etc/zabbix/web/
chown -R apache.apache /usr/share/zabbix/include/classes/core
重啟httpd
和zabbix-server
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。