RabbitMQ有Nodesown错误 [英] RabbitMQ has Nodedown Error

查看:1025
本文介绍了RabbitMQ有Nodesown错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7 Enterprise机器上,我全新安装了Erlang 17.4和RabbitMQ 3.4.3 x64。安装成功和平静。

On a Windows 7 Enterprise machine, I made a fresh install of Erlang 17.4 and RabbitMQ 3.4.3 x64. The installation was successful and uneventful.

我还没有尝试创建我的第一个队列或交换,但我已经看到麻烦了。此问题类似于另一个SO帖子,但是那个其他帖子似乎涉及聚类,我没有。此外,其他海报可以通过重新启动RabbitMQ服务来规避他的问题;这个方法对我来说不起作用。

I have not yet tried to create my first queue or exchange, but I already see trouble. This problem is similar to another SO post, but that other post appears to involve clustering, which I don't have. Furthermore, that other poster can circumvent his issue by restarting the RabbitMQ service; that approach does not work for me.

我的nodedown问题在RabbitMQ命令提示符下显而易见:

My "nodedown" problem is evident at the RabbitMQ command prompt:


C:\程序文件(x86)\RabbitMQ Server\rabbitmq_server-3.4.3\sbin> rabbitmqctl status
节点兔的状态@ TPAJ05421843 ...

错误:无法连接到节点兔@ TPAJ05421843:nodedown

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.4.3\sbin>rabbitmqctl status Status of node rabbit@TPAJ05421843 ...
Error: unable to connect to node rabbit@TPAJ05421843: nodedown

尝试联系:[rabbit @ TPAJ05421843]

attempted to contact: [rabbit@TPAJ05421843]

rabbit @ TPAJ05421843:

*连接到TPAJ05421843上的epmd(端口4369)

* epmd报告:节点'兔子'不运行

TPAJ05421843上的其他节点:['RabbitMQ']

*建议:启动节点

rabbit@TPAJ05421843:
* connected to epmd (port 4369) on TPAJ05421843
* epmd reports: node 'rabbit' not running at all
other nodes on TPAJ05421843: ['RabbitMQ']
* suggestion: start the node

当前节点详细信息:

- 节点名称:'rabbitmqctl-19884 @ TPAJ05421843'

- home dir:H:\

- cookie哈希:PD4QQCYrf0TME9vIko3Xuw ==

current node details:
- node name: 'rabbitmqctl-19884@TPAJ05421843'
- home dir: H:\
- cookie hash: PD4QQCYrf0TME9vIko3Xuw==

Base在上面,我选择了查看明确命名为RabbitMQ的节点的状态。我得到这个:

Based on the above, I chose to check the status of the node explicitly named 'RabbitMQ'. I get this:


C:\程序文件(x86)\RabbitMQ Server\rabbitmq_server-3.4.3\sbin> rabbitmqctl -n RabbitMQ状态

节点'RabbitMQ @ TPAJ05421843'的状态...

错误:无法连接到节点'RabbitMQ @ TPAJ05421843':nodedown

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.4.3\sbin>rabbitmqctl -n RabbitMQ status
Status of node 'RabbitMQ@TPAJ05421843' ...
Error: unable to connect to node 'RabbitMQ@TPAJ05421843': nodedown

尝试联系:['RabbitMQ @ TPAJ05421843']

attempted to contact: ['RabbitMQ@TPAJ05421843']

RabbitMQ @ TPAJ05421843:

*连接到TPAJ05421843上的epmd(端口4369)

* epmd报告端口59301上运行的节点RabbitMQ

* TCP连接成功但Erlang发行失败

*建议:主机名不匹配?

*建议:cookie设置正确?

RabbitMQ@TPAJ05421843:
* connected to epmd (port 4369) on TPAJ05421843
* epmd reports node 'RabbitMQ' running on port 59301
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?

当前节点详细信息:

- 节点名称:'rabbitmqctl-23076 @ TPAJ05421843'

- home dir:H:\

- Cookie哈希:PD4QQCYrf0TME9vIko3Xuw ==

current node details:
- node name: 'rabbitmqctl-23076@TPAJ05421843'
- home dir: H:\
- cookie hash: PD4QQCYrf0TME9vIko3Xuw==

好的,这个几乎没有更好,因为至少它承认在59301端口运行的RabbitMQ。但是,这可能意味着Erlang分发失败?

Ok, this is barely better since at least it acknowledges 'RabbitMQ' running on port 59301. But what the heck could it mean that "Erlang distribution failed"?

当我尝试研究这个话题,我发现文章说确保你已经匹配了cookies。基于此,我发现这篇文章,它声称cookie不匹配与我无关,因为我没有创建(也不打算创建)一个RabbitMQ集群。

When I try to research this topic, I found articles saying "be sure you have matched cookies." Based on that I found this article, which claims the "cookie mismatch" does not pertain to me, because I have not created (nor intend to create) a RabbitMQ cluster.

我该怎么办那么今天我有这个同样的问题吗?

What should I do?

推荐答案

没有cookie或防火墙问题,Windows报告服务运行成功。这是最终修复的:

I had this same problem today. There were no cookie or firewall problems and windows reported that the service was running successfully. This is what finally fixed it:


  1. 以管理员身份运行RabbitMQ sbin命令提示符。

  2. 运行 rabbitmq-service remove

  3. 运行rabbitmq-service install

由于某种原因安装程序设置的服务没有配置多个注册表项。运行它设置正确,并允许服务运行。

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.

我注意到的一件事是,在我这样做之前,Windows服务视图中没有描述该服务。使用rabbitmq-service命令安装后,该描述是可见的。如果您有同样的问题,这可能是一个快速指标。

One thing I noticed was that before I did this, there was no description of the service in the Windows Services view. After installing with the rabbitmq-service command, the description was visible. This might be a quick indicator if you are having the same problem.

这篇关于RabbitMQ有Nodesown错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆