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

Tim Watson tim at rabbitmq.com
Tue Dec 4 10:32:16 GMT 2012


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_management,{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-nodes-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-discuss



More information about the rabbitmq-discuss mailing list