[rabbitmq-discuss] Confusion about location of Windows rabbitmq.config

Paul Pearcy paul.pearcy at wallst.com
Tue Jan 18 16:52:52 GMT 2011

Thanks for the details. Not a big deal, but those two values do disagree once you change your RABBITMQ_BASE from the default. 

Matt was able to point me in the right direction:
"you need to set the config file env var, and then uninstall and reinstall the Rabbit service. Just stopping and restarting the service doesn't seem to do the trick."


-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Simon MacMullen
Sent: Sunday, January 16, 2011 4:52 AM
To: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Confusion about location of Windows rabbitmq.config

On 13/01/2011 6:59PM, Paul Pearcy wrote:
> Hello,
> I have been through the install docs a couple of times and am still
> baffled about the location of the rabbitmq.config file on Windows. There
> are two sections:
> Defaults to%RABBITMQ_BASE%\rabbitmq.
> Then in the link for the configuration file, there are the following
> details:
> The location of this configuration file is distribution specific. By
> default, it is located in the following places on each platform:
> *Windows- %APPDATA%\RabbitMQ\rabbitmq.config
> Maybe I am missing something obvious, but these seem to disagree.

I don't think they do, since RABBITMQ_BASE defaults to %APPDATA%\RabbitMQ.

> I have attempted to be explicit instead by setting the following env var:
> RABBITMQ_CONFIG_FILE= D:\rabbitmq\rabbitmq
> I would then expect this to pick up this config file:
> D:\rabbitmq\rabbitmq.config

That looks correct.

> However, none of my settings are taking effect and I can't figure out
> how to tell which config file the rabbitmq install is picking up. What
> is the easiest way for rabbitmq to tell me where it is looking for the
> config file?

Hmm. At the moment, I think you would need to add an echo statement to 
the rabbitmq-server.bat file, something like:


around line 136 or so.

We should probably display this location on startup though.

Cheers, Simon
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com

More information about the rabbitmq-discuss mailing list