This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16631|Reply: 1

【Actual Combat】Error: unable to perform an operation on node 'rabbit'. Pleas...

[Copy link]
Posted on 3/29/2018 10:29:39 AM | | | |
C:\Program Files\RabbitMQ Server\rabbitmq_server-3.7.4\sbin>rabbitmqctl status
Status of node rabbit@DESKTOP-7IAJK37 ...                                                                               Error: unable to perform an operation on node 'rabbit@DESKTOP-7IAJK37'. 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 rabbit@DESKTOP-7IAJK37

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

attempted to contact: ['rabbit@DESKTOP-7IAJK37']

rabbit@DESKTOP-7IAJK37:
  * connected to epmd (port 4369) on DESKTOP-7IAJK37
  * 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: 'rabbitmqcli38@DESKTOP-7IAJK37'
* effective user's home directory: C:\Users\itsvse_pc
* Erlang cookie hash: RmzKErjVZUcsMU8wSgBGbA==



The cookie used by rabbitMQ is: C:\Users\itsvse_pc\.erlang.cookie This should be the same as the cookie section above
Cause of the problem:

My local administrator name is itsvse_pc, I log in to the server with itsvse_pc account and install rabbitmq, rabbitmq also automatically creates an .erlang.cookie file under C:\user\itsvse_pc, but when the RabbitMQ service starts, the executioner is the local system account, as shown in the figure below:



Solution:

Use the account installed on the machine to start the service, take the local machine as an example, that is, use the itsvse_pc account to start the service, as shown in the figure below:



Once the settings are complete, tap Apply and Save,Then restart the service!!!! Restart service!

Execute rabbitmqctl status again, success!






Previous:【Practice】RabbitMQ installs the web management plugin
Next:A brief introduction to Openresty and Tengine
 Landlord| Posted on 3/29/2018 10:35:54 AM |
View all queue information on the rabbitmqctl list_queues
View the service status information rabbitmqctl -q status
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com