配置zabbix前端连接不上数据库问题解决

1. 遇到的问题汇总

1.1 Zabbix连接不上数据库

23507:20200117:114959.255 [Z3001] connection to database ‘zabbix’ failed: [2003] Can’t connect to MySQL server on ‘192.168.189.131’ (13)
23507:20200117:114959.255 database is down: reconnecting in 10 seconds
原因:SELINUX未关闭,setenforce 0,然后重新启动zabbix-service
[root@test-two zabbix]# setenforce 0
[root@test-two zabbix]# getenforce
Permissive
[root@test-two zabbix]# service zabbix-server restart

你可能感兴趣的:(zabbix)