Tuesday, January 17, 2012

Working with RabbitMQ and MacPorts

I have installed RabbitMQ with MacPorts on my Snow Leopard laptop.

I have run into a problem with the server restart after a reboot.

The launchctl agent provided by macports starts the "rabbitmq@localhost" but the node created during the installation (with the erlang cookie) is set to the "rabbitmg@machinename".

I think that there are two solutions: one, alter the launchctl agent (unloading it, changing it and reloading) or, two, setting a rabbitmq-env.conf file and forcing the node name to be equal to the installed node. I chose the latter and it worked.

2 comments: