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

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

  • 当我们安装好zooKeeper,启动后通过 ./zkServer.sh status查看状态时会爆Error contacting service. It is probably not running.错误如下图:

解决办法:

  • 查看系统防火墙状态:firewall-cmd --state
  • 关闭防火墙:service firewalld stop

posted @ 2022-04-06 21:08  码客丶  阅读(397)  评论(0)    收藏  举报