zabbix setup ERROR:4993:20141229:183010.680 [Z3001] connection to database 'zabbix' failed:

错误提示:

4689:20141229:182600.308 Cannot connect to the database. Exiting...
  4993:20141229:182600.599 Starting Zabbix Server. Zabbix 2.2.1 (revision 40808).
  4993:20141229:182600.599 ****** Enabled features ******
  4993:20141229:182600.599 SNMP monitoring:           YES
  4993:20141229:182600.599 IPMI monitoring:           YES
  4993:20141229:182600.599 WEB monitoring:            YES
  4993:20141229:182600.599 VMware monitoring:         YES
  4993:20141229:182600.599 Jabber notifications:      YES
  4993:20141229:182600.599 Ez Texting notifications:  YES
  4993:20141229:182600.599 ODBC:                      YES
  4993:20141229:182600.599 SSH2 support:              YES
  4993:20141229:182600.599 IPv6 support:              YES
  4993:20141229:182600.599 ******************************
  4993:20141229:182600.599 using configuration file: /etc/zabbix_server.conf
  4993:20141229:182600.602 [Z3001] connection to database ‘zabbix‘ failed: [0] could not connect t
Is the server running on host "localhost" and accepting
TCP/IP connections on port 3306?
received invalid response to SSL negotiation: 4



解决方法:


[root@centos-server ~]# yum remove zabbix22-dbfiles-pgsql.noarch 

[root@centos-server ~]# yum install zabbix22-dbfiles-mysql.noarch

[root@centos-server ~]# service zabbix-server restart

技术分享


本文出自 “龙爱雪琪” 博客,请务必保留此出处http://dragon123.blog.51cto.com/9152073/1602289

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。