[rabbitmq-discuss] Starting a Rabbit node remotely using Fabric succeeds yet the node is down

Gigi gigi at roblox.com
Sun May 20 00:12:53 BST 2012

I'm trying to start a stopped node running on a Linux box from a remote 
Windows 7 laptop. The command I send is:

sudo /sbin/service rabbitmq-server start

I get back the success message:

[] sudo: /sbin/service rabbitmq-server start
[] out: Starting rabbitmq-server: SUCCESS
[] out: rabbitmq-server.

But, when I run the rabbitmqctl status command (either through Fabric or 
directly on the Linux box) I get nodedown error:

Status of node 'rabbit at P1-LApp16' ...
Error: unable to connect to node 'rabbit at P1-LApp16': nodedown


nodes in question: ['rabbit at P1-LApp16']

hosts, their running nodes and ports:
- P1-LApp16: [{rabbitmqctl16270,33443}]

current node details:
- node name: 'rabbitmqctl16270 at P1-LApp16'
- home dir: /var/lib/rabbitmq
- cookie hash: 95Vy6dqyADwcVrM/tntD6g==

If I start the node directly on the Linux box it works just fine. Once 
the node is started I can send it remote commands to rabbitmqctl via 
Fabric with no problem. I just can't start it remotely. Any idea what's 
going on and how to fix it?

Thanks, Gigi

Here is the output of rabbitmqctl status after I start the node directly 
on the Linuxbox:

Status of node 'rabbit at P1-LApp16' ...
      [{rabbitmq_management,"RabbitMQ Management Console","2.8.2"},
       {xmerl,"XML parser","1.2.9"},
       {rabbitmq_management_agent,"RabbitMQ Management Agent","2.8.2"},
       {amqp_client,"RabbitMQ AMQP Client","2.8.2"},
       {os_mon,"CPO  CXC 138 46","2.2.6"},
       {sasl,"SASL  CXC 138 11",""},
       {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.2"},
       {mochiweb,"MochiMedia Web Server","1.3-rmq2.8.2-git"},
       {inets,"INETS  CXC 138 49","5.6"},
       {mnesia,"MNESIA  CXC 138 12","4.4.19"},
       {stdlib,"ERTS  CXC 138 10","1.17.4"},
       {kernel,"ERTS  CXC 138 10","2.14.4"}]},
      "Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:2:2] [rq:2] 
[async-threads:30] [kernel-poll:true]\n"},


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120519/1d58e070/attachment.htm>

More information about the rabbitmq-discuss mailing list