搭建MQ镜像队列搭建不了

来源:2-15 Rabbitmq集群搭建-镜像队列集群环境搭建实操

PrinceDarkHorse

2021-03-22 11:52:17

到这一步就报错了,前面的步骤按部就班完成了,重试了好几遍还是不行

bhz72rabbitmqctl join_cluster --ram rabbit@bhz71

报错信息:

[root@root143 rabbitmq]# rabbitmqctl join_cluster --ram rabbit@root142

Clustering node rabbit@root143 with rabbit@root142 ...

Error: unable to connect to nodes [rabbit@root142]: nodedown


DIAGNOSTICS

===========


attempted to contact: [rabbit@root142]


rabbit@root142:

  * connected to epmd (port 4369) on root142

  * epmd reports node 'rabbit' running on port 25672

  * TCP connection succeeded but Erlang distribution failed

  * suggestion: hostname mismatch?

  * suggestion: is the cookie set correctly?

  * suggestion: is the Erlang distribution using TLS?


current node details:

- node name: 'rabbitmq-cli-87@root143'

- home dir: /var/lib/rabbitmq

- cookie hash: UauY91WLHa5kgyLLncHjSQ==


写回答

1回答

阿神

2021-03-29

hostname检查一下首先是否都有配置,然后重启服务(虚拟机),接下来rpm方式卸载rabbit,重新尝试安装即可

0

Java架构师-技术专家

千万级电商项目从0到100全过程,覆盖Java程序员不同成长阶段的核心问题与解决方案

2672 学习 · 5839 问题

查看课程