gpt4 book ai didi

ubuntu - Zabbix 服务器启动失败

转载 作者:行者123 更新时间:2023-12-04 19:04:52 25 4
gpt4 key购买 nike

 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...

最佳答案

您没有 zabbix 用户访问数据库的权限,请转到数据库并执行以下操作:

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

关于ubuntu - Zabbix 服务器启动失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72443583/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com