Linux安装rabbitmq报错unable to perform an operation on node '*

发布于 2022-09-12 00:40:57 字数 1310 浏览 15 评论 0

安装rabbitmq之后,查看rabbitmqctl status 状态。

\[root@iZ2ze6xkq7xjxmfnsdw27yZ home\]# rabbitmqctl status Status of node rabbit@iZ2ze6xkq7xjxmfnsdw27yZ ... Error: unable to perform an operation on node 'rabbit@iZ2ze6xkq7xjxmfnsdw27yZ'. 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 http://rabbitmq.com/documentation.html to learn more \* Consult server logs on node rabbit@iZ2ze6xkq7xjxmfnsdw27yZ DIAGNOSTICS =========== attempted to contact: \[rabbit@iZ2ze6xkq7xjxmfnsdw27yZ\] 

rabbit@iZ2ze6xkq7xjxmfnsdw27yZ: \* connected to epmd (port 4369) on iZ2ze6xkq7xjxmfnsdw27yZ \* epmd reports: node 'rabbit' not running at all no other nodes on iZ2ze6xkq7xjxmfnsdw27yZ \* suggestion: start the node Current node details: \* node name: 'rabbitmqcli-10107-rabbit@iZ2ze6xkq7xjxmfnsdw27yZ' \* effective user's home directory: /var/lib/rabbitmq \* Erlang cookie hash: cu3p2lCuX0JhvD59FANmcg==

怎么解决?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

丿*梦醉红颜 2022-09-19 00:40:57

(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/documenta... to learn more * Consult server logs on node rabbit@iZ2ze6xkq7xjxmfnsdw27yZ DIAGNOSTICS =========== attempted to contact

警告不是提示的很清楚吗?看下本地解析,端口,防火墙开放正常着没,如果都好着就看版本
素年丶 2022-09-19 00:40:57

问题解决了,按照报错的问题,百度了一堆没有解决问题。
最后只能卸载了erlang和rabbitmq,https://my.oschina.net/liudan... 参考这个地址重新安装了以便就解决了。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文