RocketMq 启动broker报错?报错-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

RocketMq 启动broker报错?报错

爱吃鱼的程序员 2020-06-08 14:03:16 165

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]

 

各位大神,请求支援

 

消息中间件 RocketMQ
分享到
取消 提交回答
全部回答(1)
  • 爱吃鱼的程序员
    2020-06-08 18:03:48

    会不会是防火墙的问题

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

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

     

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

     

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

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

     

    0 0
微服务
使用钉钉扫一扫加入圈子
+ 订阅

构建可靠、高效、易扩展的技术基石

推荐文章
相似问题