rabbitmqctl status报错

在部署rabbitmq后,使用rabbitmqctl status检查状态时遇到错误,提示无法连接到节点。原因是主机名更改导致解析问题。解决方法是在hosts文件中添加正确的主机名解析。完成这一步后,状态检查恢复正常。
摘要由CSDN通过智能技术生成

今天第二次部署rabbitmq,第一次部署之后早都没有印象了,哎,好无奈,不过依然对rabbitmq不懂,但是先部署好吧。流程这里先不写了,先记录一个问题吧,看见网上大家的这个问题很少见,给需要的小伙伴一个参考吧,可能大家不写是觉得问题简单所以不屑一顾了,但是我这个菜鸟渣渣还得记录一下。安装好之后启动了rabbitmq,查看状态报错如下:
[root@nginx ~]# rabbitmqctl status
Status of node rabbit@nginx ...
Error: unable to perform an operation on node 'rabbit@nginx'. 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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值