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

安装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==

怎么解决?

阅读 18k
2 个回答

(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

警告不是提示的很清楚吗?看下本地解析,端口,防火墙开放正常着没,如果都好着就看版本

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

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进