RabbitMQ,erlang:如何“确保erlang饼干是相同的” [英] RabbitMQ, erlang: how to "make sure the erlang cookies are the same"

查看:153
本文介绍了RabbitMQ,erlang:如何“确保erlang饼干是相同的”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用rabbitMQ和grails,今天早上出现了问题。当我运行rabbitmqctl status它告诉我:

I am using rabbitMQ with grails, and a problem cropped up this morning. When I run rabbitmqctl status it tells me:

C:\Users\BuildnTest2>rabbitmqctl status
Status of node 'rabbit@BUILDNTEST2-PC' ...
Error: unable to connect to node 'rabbit@BUILDNTEST2-PC': nodedown diagnostics:
- nodes and their ports on BUILDNTEST2-PC: [{rabbit,49164},
                                        {rabbitmqctl27693,49286}]
- current node: 'rabbitmqctl27693@BuildnTest2-PC'
- current node home dir: C:\Users\BuildnTest2
- current node cookie hash: cSYB8tsT4mGGZHSUGQi08w==

当我去兔子疑难解答页面时: http://www.rabbitmq.com/troubleshooting.html 他们说:

When I go to the rabbit troubleshooting page: http://www.rabbitmq.com/troubleshooting.html they say:

then you should make sure the erlang cookies are the same.

这是什么意思,如何实现?

What does this mean and how is it accomplished?

Googling发现此论坛主题 http://lists.rabbitmq.com/pipermail /rabbitmq-discuss/2011-January/010806.html 声称有解决这个问题的说明,但是它只是重定向回到那里没有答案的兔子网站。

Googling found this forum thread http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-January/010806.html which claims to have instructions to solving this problem, but alas it just redirects back to the rabbit site where there is not an answer.

推荐答案

RabbitMQ网站上的具体问题的最终答案在 http://www.rabbitmq.com/clustering.html

The definitive answer to your specific question, on the RabbitMQ site is at http://www.rabbitmq.com/clustering.html

但是,从您的状态转储中,看起来这是你的问题。它只是看起来好像你的节点down。我假设你没有运行集群,是正确的吗?

However, from your status dump, it doesn't look as though this is your issue. It just looks as though your node is down. Am I correct in assuming that you aren't running a cluster? The fact that the node that you can't connect to is the same as the one you are running the commands from indicates this.

如果RabbitMQ服务正在运行,则运行该命令的节点rabbitmqctl start
如果它不是运行,那么转到服务并启动它,然后上面的。
erlang cookie与非群集配置无关。

If the RabbitMQ service is running then run rabbitmqctl start If it isn't running then go to services and start it and then the above. The erlang cookie is irrelevant for non-clustered configurations.

这篇关于RabbitMQ,erlang:如何“确保erlang饼干是相同的”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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