集群中 启动rabbitmq 节点 报错


Error: unable to perform an operation on node 'rabbit@LI-2-PC'. Please see diagn
ostics information and suggestions below.

Most common reasons for this are:

* Target node is unreachable (e.g. due to hostname resolution, TCP connection o
r firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang
cookie not matching that of the server)
* Target node is not running

In addition to the diagnostics info below:

* See the CLI, clustering and networking guides on http://rabbitmq.com/document
ation.html to learn more
* Consult server logs on node rabbit@LI-2-PC

DIAGNOSTICS
===========

attempted to contact: ['rabbit@LI-2-PC']

rabbit@LI-2-PC:
  * connected to epmd (port 4369) on LI-2-PC
  * epmd reports: node 'rabbit' not running at all
                  no other nodes on LI-2-PC
  * suggestion: start the node

Current node details:
* node name: 'rabbitmqcli-4568-rabbit@LI-2-PC'
* effective user's home directory: C:\Users\LI-2
* Erlang cookie hash: 9jR+pqFjpiNhbDm6cSvmFA==

    配置了集群节点后,因为电脑异常关机后,再次打开后,不能自动添加到集群中,而且,使用rabbitmqctl cluster_status 命令会报上述错误

命令在stop_app下,不能使用

会提示先start_app ,然后使用stop_app后报错,error

而且使用rabbitmq-service start 、rabbitmq-service stop、正常

 

解决:

    将集群中的另一个节点关闭,reset后,启动成功。

不知道其中原因,困扰了好久不知怎样解决,先发出来

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值