zabbix日誌報錯解決

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

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 secondssql

上面緣由是zabbix的配置文件裏面鏈接mysql數據庫的密碼寫錯了,改正重啓zabxix_server便可數據庫

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

DBPassword=zabbix@123io

相關文章
相關標籤/搜索