rabbitmqctl 报错
Posted saryli
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了rabbitmqctl 报错相关的知识,希望对你有一定的参考价值。
RabbitMQ
安装成功后,cmd dos命令进入RabbitMQ的安装路径,如
E:Program FilesRabbitMQ Server abbitmq_server-3.6.10sbin>
输入以下命令查看mq状态
rabbitmqctl status
如果报错:
- Status of node ‘[email protected]‘
- Error: unable to connect to node ‘[email protected]‘: nodedown
- DIAGNOSTICS
- ===========
- attempted to contact: [‘[email protected]‘]
- [email protected]:
- * connected to epmd (port 4369) on USER-20160821AY
- * 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 cookie
- current node details:
- - node name: ‘[email protected]‘
- - home dir: C:UsersAdministrator
- - cookie hash: /dNt52BJBOZo94nB/X3FKA==
根据提示,应该是Erlang的cookie出现问题,解决办法如下:
Erlang会生成两个cookie文件:C:Windows.erlang.cookie 及 C:用户你的用户名.erlang.cookie。检查两个文件内容是否一致,不一致用其中一个替换另一个即可。
以上是关于rabbitmqctl 报错的主要内容,如果未能解决你的问题,请参考以下文章
错误记录Flutter 混合开发获取 BinaryMessenger 报错 ( FlutterActivityAndFragmentDelegate.getFlutterEngine() )(代码片段
springcloud报错-------关于 hystrix 的异常 FallbackDefinitionException:fallback method wasn't found(代码片段
错误记录Android Studio 编译报错 ( Could not determine java version from ‘11.0.8‘. | Android Studio 降级 )(代码片段