目录
报错内容
ZooKeeper JMX enabled by default
Using config: /opt/zookeeper/bin/../conf/zoo.cfg
Error contacting service. It is probably not running.
报错原因
防火墙未关
解决方案
输入关闭防火墙命令
systemctl stop firewalld
输入禁止防火墙开机自动启动命令
systemctl disable firewalld
输入查看防火墙状态命令,显示not running即为关闭成功,如下图
firewall-cmd --state