zabbix日志报错解决

[root@bogon ldap]# cat /tmp/zabbix_server.log

9135:20181204:085433.351 using configuration file: /usr/local/zabbix/etc/zabbix_server.conf
9135:20181204:085433.358 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: YES)
9135:20181204:085433.358 database is down: reconnecting in 10 seconds
9135:20181204:085443.360 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: YES)
9135:20181204:085443.360 database is down: reconnecting in 10 seconds
9135:20181204:085453.361 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: YES)
9135:20181204:085453.362 database is down: reconnecting in 10 seconds

上面原因是zabbix的配置文件里面连接mysql数据库的密码写错了,改正重启zabxix_server即可

[root@bogon ~]# vi /usr/local/zabbix/etc/zabbix_server.conf

DBPassword=zabbix@123

 

posted @ 2018-12-04 22:01  effortsing  阅读(3135)  评论(0编辑  收藏  举报