RabbitMQ 错误解决

网友投稿 1411 2022-09-12

RabbitMQ 错误解决

RabbitMQ 错误解决

1.安装好mq后,查看状态,错误

S D:\RabbitMQ Server\rabbitmq_server-3.7.0\sbin> .\rabbitmqctl status

Status of node rabbit@DESKTOP-ECFDCQB ...

Error: unable to perform an operation on node 'rabbit@DESKTOP-ECFDCQB'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

* Target node is unreachable (e.g. due to hostname resolution, TCP connection or 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 to learn more

* Consult server logs on node rabbit@DESKTOP-ECFDCQB

DIAGNOSTICS

===========

attempted to contact: ['rabbit@DESKTOP-ECFDCQB']

rabbit@DESKTOP-ECFDCQB:

* connected to epmd (port 4369) on DESKTOP-ECFDCQB

* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic

* TCP connection succeeded but Erlang distribution failed

* Authentication failed (rejected by the remote node), please check the Erlang cookie

Current node details:

* node name: 'rabbitmqcli80@DESKTOP-ECFDCQB'

* effective user's home directory: C:\Users\tracyclock

* Erlang cookie hash: Gue+A5xaV3AGwaGPZAEp3A==

解决方法:将C:\Users\tracyclock\.erlang.cookie 文件拷贝到C:\Windows\System32\config\systemprofile替换掉.erlang.cookie文件

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:是什么导致重复的账户锁定
下一篇:window安装es
相关文章

 发表评论

暂时没有评论,来抢沙发吧~