Fault One:
2637:20151009:050431.719 [Z3001] connection to database ' Zabbix ' failed: [1045] Access denied for user ' Zabbix ' @ ' loc Alhost ' (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
php_value memory_limit 128M
php_value post_max_size 16M
php_value upload_max_filesize 2M
Php_value Max_input_time
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 Scontex T=system_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 Scontex T=system_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 Scontex T=system_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:
650) this.width=650; "Style=" border-bottom:0px;text-align:left;border-left:0px;text-transform:none; Background-color:rgb (255,255,255); text-indent:0px;letter-spacing:normal;font:16px/26px ' song Body ', Arial;white-space: Normal;color:rgb (102,102,102); border-top:0px;border-right:0px;word-spacing:0px; "Src=" http://blog.chinaunix.net /attachment/201510/10/21142030_1444450906zix9.png "width=" 624 "height=" 285 "/>
use username admin, password Zabbix login, the first letter of the user name should be capitalized.
This article is from the "ZPP" blog, make sure to keep this source http://1439337369.blog.51cto.com/10270624/1731064
Zabbix Installation Error