安装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==
怎么解决?
(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