zookeeper集群启动失败
用了两台虚拟机搭建zookeeper集群,分别启动后用命令查看说
Error contacting service. It is probably not running.用notepad++查看zookeeper.out如下图
应该是防火墙的问题。
关闭防火墙
systemctl stop firewalld.service
查看防火墙的状态
firewall-cmd --state
禁止firewall开机启动
systemctl disable firewalld.service
执行上述命令后
成功。