zabbix运维:[Z3001] connection to database ‘zabbix‘ failed: [1045]
·
[Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
检查/usr/local/etc/zabbix_server.conf中口令是否配置正确

配置后要关闭zabbix进程重新启动。
zabbix server报错,需要在/tmp下检查zabbix_server.log的报错内容。如果是配置错误,需要在/usr/local/etc/下修改zabbix_server.conf
zabbix agent报错,需要在/tmp下检查zabbix_agent.log的报错内容。如果是配置错误,需要在/usr/local/etc/下修改zabbix_agent.conf
对其修改后,需要重启服务
使用pkill zabbix_agent或者pkill zabbix_server关闭进程,然后使用zabbix_server或者zabbix_agent来重新启动进程。
使用ss -anptl | grep 10051 或者ss -anptl | grep 10050来检查zabbix_server或者zabbix_agent的运行情况。
更多推荐
所有评论(0)