Fault Point analysis:
Fault One:
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 seconds
Permissions issue, execute the following SQL statement.
MariaDB [(None)]> grant all privileges on zabbix.* to [e-mail protected] identified by ' Zabbix ';
Query OK, 0 rows Affected (0.00 sec)
Fault two:
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 #修改成正确的时区.
[[Email protected] zabbix]# service httpd restart failure three:
Zabbix server is not running the information displayed
SELinux issues
[Email protected] create]# Getenforce
Enforcing
[Email protected] create]# Setenforce 0
[Email protected] create]# Getenforce
Permissive
Or
[Email protected] create]# Vim/etc/selinux/config
TYPE=AVC Msg=audit (1444450162.226:7610): avc:denied {name_connect} for pid=31941 comm= "httpd" dest=10051 Scontext=sy Stem_u:system_r:httpd_t:s0 Tcontext=system_u:object_r:zabbix_port_t:s0 Tclass=tcp_socket
Type=syscall Msg=audit (1444450162.226:7610): arch=c000003e syscall=42 success=no exit=-13 a0=c a1=7f95a9345270 a2=10 A3 =0 items=0 ppid=31936 pid=31941 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm= "httpd" exe= "/usr/sbin/httpd" Subj=system_u:system_r:httpd_t:s0 key= (NULL)
TYPE=AVC Msg=audit (1444450171.586:7611): avc:denied {name_connect} for pid=32146 comm= "httpd" dest=10051 Scontext=sy Stem_u:system_r:httpd_t:s0 Tcontext=system_u:object_r:zabbix_port_t:s0 Tclass=tcp_socket
Type=syscall Msg=audit (1444450171.586:7611): arch=c000003e syscall=42 success=no exit=-13 a0=b A1=7F95A934DBE0 a2=10 A3 =3 items=0 ppid=31936 pid=32146 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm= "httpd" exe= "/usr/sbin/httpd" Subj=system_u:system_r:httpd_t:s0 key= (NULL)
TYPE=AVC Msg=audit (1444450172.228:7612): avc:denied {name_connect} for pid=32146 comm= "httpd" dest=10051 Scontext=sy Stem_u:system_r:httpd_t:s0 Tcontext=system_u:object_r:zabbix_port_t:s0 Tclass=tcp_socket
Type=syscall Msg=audit (1444450172.228:7612): arch=c000003e syscall=42 success=no exit=-13 a0=c a1=7f95a9354a50 a2=10 A3 =0 items=0 ppid=31936 pid=32146 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm= "httpd" exe= "/usr/sbin/httpd" Subj=system_u:system_r:httpd_t:s0 key= (NULL)
Type=mac_status Msg=audit (1444450178.657:7613): enforcing=0 old_enforcing=1 auid=0 ses=969
Fault four:
Use username admin, password Zabbix login, the first letter of the user name should be capitalized.
Zabbix Installation Failure Point analysis