ijava学习网> 知识分享> Linux> [rabbitmq]TCP connection succeeded but Erlang dist

[rabbitmq]TCP connection succeeded but Erlang dist

时间: 2019-01-11 17:02:10 标签RabbitMQ , erlang , dist

rabbitmq加入集群时报错

[root@kickwt-3 ~]# rabbitmqctl join_cluster  rabbit@kickwt-1
Clustering node 'rabbit@kickwt-3' with 'rabbit@kickwt-1' ...
Error: unable to connect to nodes ['rabbit@kickwt-1']: nodedown

DIAGNOSTICS
===========

attempted to contact: ['rabbit@kickwt-1']

rabbit@kickwt-1:
  * connected to epmd (port 4369) on kickwt-1
  * 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: 'rabbitmqctl7915@kickwt-3'
- home dir: /var/lib/rabbitmq
- cookie hash: H1CSmVVqGquep/BKw7VCNQ==

排查方法:

1. 使用rabbitmqctl status查看主节点是否正常服务
2. 排查cookie文件是否一致,注意换行空行的问题
3. 排查防火墙是否通畅。

版权说明| 关于ijava| 合作伙伴| 联系我们| 网站地图| 招贤纳士

Copyright © 2017 www.ijava.com All Rights Reserved 版权所有•ijava学习网 京ICP备14061482号-18         官方QQ:3325669927

ijava学习网提供免费java教程和大量java面试题库,给高级会员提供免费的java培训,同时提共一些java开发项目和java下载,java工程师,java菜鸟们快来哦。记住我们的网站:www.ijava.com