[rabbitmq-discuss] Clustering problem

Matthias Radestock matthias at rabbitmq.com
Wed Nov 16 08:01:52 GMT 2011


Dmitry,

On 16/11/11 07:52, Pursanov Dmitry wrote:
> Added RABBITMQ_CONSOLE_LOG to env variables, set to reuse(and new after
> some tries), restarted service. But `RabbitMQ.debug` is not being
> created in %APPDATA%\RabbitMQ.

Restarting the service is not enough; you need to re-install the service 
with rabbitmq-service.bat. See 
http://www.rabbitmq.com/install.html#running-windows-service

> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl stop_app
> Stopping node rabbit at R1 ...
> ...done.
>
> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl reset
> Resetting node rabbit at R1 ...
> ...done.
>
> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl start_app
> Starting node rabbit at R1 ...
> ...done.
>
> C:\Program Files (x86)\RabbitMQ
> Server\rabbitmq_server-2.7.0\sbin>rabbitmqctl cluster rabbit at r2
> Clustering node rabbit at R1 with [rabbit at r2] ...
> Error: mnesia_unexpectedly_running

The last two steps are reversed - you need to configure the cluster 
before starting the app.

Regards,

Matthias.


More information about the rabbitmq-discuss mailing list