Zabbix服务器无法启动

发布于 2025-02-03 02:00:38 字数 1311 浏览 2 评论 0原文

 17460:20220531:100735.556 using configuration file: /etc/zabbix/zabbix_server.conf
 17460:20220531:100735.559 [Z3001] connection to database 'zabbix' failed: [1698] Access denied for user 'zabbix'@'localhost'
 17460:20220531:100735.559 Cannot connect to the database. Exiting...
 17479:20220531:100747.806 Starting Zabbix Server. Zabbix 5.0.24 (revision 313ff6504e3).
 17479:20220531:100747.806 ****** Enabled features ******
 17479:20220531:100747.806 SNMP monitoring:           YES
 17479:20220531:100747.806 IPMI monitoring:           YES
 17479:20220531:100747.806 Web monitoring:            YES
 17479:20220531:100747.806 VMware monitoring:         YES
 17479:20220531:100747.806 SMTP authentication:       YES
 17479:20220531:100747.806 ODBC:                      YES
 17479:20220531:100747.806 SSH support:               YES
 17479:20220531:100747.806 IPv6 support:              YES
 17479:20220531:100747.806 TLS support:               YES
 17479:20220531:100747.806 ******************************
 17479:20220531:100747.806 using configuration file: /etc/zabbix/zabbix_server.conf
 17479:20220531:100747.808 [Z3001] connection to database 'zabbix' failed: [1698] Access denied for user 'zabbix'@'localhost'
 17479:20220531:100747.808 Cannot connect to the database. Exiting...
 17460:20220531:100735.556 using configuration file: /etc/zabbix/zabbix_server.conf
 17460:20220531:100735.559 [Z3001] connection to database 'zabbix' failed: [1698] Access denied for user 'zabbix'@'localhost'
 17460:20220531:100735.559 Cannot connect to the database. Exiting...
 17479:20220531:100747.806 Starting Zabbix Server. Zabbix 5.0.24 (revision 313ff6504e3).
 17479:20220531:100747.806 ****** Enabled features ******
 17479:20220531:100747.806 SNMP monitoring:           YES
 17479:20220531:100747.806 IPMI monitoring:           YES
 17479:20220531:100747.806 Web monitoring:            YES
 17479:20220531:100747.806 VMware monitoring:         YES
 17479:20220531:100747.806 SMTP authentication:       YES
 17479:20220531:100747.806 ODBC:                      YES
 17479:20220531:100747.806 SSH support:               YES
 17479:20220531:100747.806 IPv6 support:              YES
 17479:20220531:100747.806 TLS support:               YES
 17479:20220531:100747.806 ******************************
 17479:20220531:100747.806 using configuration file: /etc/zabbix/zabbix_server.conf
 17479:20220531:100747.808 [Z3001] connection to database 'zabbix' failed: [1698] Access denied for user 'zabbix'@'localhost'
 17479:20220531:100747.808 Cannot connect to the database. Exiting...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自此以后,行同陌路 2025-02-10 02:00:38

您没有Zabbix用户的权限到数据库,请转到数据库,然后执行此操作:

GRANT ALL PRIVILEGES ON nameofdatabase.* TO 'zabbix'@'localhost' IDENTIFIED BY'passowrd';

然后:

FLUSH PRIVILEGES;

You have not permissions on zabbix user to database, please go to database and do this:

GRANT ALL PRIVILEGES ON nameofdatabase.* TO 'zabbix'@'localhost' IDENTIFIED BY'passowrd';

and then:

FLUSH PRIVILEGES;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文