[英]Rabbit MQ Error : unable to perform an operation on node 'rabbit@USERNAME'
Error: unable to perform an operation on node 'rabbit@YASHODIP-PC'.错误:无法对节点“rabbit@YASHODIP-PC”执行操作。 Please see diagnostics information and suggestions below.
请参阅下面的诊断信息和建议。
Most common reasons for this are:最常见的原因是:
In addition to the diagnostics info below:除了以下诊断信息:
attempted to contact: ['rabbit@YASHODIP-PC']试图联系:['rabbit@YASHODIP-PC']
rabbit@YASHODIP-PC: * connected to epmd (port 4369) on YASHODIP-PC * epmd reports: node 'rabbit' not running at all no other nodes on YASHODIP-PC * suggestion: start the node rabbit@YASHODIP-PC: * 连接到 YASHODIP-PC 上的 epmd(端口 4369) * epmd 报告:节点“rabbit”根本没有运行 YASHODIP-PC 上没有其他节点 * 建议:启动节点
Current node details: * node name: 'rabbitmqcli-17388-rabbit@YASHODIP-PC' * effective user's home directory: C:\Users\yasho * Erlang cookie hash: 96Pe9121Rb1vncp1IqXA6Q==当前节点详细信息: * 节点名称:'rabbitmqcli-17388-rabbit@YASHODIP-PC' * 有效用户的主目录:C:\Users\yasho * Erlang cookie hash: 96Pe9121Rb1vncp1IqXA6Q==
I am not able to view the status of the rabbitMQ service installed on my local machine.我无法查看安装在本地计算机上的 rabbitMQ 服务的状态。 Please suggest resolution.
请提出解决方案。
This error can occur due to发生此错误的原因可能是
If you are not working on Clustering then second can be your problem, Please study RabbitMQ, erlang: how to "make sure the erlang cookies are the same" If you are not working on Clustering then second can be your problem, Please study RabbitMQ, erlang: how to "make sure the erlang cookies are the same"
This type of errors could happen if you have too long hostname.如果您的主机名太长,可能会发生这种类型的错误。 It's the reason why it explains:
这就是它解释的原因:
If target node is configured to use long node names, don't forget to use --longnames with CLI tools
edit the rabbit's config file (for RHEL type it's /etc/rabbitmq/rabbitmq.conf
).编辑 rabbit 的配置文件(对于 RHEL 类型,它是
/etc/rabbitmq/rabbitmq.conf
)。 In the networking section:在网络部分:
#IPv4
listeners.tcp.local = 127.0.0.1:5672
#...
## write your ip and not your hostname
listeners.tcp.ohter_ip = 164.81.0.0:5672
Old topic, but I stumbled across it looking for reasons.老话题,但我在寻找原因时偶然发现了它。 So I will write what I have.
所以我会写我所拥有的。 In the file /etc/rabbitmq/rabbitmq-env.conf
在文件 /etc/rabbitmq/rabbitmq-env.conf
export RABBITMQ_NODENAME=rabbit@domain.com
replaced by取而代之
export RABBITMQ_NODENAME=rabbit@localhost
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.