hb120973135 发表于 2019-1-18 13:47:34

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

  错误提示:
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 connection to database 'zabbix' failed: 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  

  

  解决方法:
  

  # yum remove zabbix22-dbfiles-pgsql.noarch
  # yum install zabbix22-dbfiles-mysql.noarch
  # service zabbix-server restart
  # getsebool -a|grep zabbix
  zabbix_can_network --> off
  # setsebool zabbix_can_network on
http://s3.运维网.com/wyfs02/M00/58/7D/wKiom1Syk5STt7BIAAMq66FpO0k609.jpg
  




页: [1]
查看完整版本: zabbix setup ERROR:4993:20141229:183010.680 [Z3001] connection to database 'zabb