After configuring the zabbix server, it is found that the value of "zabbix server is running" is "no",
Use: netstat -atnlp|grep 10051
It was found that port 10051 of zabbix_server did not appear. I searched for many methods on the Internet and found that none of them worked.
You can see the following error message by viewing the log:
tail /tmp/zabbix_server.log
Solution:
Log in to mysql with root account
Then execute:
mysql> grant all on zabbix.* to ‘zabbix‘@‘localhost’ identified by ‘zabbix’ with grant option;
mysql>flush privileges;
Check the zabbix management page again and found that it has returned to normal. The Value of "zabbix server is running" is "yes".
Checking the contents of /tmp/zabbix_server.log also returns to normal.
Implementation: netstat -atnlp | grep 10051
Found that the port number finally appeared!
[Z3001] connection to database'zabbix' failed: [1045] Access denied for user'zabbix'@'localhost' (using password: YES)
After configuring the zabbix server, it is found that the value of "zabbix server is running" is "no",
Use: netstat -atnlp|grep 10051
It was found that port 10051 of zabbix_server did not appear. I searched for many methods on the Internet and found that none of them worked.
You can see the following error message by viewing the log:
tail /tmp/zabbix_server.log
Solution:
Log in to mysql with root account
Then execute:
mysql> grant all on zabbix.* to ‘zabbix‘@‘localhost’ identified by ‘zabbix’ with grant option;
mysql>flush privileges;
Check the zabbix management page again and found that it has returned to normal. The Value of "zabbix server is running" is "yes".
Checking the contents of /tmp/zabbix_server.log also returns to normal.
Implementation: netstat -atnlp | grep 10051
Found that the port number finally appeared!
[Z3001] connection to database'zabbix' failed: [1045] Access denied for user'zabbix'@'localhost' (using password: YES)