[rabbitmq-discuss] AMQP connections closing very frequently

Matthias Radestock matthias at rabbitmq.com
Sat Jun 29 21:16:50 BST 2013


On 29/06/13 20:01, ankitag2010 wrote:
> As mentioned here http://www.rabbitmq.com/configure.html :-
>
> *Verify Configuration*
>
> The active configuration can be verified in the broker log, e.g. the active
> configuration file:
>
> config file(s) : /etc/rabbitmq/rabbitmq.config
>
> There was no such entry in my broker logs,but the server started
> successfully.

Did you instead see an entry stating

config file(s) : (none)

?

> Please let me know if you need anything else.

To track down the problem, locate the 'rabbitmq-server' script in your 
rabbit installation. It should be in the 'scripts' sub-directory of 
wherever rabbit gets installed, and look like 
https://github.com/rabbitmq/rabbitmq-server/blob/master/scripts/rabbitmq-server. 
Edit the RABBITMQ_CONFIG_ARG line (at 
https://github.com/rabbitmq/rabbitmq-server/blob/master/scripts/rabbitmq-server#L96) 
to hardcode the value to

RABBITMQ_CONFIG_ARG="-config /etc/rabbitmq/rabbitmq"

and restart the broker. This *should* either pick up your config file or 
complain in the startup log.


Regards,

Matthias.


More information about the rabbitmq-discuss mailing list