现象:

rabbitmq启动成功后,执行./rabbitmqctl status等指令时报错Error: unable to perform an operation on node 'rabbit@xxx'. Please see diagnostics information and suggestions below......

rabbitmq在报错信息之后给出了一些建议的解决办法

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 http://rabbitmq.com/documentation.html to learn more
解决方法:查看防火墙状态

systemctl status firewalld

关闭防火墙

systemctl stop firewalld

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐