当前位置:   article > 正文

[报错解决]Starting zookeeper ... already running as process 15400.

[报错解决]Starting zookeeper ... already running as process 15400.

报错一

ZooKeeper JMX enabled by default
Using config: /usr/local/zookeeper-cluster/zookeeper-1/bin/../conf/zoo.cfg
Starting zookeeper ... already running as process 15400.

  • 1
  • 2
  • 3
  • 4

解决

netstat -anp | grep 端口号

# 如果集群没有启动,那么该端口不应该被占用
netstat -apn | grep 2181   #默认2181端口为服务端提供端口,如果你的修改了,按你的实际情况为准
# 查询出来占用2181端口的进程PID后杀掉即可
kill -9 pid                #pid为占用端口的进程id号
  • 1
  • 2
  • 3
  • 4

报错二

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.

  • 1
  • 2
  • 3
  • 4
  • 5

解决

出现这个报错信息,需要去找zookeeper的日志log,去进一步分析问题原因
在Linux系统上操作,其他报错也一样,需要找对应工具(redis,rabbitmq等)的报错日志

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/545346
推荐阅读
相关标签
  

闽ICP备14008679号