RabbitMQ无法启动,TCP连接成功,但Erlang分发失败 [英] RabbitMQ failed to start, TCP connection succeeded but Erlang distribution failed
问题描述
我是新手,刚开始在Windows系统上学习和安装RabbitMQ。
我将Erlang VM和RabbitMQ安装在自定义文件夹中,而不是默认文件夹中(两者都
然后我重新启动了计算机。
顺便说一句,我的计算机名称为 NULL
我将CD放入 RabbitMQ / sbin 文件夹并使用命令:
rabbitmqctl status
但是返回消息为:
节点rabbit @ NULL的状态...
请参阅下面的诊断信息和建议。
最常见的原因是:
- 目标节点不可访问(例如由于主机名解析,TCP连接或防火墙问题)
- CLI工具无法通过服务器进行身份验证(例如由于CLI工具的Erlang cookie)
- 目标节点未运行
以下诊断信息:
- 请参阅 http://rabbitmq.com/documentation.html 了解更多信息
- 咨询服务器登录节点Rabbit @ NULL
诊断>
试图联系:[rabbit @ NULL]
兔子@NULL:
- 在NULL上连接到epmd(端口4369)
- epmd报告节点兔子使用端口25672进行节点间和CLI工具通信
TCP连接成功,但Erlang分发失败
身份验证失败(由远程节点拒绝),请检查Erlang cookie
当前节点详细信息:
- 节点名称:rabbitmqcli70 @ NULL
- 有效用户的主目录:C:\ \用户\Jerry Song
- Erlang cookie哈希:51gvGHZpn0gIK86cfiS7vp ==
我尝试重新启动RabbitMQ,得到的是:
错误:名称为兔子的节点已在 NULL上运行
顺便说一句,我的计算机名称为 NULL 。
并且我已启用防火墙中的所有端口。
我有使用默认设置文件在我的计算机上重新安装RabbitMQ
然后使用以下命令进行检查:
rabbitmqctl status
现在可以正常工作了,不是Erlang VM的问题。 (意味着Er可以在其他文件夹中安装)
如果不使用RabbitMQ,这会引起一些我现在无法发现的问题(如此问题) 默认设置需要foler (C:\Program FilesabRabbitMQ服务器)
如果有人发现了,希望您能告诉我为什么以及如何解决。
I'm a new one just start to learn and install RabbitMQ on Windows System.
I install Erlang VM and RabbitMQ in custom folder, not default folder (Both of them).
Then I have restarted my computer.
By the way,My Computer name is "NULL"
I cd to the RabbitMQ/sbin folder and use command:
rabbitmqctl status
But the return message is:
Status of node rabbit@NULL ...
Error: unable to perform an operation on node 'rabbit@NULL'. Please see diagnostics information and suggestions below.
Most common reasons for this are:
- Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
- CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
- Target node is not running
In addition to the diagnostics info below:
- See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more
- Consult server logs on node rabbit@NULL
DIAGNOSTICS
attempted to contact: [rabbit@NULL]
rabbit@NULL:
- connected to epmd (port 4369) on NULL
- epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
TCP connection succeeded but Erlang distribution failed
Authentication failed (rejected by the remote node), please check the Erlang cookie
Current node details:
- node name: rabbitmqcli70@NULL
- effective user's home directory: C:\Users\Jerry Song
- Erlang cookie hash: 51gvGHZpn0gIK86cfiS7vp==
I have try to RESTART RabbitMQ, What I get is:
ERROR: node with name "rabbit" already running on "NULL"
By the way,My Computer name is "NULL" And I have enable all ports in firewall.
I have reinstall the RabbitMQ in my computer by using default setup foler
Then check with the command :
rabbitmqctl status
It work now, not the problem of Erlang VM .(Means Er can install at other foler)
It will cause some problem (like this one) that I couldn't find out now if we don't use the RabbitMQ default setup require foler (C:\Program Files\RabbitMQ Server)
If anyone find it out, I hope you can tell me why and how to fix.
这篇关于RabbitMQ无法启动,TCP连接成功,但Erlang分发失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!