RocketMq 启动broker报错

xxxxsmile 发布于 2017/06/03 20:37
阅读 4K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

nameserver启动显示成功,但是启动broker的时候显示连接nameserver:9876失败

2017-06-03 18:47:03 INFO BrokerControllerScheduledThread1 - register broker to name server rocketmq-nameserver1:9876 OK
2017-06-03 18:47:03 WARN BrokerControllerScheduledThread1 - registerBroker Exception, rocketmq-nameserver2:9876
com.alibaba.rocketmq.remoting.exception.RemotingConnectException: connect to <rocketmq-nameserver2:9876> failed
    at com.alibaba.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:641) ~[rocketmq-remoting-3.2.6.jar:na]
    at com.alibaba.rocketmq.broker.out.BrokerOuterAPI.registerBroker(BrokerOuterAPI.java:153) ~[rocketmq-broker-3.2.6.jar:na]
    at com.alibaba.rocketmq.broker.out.BrokerOuterAPI.registerBrokerAll(BrokerOuterAPI.java:193) ~[rocketmq-broker-3.2.6.jar:na]
    at com.alibaba.rocketmq.broker.BrokerController.registerBrokerAll(BrokerController.java:591) [rocketmq-broker-3.2.6.jar:na]
    at com.alibaba.rocketmq.broker.BrokerController$7.run(BrokerController.java:561) [rocketmq-broker-3.2.6.jar:na]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
    at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

 

各位大神,请求支援

 

加载中
0
技术界小学生
技术界小学生

会不会是防火墙的问题

0
蚂蚁先生
蚂蚁先生

同样的问题哥们你解决了吗,方便加个微信聊一聊吗 13681667116

0
芋道源码
芋道源码

看异常是连接不上 第二个 namesrv。可能是网络不通,或者第二个namesrv 挂了。

 

----------------------------------

 

个人博客:http://www.yunai.me?oschina&22。专注分享源码解析。
0
甲丙丁
甲丙丁

清下store数据 再重新建文件夹

 

返回顶部
顶部