标签:zabbix问题
问题一:
zabbix web站点安装时无法跳转到下一步或者点击下一步没有反应(源码安装)
lamp平台 执行命令 chwon -R apache:apache /var/lib/php/session
lnmp平台 执行命令 chwon -R nginx:anginx /var/lib/php/session
问题二:
Details
· Unable to create the configurationfile.
无法创建配置文件
[root@localhost conf]# pwd
/var/www/html/zabbix/conf
[root@localhost conf]# ls
maintenance.inc.php zabbix.conf.php zabbix.conf.php.example
[root@localhost conf]# cp zabbix.conf.php.example zabbix.conf.php
[root@localhost conf]# more zabbix.conf.php
<?php
// Zabbix GUI configuration file.
global $DB;
$DB[‘TYPE‘] = ‘MYSQL‘;
$DB[‘SERVER‘] = ‘localhost‘;
$DB[‘PORT‘] = ‘0‘;
$DB[‘DATABASE‘] = ‘zabbix‘;
$DB[‘USER‘] = ‘zabbix‘;
$DB[‘PASSWORD‘] = ‘zabbix‘;
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB[‘SCHEMA‘] = ‘‘;
$ZBX_SERVER = ‘localhost‘;
$ZBX_SERVER_PORT = ‘10051‘;
$ZBX_SERVER_NAME = ‘‘;
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
[root@localhost conf]#
编辑完这个文档后,记得授权将这个目录授权给apache
[root@localhost conf]# ll
总用量 12
-rw-r--r-- 1 apache apache 1036 9月 25 18:54 maintenance.inc.php
-rw-r--r-- 1 apache apache 415 9月 25 20:30 zabbix.conf.php
-rw-r--r-- 1 apache apache 426 9月 25 20:09 zabbix.conf.php.example
标签:zabbix问题
原文地址:http://vickyzhang.blog.51cto.com/5930715/1968929