RabbitMQ 启动失败,TCP 连接成功但 Erlang 分发失败 [英] RabbitMQ failed to start, TCP connection succeeded but Erlang distribution failed

查看:55
本文介绍了RabbitMQ 启动失败,TCP 连接成功但 Erlang 分发失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新人,刚开始学习并在Windows系统上安装RabbitMQ.

我将 Erlang VM 和 RabbitMQ 安装在自定义文件夹中,而不是默认文件夹(两者).

然后我重新启动了我的计算机.

顺便说一句,我的电脑名是NULL"

<小时>

我 cd 到 RabbitMQ/sbin 文件夹并使用命令:

rabbitmqctl 状态

但是返回的信息是:

<块引用>

节点rabbit@NULL的状态...

错误:无法在节点rabbit@NULL"上执行操作.请参阅下面的诊断信息和建议.

最常见的原因是:

  • 目标节点无法访问(例如,由于主机名解析、TCP 连接或防火墙问题)
  • CLI 工具无法通过服务器进行身份验证(例如,由于 CLI 工具的 Erlang cookie 与服务器的不匹配)
  • 目标节点未运行

除了以下诊断信息:

诊断

尝试联系:[rabbit@NULL]

兔子@NULL:

  • 在 NULL 上连接到 epmd(端口 4369)
  • epmd 报告节点兔子"使用端口 25672 进行节点间和 CLI 工具流量
  • TCP 连接成功但 Erlang 分发失败

  • 认证失败(被远程节点拒绝),请检查Erlang cookie

当前节点详情:

  • 节点名称:rabbitmqcli70@NULL
  • 有效用户的主目录:C:UsersJerry Song
  • Erlang cookie 哈希:51gvGHZpn0gIK86cfiS7vp==

<小时>

我尝试重启 RabbitMQ,得到的是:

<块引用>

错误:名为rabbit"的节点已经在NULL"上运行

<小时><块引用>

顺便说一句,我的电脑名是NULL"我已启用防火墙中的所有端口.

解决方案

我通过使用默认安装文件夹

在我的计算机中重新安装了 RabbitMQ

然后用命令检查:

rabbitmqctl 状态

现在可以了,不是 Erlang VM 的问题.(意味着 Er 可以安装在另一个文件夹中)

如果我们不使用 RabbitMQ 默认设置需要文件夹(C:Program FilesRabbitMQ 服务器),它会导致一些我现在无法发现的问题(比如这个)

如果有人发现它,我希望你能告诉我为什么以及如何解决.

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:

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:UsersJerry 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 reinstalled the RabbitMQ in my computer by using default setup folder

Then checked with the command :

rabbitmqctl status

It works now, not the problem of Erlang VM .(Means Er can install at another folder)

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 folder (C:Program FilesRabbitMQ Server)

If anyone finds it out, I hope you can tell me why and how to fix.

这篇关于RabbitMQ 启动失败,TCP 连接成功但 Erlang 分发失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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