欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

启动zabbix-server报错“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to S

程序员文章站 2024-02-24 10:24:04
...

启动zabbix-server报错“[Z3001] connection to database ‘zabbix’ failed: [0] received invalid response to SSL negotiation: J”

所在机器:centos7

1.报错场景:

启动zabbix-server,失败,查看日志

“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to SSL negotiation: J”

启动zabbix-server报错“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to S

2.原因定位:

预期是安装zabbix-server-mysql
结果却是安装了zabbix-server-pgsql
所以就要求SSL了。
启动zabbix-server报错“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to S

3.解决方法:

3.1.安装

rpm -e zabbix-server-pgsql-2.2.19-1.el7.x86_64 --nodeps
yum install zabbix-server-mysql

3.2.再来启动:

echo > /var/log/zabbix/zabbix_server.log
service zabbix-server start && tail -f /var/log/zabbix/zabbix_server.log

启动zabbix-server报错“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to S

相关文章: 昊鼎王五:linux如何安装zabbix服务器(zabbix2.2-server) https://blog.csdn.net/haoding205/article/details/82659479

好了,聪明如你,知道了解决zabbix-server报错“[Z3001]” 的方法,是不是很欢喜 ^_^

还有其他问题的可以在评论区留言或者扫码加博主获取资源或者提问。
启动zabbix-server报错“[Z3001] connection to database 'zabbix' failed: [0] received invalid response to S