[rabbitmq-discuss] RMQ-3.0.0 multi rabbit nodes not able to start .

ponmuthu ponmuthu at omnesysindia.com
Tue Dec 4 10:41:47 GMT 2012


Yes I understand the scenario.

but after changing port 15673 which is free in my box , also not
able to start its picking 15672

i want to know . from where its picking ?

RABBITMQ_NODENAME=$1 \
RABBITMQ_NODE_PORT=$2 \
RABBITMQ_MNESIA_DIR=/tmp/rabbitmq-$1-mnesia \
RABBITMQ_PLUGINS_EXPAND_DIR=/tmp/rabbitmq-$1-plugins-scratch \
RABBITMQ_LOG_BASE=/tmp \
RABBITMQ_SERVER_START_ARGS="-rabbitmq_mochiweb listeners
[{mgmt,[{port,15673}]}]" \
${RMQ_ROOT_PATH}rabbitmq-server & # -detached


BOOT FAILED
===========

Error description:
   {could_not_start,rabbitmq_management,

{could_not_start_listener,[{port,15672}],eaddrinuse}}

Log files (may contain more information):
   /tmp/pon1.log
   /tmp/pon1-sasl.log

{"init terminating in
do_boot",{rabbit,failure_during_boot,{could_not_start,rabbitmq_m
anagement,{could_not_start_listener,[{port,15672}],eaddrinuse}}}
}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()


Regards,

PONMUTHU M



-----Original Message-----
From: Tim Watson [mailto:tim at rabbitmq.com]
Sent: Tuesday, December 04, 2012 4:02 PM
To: Discussions about RabbitMQ
Cc: PONMUTHU M
Subject: Re: [rabbitmq-discuss] RMQ-3.0.0 multi rabbit nodes not
able to start .

You cannot start two applications listening on the same port -
that's impossible. This restriction has nothing to do with
RabbitMQ BTW - it is a general restriction on all operating
system networking APIs.
http://en.wikipedia.org/wiki/Port_%28computer_networking%29

Also see the 'A cluster on a single machine' section of
http://www.rabbitmq.com/clustering.html.

Tim

On 12/04/2012 10:31 AM, PONMUTHU M wrote:
> RabbitMQ 3.0.0
> Erlang R15B02
>
> My Aim is to start multiple nodes comes under same mgnt port
(say
> 15672 in latest version). but its getting crashed&  o/p is
like 15672 port releated .
> please help me to fix this issue.
>
>
> Startup for multi nodes
> ----------------------------------
>
> RABBITMQ_NODENAME=$1 \
> RABBITMQ_NODE_PORT=$2 \
> RABBITMQ_MNESIA_DIR=/tmp/rabbitmq-$1-mnesia \
> RABBITMQ_PLUGINS_EXPAND_DIR=/tmp/rabbitmq-$1-plugins-scratch \

> RABBITMQ_LOG_BASE=/tmp \
> RABBITMQ_SERVER_START_ARGS="-rabbitmq_management port 15672" \

> ${RMQ_ROOT_PATH}rabbitmq-server&  # -detached
>
>
> :::Error :::
>
>
> +---+ +---+
> | | | |
> | | | |
> | | | |
> | +---+ +-------+
> | |
> | RabbitMQ +---+ |
> | | | |
> | v3.0.0 +---+ |
> | |
> +-------------------+
> AMQP 0-9-1 / 0-9 / 0-8
> Copyright (C) 2007-2012 VMware, Inc.
> Licensed under the MPL. See http://www.rabbitmq.com/
>
> .
> .
> . (lot of lines)
> .
> BOOT FAILED
> ===========
>
> Error description:
> {could_not_start,rabbitmq_management,
> {could_not_start_listener,[{port,15672}],eaddrinuse}}
>
> Log files (may contain more information):
> /tmp/test1.log
> /tmp/test1-sasl.log
>
> {"init terminating in
>
do_boot",{rabbit,failure_during_boot,{could_not_start,rabbitmq_m
anagem
> ent,{could_not_start_listener,[{port,15672}],eaddrinuse}}}}
>
> Crash dump was written to: erl_crash.dump init terminating in
do_boot
> ()
>
>
>
> --
> View this message in context:
>
http://rabbitmq.1065348.n5.nabble.com/RMQ-3-0-0-multi-rabbit-nod
es-not
> -able-to-start-tp23817.html Sent from the RabbitMQ mailing
list
> archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
>
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-dis
cuss




More information about the rabbitmq-discuss mailing list