Error contacting service. It is probably not running.

正常启动:

状态无法查看

查看配置路径zoo.cfg

Error contacting service. It is probably not running._第1张图片

找到此路径的配置

rm -rf 文件:除myid

无法停止则 kill -9 结束进程

再次启动

zkServer.sh start

这个是我的地址

Using config: /opt/module/zookeeper-3.4.10/bin/../conf/zoo.cfg
Usage: /opt/module/zookeeper-3.4.10/bin/zkServer.sh {start|start-foreground|stop|restart|status|upgrade|print-cmd}

指令:

Error contacting service. It is probably not running._第2张图片

stat path

机制:高可用(HA)

Error contacting service. It is probably not running._第3张图片

老铁加油:我在工地等你!

你可能感兴趣的:(zookeeper)