集群中 启动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 tools 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 users home directory: C:UsersLI-2
* Erlang cookie hash: 9jR+pqFjpiNhbDm6cSvmFA==

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

命令在stop_app下,不能使用

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

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

解决:

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

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

经验分享 程序员 微信小程序 职场和发展