[rabbitmq-discuss] FW: rabbitmqctl with window services

Emile Joubert emile at lshift.net
Fri Jul 31 17:12:57 BST 2009


Alister Morton wrote:
> I think I had the same issue before on windows....simply go to the 
> RabbitMQ service...right click-> properties..... and change the LOGON 
> user to be your username + password....then RabbitMQ should start up and 
> all should be cool ;-)
> 
> That's a bit of a nasty kludge, though. Usually in a production 
> environment you don't want services logging on with real user credentials.

The root cause of the problem is probably that the erlang cookies of the 
  service account and the account running rabbitmqctl.bat are different. 
As an alternative to running the service and rabbitmqctl.bat as the same 
user, you could synchronise the cookies.

There are some instructions at
http://www.rabbitmq.com/install.html#running-windows-service .
Look for %WINDIR%\.erlang.cookie and %HOMEPATH%\.erlang.cookie .

-Emile

-- 

  [][][] Emile Joubert      | Tel: +44 (0)20 7729 7060
    [][] Software Developer | Fax: +44 (0)20 7729 7005
  []  [] www.lshift.net     | Email: emile at lshift.net




More information about the rabbitmq-discuss mailing list