rabbit安装之后无法创建账户节点操作错误
1.错误代码
C:\Work\RubbitMQ\rabbitmq_server-3.7.5\sbin>rabbitmqctl.bat list_users
Error: unable to perform an operation on node '[email protected]'. 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 http://rabbitmq.com/documentation.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 DESKTOP-M39P0B3
* epmd reports: node 'rabbit' not running at all
no other nodes on DESKTOP-M39P0B3
* suggestion: start the node
Current node details:
* node name: '[email protected]'
* effective user's home directory: C:\Users\hanzh
* Erlang cookie hash: l+SSu57+cRyAQ03AJdwAbQ==
2.原因
因为需要进行消息转发所以需要服务器权限
3.解决办法
找到服务界面---》分配Rabbitmq当前电脑登陆的账户,一路确定再次启动设置RabbitMQ