1. 程式人生 > >rabbit安裝之後無法建立賬戶節點操作錯誤

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