Windows搭建测试RabbitMq遇到的问题
E:\RabbitMQ Server\rabbitmq_server-3.6.5\sbin>rabbitmq-plugins.bat enable rabbitmq_management
Plugin configuration unchanged.
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.
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': nodedown
DIAGNOSTICS
===========
attempted to contact: ['rabbit@SC-201607101239']
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?
current node details:
- node name: 'rabbitmq-cli-27@SC-201607101239'
- home dir: C:\Users\Administrator
- cookie hash: +Xg8GwzCRQiqRrJZqqF30A==
解决方法:
Synchronise Erlang Cookies (when running a manually installed Windows Service)
Erlang Security Cookies used by the service account and the user running rabbitmqctl.bat must be synchronised for rabbitmqctl.bat to function.
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).
同步Erlang Cookies
具体操作:将 C:\WINDOWS\.erlang.cookie 同步到RabbitMq 启动用户 例如win10:C:\Users\%USERNAME%\.erlang.cookie
官方安装手册: http://www.rabbitmq.com/install-windows-manual.html
相关文章
- Windows渗透测试中wmi的利用
- Windows 环境搭建Redis集群(win 64位)
- docker for windows & dotnet core app
- Windows 由于无法验证发布者,windows阻止控件安装怎么办
- windows下使用C#获取特定进程网络流量
- [Docker] Install Docker on Windows (hp) and start with Kitematic
- windows x64安装与测试redis
- 知识扩展——为什么Windows的第一个盘叫C盘,不叫A盘?
- EasyPlayerPro Windows播放器全屏模式下GDI显示出现黑屏问题解决
- MFC Windows 程序设计[276]之文件枚举例程(附源码)
- MFC Windows 程序设计[105]之彩色滚动条(附源码)
- Windows之Chocolatey:windows下的apt-get即Chocolatey简介、安装、使用方法之详细攻略
- windows server 2008 安装Microsoft ActiveSync 6.1提示缺少一个Windows Mobile设备中心所须要的Windows组件
- 利用Windows内置工具winsat测试硬盘速度(SSD&机械盘对比)
- chromium在windows上的编译 构建 Checking out and Building Chromium for Windows
- Windows特殊字符
- Windows命令行使用FTP——windows下自带ftp命令
- phpstudy下载、安装、配置、网站部署、卸载(windows下php、apache、nginx环境测试)
- Foxit PDF SDK 8.3.1 for Windows (C++ Library)
- windows下ffmpeg测试命令
- 2023年中职网络安全竞赛Windows操作系统渗透测试解析(超详细)