赞
踩
ZooKeeper JMX enabled by default
Using config: /usr/local/zookeeper-cluster/zookeeper-1/bin/../conf/zoo.cfg
Starting zookeeper ... already running as process 15400.
netstat -anp | grep 端口号
# 如果集群没有启动,那么该端口不应该被占用
netstat -apn | grep 2181 #默认2181端口为服务端提供端口,如果你的修改了,按你的实际情况为准
# 查询出来占用2181端口的进程PID后杀掉即可
kill -9 pid #pid为占用端口的进程id号
ZooKeeper JMX enabled by default
Using config: /usr/local/zookeeper-cluster/zookeeper-1/bin/../conf/zoo.cfg
Client port found: 2181. Client address: localhost. Client SSL: false.
Error contacting service. It is probably not running.
出现这个报错信息,需要去找zookeeper的日志log,去进一步分析问题原因
在Linux系统上操作,其他报错也一样,需要找对应工具(redis,rabbitmq等)的报错日志
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。