Error unable to connect to node rabbit nodedown lỗi năm 2024

There is a tendency to run into the following failure, which appears to be transient:

TASK: [Enable queue mirroring] ************************************************ failed: [98ac7559-infra1_rabbit_mq_container-8167b789] => {"cmd": "/usr/sbin/rabbitmqctl -q -n rabbit list_policies -p /", "failed": true, "rc": 2} stderr: Error: unable to connect to node 'rabbit@98ac7559-infra1_rabbit_mq_container-8167b789': nodedown

DIAGNOSTICS \===========

attempted to contact: ['rabbit@98ac7559-infra1_rabbit_mq_container-8167b789']

rabbit@98ac7559-infra1_rabbit_mq_container-8167b789: * connected to epmd [port 4369] on 98ac7559-infra1_rabbit_mq_container-8167b789 * epmd reports: node 'rabbit' not running at all no other nodes on 98ac7559-infra1_rabbit_mq_container-8167b789 * suggestion: start the node

current node details: - node name: 'rabbitmq-cli-3155@98ac7559-infra1_rabbit_mq_container-8167b789' - home dir: /var/lib/rabbitmq - cookie hash: 8E8VlCxIkt05tZMekpVcGQ==

msg: Error:********@98ac7559-infra1_rabbit_mq_container-8167b789' - home dir: /var/lib/rabbitmq - cookie hash: 8E8VlCxIkt05tZMekpVcGQ==

[rabbitmq-discuss] Error: unable to connect to node rabbit at rabbit1: nodedown

Shawn Smith shawn.smith at gengo.com Thu Jan 3 22:49:40 GMT 2013

  • Previous message: [rabbitmq-discuss] Error: unable to connect to node rabbit at rabbit1: nodedown
  • Next message: [rabbitmq-discuss] Typos in clustering docs
  • Messages sorted by:
I believe this was a problem with hostnames [I added entries to /etc/hosts but did not change hostnames on the actual machines. Did not know it mattered.] The cluster appears to work now. Thanks, Shawn On Fri, Jan 4, 2013 at 7:26 AM, Shawn Smith wrote:
Hi,
I can't cluster two rabbit nodes running on EC2. I've gone through the troubleshooting docs as well as done quite a bit of Googling. The EC2 firewalls are allowing all TCP traffic. When I run `sudo rabbitmqctl -n rabbit at rabbit1 status` from the second node [rabbit2], I see this: ubuntu at secondrabbit:~$ sudo rabbitmqctl -n rabbit at rabbit1 status Status of node rabbit at rabbit1 ... Error: unable to connect to node rabbit at rabbit1: nodedown DIAGNOSTICS =========== nodes in question: [rabbit at rabbit1] hosts, their running nodes and ports: - rabbit1: [{rabbit,51588}] current node details: - node name: 'rabbitmqctl9276 at secondrabbit' - home dir: /var/lib/rabbitmq - cookie hash: XDJW5BX8HtadjBvTgWRdXw== The Erlang cookies in /var/lib/rabbitmq/.erlang.cookie are the same. I've added the IPs and hosts to /etc/hosts like so: [on rabbit1]: 127.0.0.1 localhost 127.0.0.1 rabbit1 [rabbit2's IP] rabbit2 [on rabbit2]: 127.0.0.1 localhost 127.0.0.1 rabbit2 [rabbit1's IP] rabbit1 I can telnet from rabbit2 to rabbit1 ports 5672 and 4369. Can anyone help me out or point me at some docs? Best, Shawn -- next part -- An HTML attachment was scrubbed... URL:
  • Previous message: [rabbitmq-discuss] Error: unable to connect to node rabbit at rabbit1: nodedown
  • Next message: [rabbitmq-discuss] Typos in clustering docs
  • Messages sorted by:

More information about the rabbitmq-discuss mailing list

Chủ Đề