错误提示:
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
解决方法:
[[email protected] ~]# yum remove zabbix22-dbfiles-pgsql.noarch
[[email protected] ~]# yum install zabbix22-dbfiles-mysql.noarch
[[email protected] ~]# service zabbix-server restart
[[email protected] ~]# getsebool -a|grep zabbix
zabbix_can_network --> off
[[email protected] ~]# setsebool zabbix_can_network on
转载于:https://blog.51cto.com/dragon123/1602289