与兔子聚类不起作用.我的意思是哇..我打开了所有的端口.我在ubuntu 12.04但是我得到了以下内容?任何兔子开发者都读过这些帖子......为什么会这样?为什么文档反映了如何正确聚类?两者都有相同的cookie.
谢谢
sudo rabbitmqctl stop_app
rabbitmqctl join_cluster --ram rabbit@ip-172-31-12-135.us-west-1.compute.internal
Clustering node 'rabbit@ip-172-31-2-103' with 'rabbit@ip-172-31-12-135.us-west-1.compute.internal' ...
Error: unable to connect to nodes ['rabbit@ip-172-31-12-135.us-west-1.compute.internal']: nodedown
=ERROR REPORT==== 26-Aug-2014::07:25:21 ===
** System NOT running to use fully qualified hostnames **
** Hostname ip-172-31-12-135.us-west-1.compute.internal is illegal **
DIAGNOSTICS
===========
attempted to contact: ['rabbit@ip-172-31-12-135.us-west-1.compute.internal']
rabbit@ip-172-31-12-135.us-west-1.compute.internal:
* connected to epmd (port 4369) on ip-172-31-12-135.us-west-1.compute.internal
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
current node details:
- node name: 'rabbitmqctl20516@ip-172-31-2-103'
- home dir: /var/lib/rabbitmq
- cookie hash: deaU3MfVotDW9r05xrIWwA==
Run Code Online (Sandbox Code Playgroud)
小智 12
很抱歉重振这一点,但我遇到了类似于Windows的Rabbit 3.4.2和Erlang OTP 17.3.我确定这也是Rabbit回到至少3.3.5的问题.
我的目标是在同一个vnet上设置RabbitMq集群.机器可以看到对方,可以互相分享等等.机器具有相同的erlang cookie并且没有报告错误.我可以连接到每个代理但不能让它们聚集在一起.
在网络上没有太多的帮助,所以经过这么多小时的努力,这就是我修复它的方法.对我来说这是一个套管问题.我的vms被命名为rabbitMq00和rabbitMq99所以我的rabbitMq00的集群命令是:
rabbitmqctl join_cluster rabbit@rabbitMq99
Run Code Online (Sandbox Code Playgroud)
错误!生成的错误消息与原始问题中的一样:
rabbit@rabbitMq99:
* connected to epmd (port 4369) on rabbitMq99
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
Run Code Online (Sandbox Code Playgroud)
Windows/Erlang/WhoKnows想要上限(可能是因为过去的NetBIOS). 正确的命令是:
rabbitmqctl join_cluster rabbit@RABBITMQ99
Run Code Online (Sandbox Code Playgroud)
服务器名称必须为大写. 伤心但真实.希望这可以帮助某人.
在邮件列表上回复:https://groups.google.com/d/msg/rabbitmq-users/9P-BAwGVHJU/fwOpZPJywwYJ,包括我的回复。
** 系统未运行以使用完全限定的主机名 ** ** 主机名 ip-172-31-12-135.us-west-1.compute.internal 是非法的 **
最常见的问题有 3 个:
所以我不确定声称这些文档没有帮助是否公平。
您的问题似乎是 1 或 2,尽管需要检查所有 3 个问题才能确定。我们将尝试更好地交叉链接上面的页面。
此外,快速搜索上述错误消息会产生多个结果,例如:
这可能会更详细地澄清一些问题。
| 归档时间: |
|
| 查看次数: |
11827 次 |
| 最近记录: |