RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
来源:互联网 发布:为什么酷狗显示没网络 编辑:程序博客网 时间:2024/06/06 00:16
RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
环境:Win10x64+erlang_otp_19.1x64+RabbitMQ3.6.6
刚开始研究RabbitMQ,就遇到问题:
安装好之后,按照官方安装向导执行rabbitmqctl status命令检查状态时,报如下错误:
Bash
Status of node 'rabbit@DESKTOP-RVK1IHE' ...Error: unable to connect to node 'rabbit@DESKTOP-RVK1IHE': nodedownDIAGNOSTICS===========attempted to contact: ['rabbit@DESKTOP-RVK1IHE']rabbit@DESKTOP-RVK1IHE: * connected to epmd (port 4369) on DESKTOP-RVK1IHE * epmd reports node 'rabbit' running on port 25672 * TCP connection succeeded but Erlang distribution failed * Authentication failed (rejected by the remote node), please check the Erlang cookiecurrent node details:- node name: 'rabbitmq-cli-22@DESKTOP-RVK1IHE'- home dir: C:\Users\TNT- cookie hash: oVa+k73FyoNB9z87SvbEAQ==
根据提示,应该是Erlang的cookie出现问题。谷歌后找到了两种解决方式(还有集群的解决方案,这里无关就不阐述了):
1、重新安装RabbitMQ的服务
For some reason the service set up by the installer did not configure several registry entries. Running this set them correctly and allowed the service to run.
这是由于某些原因在安装服务时没有正确配置注册项,重新安装服务即可解决:
以管理员身份运行RabbitMQ Command Propmt(开始菜单中)
执行rabbitmq-service remove
执行rabbitmq-service install
然后再测试是否成功。
2、更正Erlang的cookie
Erlang会生成两个cookie文件:C:\Windows\.erlang.cookie 及 C:\用户\你的用户名\.erlang.cookie。检查两个文件内容是否一致,不一致用其中一个替换另一个即可。
我这里用第一种方式解决了问题,在卸载服务的时候提示权限不够,但是到电脑中一看已经卸载了,直接重新安装就可以了
阅读全文
0 0
- RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
- RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
- Windows下安装RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
- RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方法
- rabbitmq Error: unable to connect to node XXX@XXX: nodedown
- [RabbitMQ]Error: unable to connect to node rabbit@compute1: nodedown(CentOS7.0)
- Error: unable to connect to node rabbit@10: nodedown
- Error: unable to connect to node 'rabbit@devlop-ceilo': nodedown
- Error: unable to connect to node rabbit@localhost: nodedown
- error: unable to unlink old 'xxx' (????)的解决
- 解决Error: Unable to connect to BackupPC server
- vSphere报错--unable to connect to the MKS:Internal error
- 解决报错:错误1130- Host xxx is not allowed to connect to this MariaDb server
- 解决Genymotion启动报错:“unable to connect to the virtual device
- Genymotion报错:unable to connect to the virtual device
- Cocoapod方式引入百川SDK -报错[!] Unable to find a specification for `xxx`
- Mysql 报错:ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.xxx.xxx' (111)
- TortoiseSVN Unable to connect to a repository at URL XXX
- 01、TextView
- linux内核怎么配置cpu为arm
- mesos 配置
- 20170727 JAVA练习题:输入一个三位数字,将其倒序组合输出
- 完全用Linux工作,抛弃windows
- RabbitMQ报错Error: unable to connect to node rabbit@xxx: nodedown的解决方式
- 使用c++11写个最简跨平台线程池(转载)
- 20170727 JAVA练习题:运用if else根据分数分成绩等级
- JavaScript的选择结构
- 知识点统计
- (多校)hdu 6050 Funny Function
- 阶乘因式分解
- PHP里的尾递归及其优化?
- 0727 Java的标识符