zabbix修改默认的/zabbix斜杠-成都快上网建站

zabbix修改默认的/zabbix斜杠

修改此处   /etc/httpd/conf/httpd.conf

创新互联是一家专注于成都做网站、网站设计与策划设计,溧水网站建设哪家好?创新互联做网站,专注于网站建设十多年,网设计领域的专业建站公司;建站业务涵盖:溧水等地区。溧水做网站价格咨询:028-86922220

#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


网站名称:zabbix修改默认的/zabbix斜杠
标题来源:http://kswjz.com/article/pjosje.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流