I have installed Zabbix on Ubuntu but getting error Server can't run. Please help me fix this
Ad Widget
Collapse
Zabbix 6.2 server is not running
Collapse
X
-
Last login: Thu Dec 15 08:47:28 2022 from 172.16.128.101
huythai@huythai:~$ sudo tail -f /var/log/zabbix/zabbix_server.log
[sudo] password for huythai:
16978:20221216:005015.524 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005015.524 database is down: reconnecting in 10 seconds
16978:20221216:005025.525 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005025.525 database is down: reconnecting in 10 seconds
16978:20221216:005035.525 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005035.525 database is down: reconnecting in 10 seconds
16978:20221216:005045.526 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005045.526 database is down: reconnecting in 10 seconds
16978:20221216:005055.527 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005055.527 database is down: reconnecting in 10 seconds
16978:20221216:005105.528 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005105.528 database is down: reconnecting in 10 seconds
16978:20221216:005115.528 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005115.528 database is down: reconnecting in 10 seconds
16978:20221216:005125.529 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005125.529 database is down: reconnecting in 10 seconds
Comment
-
Zabbix Server is not able to reach the database. Make sure the database services is running and make sure you have configured the database name, username and password in zabbix_server config file.huythai@huythai:~$ sudo tail -f /var/log/zabbix/zabbix_server.log
[sudo] password for huythai:
16978:20221216:005015.524 [Z3001] connection to database 'zabbix' failed: [1045 ] Access denied for user 'zabbix'@'localhost' (using password: NO)
16978:20221216:005015.524 database is down: reconnecting in 10 seconds
If you have mariadb, you can run it (and enable it to run on every server boot) usingThe default path for zabbix_server config isCode:systemctl enable --now mariadb
In general, make sure that you did not miss any step in the installation instructions.Code:/etc/zabbix/zabbix_server.conf
Comment
Comment