转自:http://www.cnblogs.com/xiaohua92/p/5460515.html#undefined 安装zookeeper时候,可以查看进程启动,但是状态显示报错:Error contacting service. It is probably not running 安装zookeeper-3.3.2的时候,启动正常没报错,但zkServer.sh status查看状态的时候却出现错误,如下: JMX enabled by defaultUsing config: /ha…
安装zookeeper-3.3.2的时候,启动正常没报错,但zkServer.sh status查看状态的时候却出现错误,如下: JMX enabled by defaultUsing config: /hadoop/zookeeper/bin/../conf/zoo.cfgError contacting service. It is probably not running. jps查看进程,却发现进程已启动 7313 QuorumPeerMain 在网上查阅资料一共有三种解决方法: 1,…
安装ZooKeeper时,无论是修改zoo.cfg:还是myid,都检查了几遍都没有错误.但是开启Zookeeper服务时出现: Error contacting service. It is probably not running. 后来查看日志发现,是我的hosts文件,之前手误出错了,变成了27.0.0.1 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4…
zookeeper集群 启动 1.问题现象. 启动每一个都提示 STARTED 但是查看 status时全部节点都报错 [root@ip-172-31-19-246 bin]# sh zkServer.sh start ZooKeeper JMX enabled by default Using config: /usr/local/zookeeper-3.4.8/bin/../conf/zoo.cfg Starting zookeeper ... STARTED [root@ip-17…
Error contacting service. It is probably not running. 今天启动zookeeper集群时,正常启动,但是查看状态时发现,Error contacting service. It is probably not running.,经过一上午的不懈努力,各种倒腾 终于解决,感谢天,感谢地,感谢...........,好了进入正题. 第一种解决方案: 第一步: 先检查你的防火墙状态,一点要是关闭状态! #停止防火墙 [root@localhost ~…
问题描述 我有三台虚拟机master.slave1.slave2.每台虚拟机启动zkServer.sh时都没有报错,然后紧接着查看zkServer.sh的状态,这时候出现了错误:Error contacting service. It is probably not running. 寻找原因 造成上述报错的原因不止一种,我们需要查看具体问题: 找到zookeeper.out文件,zookeeper.out文件的位置在你所启动zkServer.sh时所在的目录下. cat zookeeper.o…