[rabbitmq-discuss] problems running rabbitMQ in mac os x snow leopard

Russell Borogove russell at borogove.org
Tue Jul 6 18:51:23 BST 2010


On Jul 6, 2010, at 10:41 AM, Francisco Gonzalez-Blanch wrote:
> I've installed rabbitMQ using mac ports  in Mac Os X snow leopard, and when
> i try to start the server i'm getting the following error:
> 
> {error_logger,{{2010,7,6},{18,47,58}},"Error when reading
> /Users/pacman/.erlang.cookie: eacces",[]}

This is a known bug.

Erlang apps use a "cookie" to coordinate. By default, the MacPorts build of rabbitmq 
looks for the cookie in the home directory of the logged-in user (contra the documentation), 
even though it's running as user 'rabbitmq'.

The easiest fix is to change the ownership of that cookie file to rabbitmq:

chown rabbitmq /Users/pacman/.erlang.cookie

You may also need to set the permissions on the file to 0444 (read-only).

You can also set the cookie value directly on the command line launching rabbitmq-server, 
but that unfortunately isn't an option for rabbitmqctl, so I wouldn't recommend it.

-Russell Borogove
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100706/0cddf419/attachment-0001.htm>


More information about the rabbitmq-discuss mailing list