Good evening,
I am new to Zabbix and I have not so much experience with Linux, however I have tried to install the Zabbix 5.0 on my tinypc form Zotac (CI329 Barebone nano) and something went wrong. I was able to install the software on the device, on Ubuntu Server 20.04 and I am also able to log into the Zabbix's dashboard. However I cannot use it because on the home screen I can see an information, that zabbix server is running: no.
So I was searching and searching, but I didn't find a right solution for me. I have checked logs and inside of them I can see:
so I have checked also the configuration under /etc/zabbix in zabbix_server.conf and this is the thing that I do not understand, because I am providing a simple password that I use on this machine everywhere (it is just a test machine so I do not care about it) but somehow it will not work. I thought it could be also related with privileges in database, but:
zabbix is a username and the name of database.
How can I solve the problem? Can you help me please?
I am new to Zabbix and I have not so much experience with Linux, however I have tried to install the Zabbix 5.0 on my tinypc form Zotac (CI329 Barebone nano) and something went wrong. I was able to install the software on the device, on Ubuntu Server 20.04 and I am also able to log into the Zabbix's dashboard. However I cannot use it because on the home screen I can see an information, that zabbix server is running: no.
So I was searching and searching, but I didn't find a right solution for me. I have checked logs and inside of them I can see:
HTML Code:
: 1591:20201119:192323.519 Starting Zabbix Server. Zabbix 5.0.5 (revision eaa427cf19). 1591:20201119:192323.519 ****** Enabled features ****** 1591:20201119:192323.519 SNMP monitoring: YES 1591:20201119:192323.519 IPMI monitoring: YES 1591:20201119:192323.519 Web monitoring: YES 1591:20201119:192323.519 VMware monitoring: YES 1591:20201119:192323.519 SMTP authentication: YES 1591:20201119:192323.519 ODBC: YES 1591:20201119:192323.519 SSH support: YES 1591:20201119:192323.519 IPv6 support: YES 1591:20201119:192323.519 TLS support: YES 1591:20201119:192323.519 ****************************** 1591:20201119:192323.519 using configuration file: /etc/zabbix/zabbix_server.conf 1591:20201119:192323.535 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192323.535 database is down: reconnecting in 10 seconds 1591:20201119:192333.537 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192333.537 database is down: reconnecting in 10 seconds 1591:20201119:192343.538 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192343.539 database is down: reconnecting in 10 seconds 1591:20201119:192353.540 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192353.540 database is down: reconnecting in 10 seconds 1591:20201119:192403.541 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192403.542 database is down: reconnecting in 10 seconds 1591:20201119:192413.543 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192413.543 database is down: reconnecting in 10 seconds 1591:20201119:192423.545 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192423.545 database is down: reconnecting in 10 seconds 1591:20201119:192433.546 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192433.546 database is down: reconnecting in 10 seconds 1591:20201119:192443.548 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192443.548 database is down: reconnecting in 10 seconds 1591:20201119:192453.550 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192453.550 database is down: reconnecting in 10 seconds 1591:20201119:192503.551 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO) 1591:20201119:192503.551 database is down: reconnecting in 10 seconds
HTML Code:
mysql> show GRANTS FOR 'zabbix'@'localhost'; +------------------------------------------------------------+ | Grants for zabbix@localhost | +------------------------------------------------------------+ | GRANT USAGE ON *.* TO `zabbix`@`localhost` | | GRANT ALL PRIVILEGES ON `zabbix`.* TO `zabbix`@`localhost` | +------------------------------------------------------------+ 2 rows in set (0.00 sec)
How can I solve the problem? Can you help me please?
Comment