I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Sunny Dyal
root@sunny-workstation:~# 
              RabbitMQ 3.2.4. Copyright (C) 2007-2013 GoPivotal, Inc.
  ##  ##      Licensed under the MPL.  See http://www.rabbitmq.com/
  ##  ##
  ##########  Logs: /var/log/rabbitmq/hare.log
  ######  ##        /var/log/rabbitmq/hare-sasl.log
  ##########
              Starting broker...

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

Error description:
   {could_not_start,rabbitmq_stomp,
       {{shutdown,
            {failed_to_start_child,'rabbit_stomp_listener_sup_:::61613',
                {shutdown,
                    {failed_to_start_child,tcp_listener,
                        {cannot_listen,{0,0,0,0,0,0,0,0},61613,eaddrinuse}}}}},
        {rabbit_stomp,start,[normal,[]]}}}

Above error indicates that 61613 address already in use. Stomp is listening on 61613 port. I am exploring how to change/define stomp listener port while creating a new node.
Please help if somebody already know solution.




_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Michael Klishin-2
 On 19 May 2014 at 20:06:57, Sunny Dyal ([hidden email]) wrote:
> > Above error indicates that 61613 address already in use. Stomp  
> is listening on 61613 port. I am exploring how to change/define  
> stomp listener port while creating a new node.

See Configuring the adapter on
http://www.rabbitmq.com/stomp.html
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Sunny Dyal
Hi Michael,

How a single configuration file work for multiple nodes. Do we need to use any command line parameter to specify config file? 

Kind Regards

Sunny Dyal


On Tue, May 20, 2014 at 12:50 AM, Michael Klishin <[hidden email]> wrote:
 On 19 May 2014 at 20:06:57, Sunny Dyal ([hidden email]) wrote:
> > Above error indicates that 61613 address already in use. Stomp
> is listening on 61613 port. I am exploring how to change/define
> stomp listener port while creating a new node.

See Configuring the adapter on
http://www.rabbitmq.com/stomp.html
--
MK

Software Engineer, Pivotal/RabbitMQ


_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Michael Klishin-2
 On 20 May 2014 at 09:16:13, Sunny Dyal ([hidden email]) wrote:
> > How a single configuration file work for multiple nodes. Do  
> we need to use any command line parameter to specify config file?  

The config needs to be installed on all nodes. When running N nodes
on a single machine, override config file location and use N separate
config files with different ports.
--  
MK  

Software Engineer, Pivotal/RabbitMQ
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Matthias Radestock-3
On 20/05/14 08:04, Michael Klishin wrote:
>   On 20 May 2014 at 09:16:13, Sunny Dyal ([hidden email]) wrote:
>>> How a single configuration file work for multiple nodes. Do
>> we need to use any command line parameter to specify config file?
>
> The config needs to be installed on all nodes. When running N nodes
> on a single machine, override config file location and use N separate
> config files with different ports.

or you could just specify the stomp config on the command line...

$ rabbitmq-server -detached
$ RABBITMQ_NODE_PORT=5673 RABBITMQ_NODENAME=hare
RABBITMQ_SERVER_START_ARGS="-rabbitmq_stomp tcp_listeners [61614]"
rabbitmq-server -detached
$ RABBITMQ_NODE_PORT=5674 RABBITMQ_NODENAME=flopsy
RABBITMQ_SERVER_START_ARGS="-rabbitmq_stomp tcp_listeners [61615]"
rabbitmq-server -detached

etc.

Matthias.
_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Reply | Threaded
Open this post in threaded view
|

Re: I am stuck with "A cluster on a single machine" explained in https://www.rabbitmq.com/clustering.html

Sunny Dyal
Thanks Matthlas. It works like a dream. Thanks RabbitMQ Team.


On Tue, May 20, 2014 at 1:55 PM, Matthias Radestock <[hidden email]> wrote:
On 20/05/14 08:04, Michael Klishin wrote:
  On 20 May 2014 at 09:16:13, Sunny Dyal ([hidden email]) wrote:
How a single configuration file work for multiple nodes. Do
we need to use any command line parameter to specify config file?

The config needs to be installed on all nodes. When running N nodes
on a single machine, override config file location and use N separate
config files with different ports.

or you could just specify the stomp config on the command line...

$ rabbitmq-server -detached
$ RABBITMQ_NODE_PORT=5673 RABBITMQ_NODENAME=hare RABBITMQ_SERVER_START_ARGS="-rabbitmq_stomp tcp_listeners [61614]" rabbitmq-server -detached
$ RABBITMQ_NODE_PORT=5674 RABBITMQ_NODENAME=flopsy RABBITMQ_SERVER_START_ARGS="-rabbitmq_stomp tcp_listeners [61615]" rabbitmq-server -detached

etc.

Matthias.


_______________________________________________
rabbitmq-discuss mailing list
[hidden email]
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss