[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


Hi,
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:

[10.10.3.31] sudo: /sbin/service rabbitmq-server start
[10.10.3.31] out: Starting rabbitmq-server: SUCCESS
[10.10.3.31] 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

DIAGNOSTICS
===========

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' ...
[{pid,15761},
  {running_applications,
      [{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"},
       {rabbit,"RabbitMQ","2.8.2"},
       {os_mon,"CPO  CXC 138 46","2.2.6"},
       {sasl,"SASL  CXC 138 11","2.1.9.4"},
       {rabbitmq_mochiweb,"RabbitMQ Mochiweb Embedding","2.8.2"},
       {webmachine,"webmachine","1.7.0-rmq2.8.2-hg"},
       {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"}]},
  {os,{unix,linux}},
  {erlang_version,
      "Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:2:2] [rq:2] 
[async-threads:30] [kernel-poll:true]\n"},
  {memory,
      [{total,34496024},
       {processes,12425376},
       {processes_used,12416856},
       {system,22070648},
       {atom,1539953},
       {atom_used,1525035},
       {binary,199008},
       {code,17358734},
       {ets,1154200}]},
  {vm_memory_high_watermark,0.2},
  {vm_memory_limit,828162048},
  {disk_free_limit,4140810240},
  {disk_free,10354425856},
  {file_descriptors,
      
[{total_limit,924},{total_used,3},{sockets_limit,829},{sockets_used,1}]},
  {processes,[{limit,1048576},{used,172}]},
  {run_queue,0},
  {uptime,4}]
...done.












  


-------------- 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