Linux安装zooKeeper启动时正常但查看状态时报错解决方案
Linux安装zooKeeper启动时正常但查看状态时报错解决方案
- 当我们安装好zooKeeper,启动后通过 ./zkServer.sh status查看状态时会爆Error contacting service. It is probably not running.错误如下图:

解决办法:
- 查看系统防火墙状态:
firewall-cmd --state - 关闭防火墙:
service firewalld stop

Linux安装zooKeeper启动时正常但查看状态时报错解决方案

解决办法:
firewall-cmd --stateservice firewalld stop