[rabbitmq-discuss] 2.4.1, RABBITMQ_SERVER_START_ARGS, and the management plugin

Jason Klassen Jason.Klassen at protegra.com
Fri Jun 17 21:38:36 BST 2011


Hi Simon,

Thanks much, that did the trick.  In the batch file it only would work without no quotes

    set RABBITMQ_SERVER_START_ARGS=-rabbit_mochiweb port 54444

Thanks again,
Jason

-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Simon MacMullen
Sent: June-17-11 12:09 PM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] 2.4.1, RABBITMQ_SERVER_START_ARGS, and the management plugin

Jason is using 2.4.1 though - the listener thing is new in 2.5.0.

Jason - the name of the application is "rabbit_mochiweb" in 2.4.1 and below, and "rabbitmq_mochiweb" in 2.5.0. So I think you need:

RABBITMQ_SERVER_START_ARGS="-rabbit_mochiweb port 54444"

Cheers, Simon

On 16/06/11 17:30, Joseph Marlin wrote:
> You have to configure a listener:
>
> [
>    ...
>    {rabbitmq_mochiweb, [{listeners, [{'*',  [{port, 55670}]},,
>                                      {mgmt, [{port, 55555}]}]}]},
>    ...
> ].
>
> On Jun 16, 12:07 pm, Jason Klassen<Jason.Klas... at protegra.com>  wrote:
>> Hi,
>>
>> We're using rabbitMQ server 2.4.1 and the management plugin.  I want to run the management plugin on a different port than 55672 and have it set using the rabbitmq-server.bat.
>>
>> Using the example from the clustering documentation I added this line
>>
>>      set RABBITMQ_SERVER_START_ARGS="-rabbitmq_mochiweb port 54444"
>>
>> after
>>
>>      setlocal enabledelayedexpansion
>>
>> but then running
>>
>>      rabbitmq-server.bat
>>
>> will successfully activate the plugins but the management plugin 
>> still starts up on 55672 and not 54444
>>
>>     http://localhost:55672/mgmt/#/ =  works
>>     http://localhost:54444/mgmt/#/= fails
>>
>> How can I start the management plugin on a different port using the RABBITMQ_SERVER_START_ARGS?
>>
>> Thanks,
>> Jason Klassen
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin
>> /mailman/listinfo/rabbitmq-discuss
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


--
Simon MacMullen
RabbitMQ, VMware
_______________________________________________
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