E:\RabbitMQ Server\rabbitmq_server-3.6.5\sbin>rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.html
Applying plugin configuration to rabbit@SC-201607101239... failed.
* Could not contact node rabbit@SC-201607101239.
Changes will take effect at broker restart.
* Options: --online - fail if broker cannot be contacted.
--offline - do not try to contact broker.node
E:\RabbitMQ Server\rabbitmq_server-3.6.5\sbin>rabbitmqctl status
Status of node 'rabbit@SC-201607101239' ...
Error: unable to connect to node 'rabbit@SC-201607101239': nodedownwindows
DIAGNOSTICS
===========cookie
attempted to contact: ['rabbit@SC-201607101239']spa
rabbit@SC-201607101239:
* connected to epmd (port 4369) on SC-201607101239
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
* suggestion: is the Erlang distribution using TLS?rest
current node details:
- node name: 'rabbitmq-cli-27@SC-201607101239'
- home dir: C:\Users\Administrator
- cookie hash: +Xg8GwzCRQiqRrJZqqF30A==orm
Synchronise Erlang Cookies (when running a manually installed Windows Service)server
Erlang Security Cookies used by the service account and the user running rabbitmqctl.bat must be synchronised for rabbitmqctl.bat to function.htm
To ensure Erlang cookie files contain the same string, copy the .erlang.cookie file from the Windows directory (normally C:\WINDOWS\.erlang.cookie) to replace the user .erlang.cookie. The user cookie will be in the user's home directory (%HOMEDRIVE%%HOMEPATH%), e.g.C:\Documents and Settings\%USERNAME%\.erlang.cookie orC:\Users\%USERNAME%\.erlang.cookie (Windows Vista and later).blog
同步Erlang Cookies
具體操做:將 C:\WINDOWS\.erlang.cookie
同步到RabbitMq 啓動用戶 例如win10:C:\Users\%USERNAME%\.erlang.cookie
%USERNAME% 表明當前用戶
官方安裝手冊: http://www.rabbitmq.com/install-windows-manual.html