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

attempted to contact: ['rabbit@SHOPEX-SH-A0667']

rabbit@SHOPEX-SH-A0667:
  * connected to epmd (port 4369) onSHOPEX-SH-A0667
  * epmd reports node 'rabbit' running on port25672
  * TCP connection succeeded but Erlangdistribution failed

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


current node details:
- node name: 'rabbitmq-cli-29@SHOPEX-SH-A0667'
- home dir: C:\Users\pangxianpeng
- cookie hash: GqqcRVa4X0hiAIlhRYUDkA==


后来网上查了很多  也没有可以解决自己问题的 最后在RabbitMQ官网(http://www.rabbitmq.com/install-windows-manual.html)看到这个
Synchronise Erlang Cookies (when running a manually installedWindows Service)

Erlang Security Cookies used by the service account and the userrunning rabbitmqctl.bat must besynchronised for rabbitmqctl.bat tofunction.

To ensure Erlang cookie files contain the same string, copy the.erlang.cookie file from the Windowsdirectory (normallyC:\WINDOWS\.erlang.cookie) to replace the user.erlang.cookie. The user cookie will bein the user's home directory (%HOMEDRIVE%%HOMEPATH%),e.g.C:\Documents and Settings\%USERNAME%\.erlang.cookie or C:\Users\%USERNAME%\.erlang.cookie (Windows Vista andlater).



然后 我将C:\WINDOWS\.erlang.cookie 覆盖掉C:\Documents and Settings\pangxianpeng\.erlang.cookie
然后执行rabbitmqctl status  可以了...
Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐