当前位置:   article > 正文

Zookeeper 启动报错[main-SendThread(zkserver:2181)] WARN [org.apache.zookeeper.ClientCnxn] - Session 0x0_main-sendthread(config.zk.cluster.observer1.envoy2

main-sendthread(config.zk.cluster.observer1.envoy2.zw.internal:2181)

报错信息:

2018-05-11 15:10:59,097 [main-SendThread()] INFO  [org.apache.zookeeper.ClientCnxn] - Opening socket connection to server zkserver/127.0.0.1:2181
2018-05-11 15:11:00,125 [main-SendThread(zkserver:2181)] WARN  [org.apache.zookeeper.ClientCnxn] - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)

at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)


注意节点Opening ...  在启动xxx 服务,服务为null,项目启动报错,大部分原因是该服务没有正常启动,如上则是zookeeper 没有正常启动

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

闽ICP备14008679号