RabbitMQ启用web控制台报错信息1. 启用Web客户端添加用户报错

C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.4\sbin>rabbitmqctl add_user
 admin admin
Error: unable to perform an operation on node '[email protected]'. Please see diagno
stics 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 [email protected]

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

attempted to contact: ['[email protected]']

[email protected]:
  * connected to epmd (port 4369) on Xcm-PC
  * epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traff
ic
  * TCP connection succeeded but Erlang distribution failed

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

Current node details:
 * node name: '[email protected]'
 * effective user's home directory: C:\Users\Xcm
 * Erlang cookie hash: RmzKErjVZUcsMU8wSgBGbA==


根据提示显示应该是Cookie出现问题。

1. 解决方式:修改Cookie信息,搜索.erlang.cookie文件,保证两个Cookie文件一致。


两个文件不一致,将两个文件内容保持一致。重新操作,OK.




相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2021-10-02
  • 2022-12-23
  • 2021-06-20
  • 2021-04-08
  • 2021-07-16
猜你喜欢
  • 2021-04-12
  • 2022-12-23
  • 2022-01-21
  • 2021-07-10
  • 2021-11-08
  • 2021-05-15
  • 2021-06-15
相关资源
相似解决方案