故障一:
2637:20151009:050431.719 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: YES)
2637:20151009:050431.719 database is down: reconnecting in 10 seconds
权限问题,执行下面的SQL语句.
MariaDB [(none)]> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
Query OK, 0 rows affected (0.00 sec)
故障二:
PHP time zone unknown Fail
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
php_value max_input_time 300
php_value date.timezone Asia/Shanghai #修改成正确的时区.
[iyunv@localhost zabbix]# service httpd restart故障三:
zabbix server is not running the information displayed may not be current
selinux 问题
[iyunv@zabbix create]# getenforce
Enforcing
[iyunv@zabbix create]# setenforce 0
[iyunv@zabbix create]# getenforce
Permissive
或者
[iyunv@zabbix create]# vim /etc/selinux/config