集群中 启动rabbitmq 节点 报错

2021-01-29 11:03:27 浏览数 (1)

代码语言:javascript复制
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:UsersLI-2
* Erlang cookie hash: 9jR pqFjpiNhbDm6cSvmFA==

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

命令在stop_app下,不能使用

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

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

解决:

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

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

0 人点赞