Deploying the Zabbix service today always prompts Zabbix server is not running
Use the command to view the port and not start.
# Netstat-an |grep 10051
Later on the Internet someone mentioned whether MySQL was not connected successfully. Suddenly think of the MySQL database to grant account rights when the limit can only 127.0.0.1 login this account.
#mysql-u root-p #输入密码 into MySQL console
#grant all on Zabbix . * to ' Zabbixuser ' @ ' 127.0.0.1 ' identified by ' Zabbixpass ' with Grant; Option #允许账户zabbix能从本机连接到数据库zabbix
Zabbix is the name of your Zabbix table.
Zabbix is your MySQL user name
127.0.0.1 is your limit to this IP login this account, written as localhost also and 127.0.0.1 also, indicating only native access, if written as% means that any IP can be connected.
#grant all on Zabbix . * to ' Zabbixuser ' @ ' % ' identified by ' Zabbixpass ' with Grant;
My changes are like this.
# flush privileges; Refresh the system authorization form again
# exit #退出
This article is from the "Enlightened Grocery store" blog, please be sure to keep this source http://wutou.blog.51cto.com/615096/1737861
Zabbix server is not running port does not open 10051