[rabbitmq-discuss] Problem with Installing RabbitMQ Server 2.5.1

Jerry Kuch jerryk at vmware.com
Fri Jul 8 20:31:16 BST 2011


And of course there are also environment variables letting one specify alternate locations Mnesia data, etc. Then one can set the ownerships and permissions of those as desired for whatever user one runs as: 


http://www.rabbitmq.com/configure.html#define-environment-variables 

----- Original Message -----

From: "Gavin M. Roy" <gmr at myyearbook.com> 
To: "Jerry Kuch" <jerryk at vmware.com> 
Cc: "Matthew Low" <11mdlow at gmail.com>, rabbitmq-discuss at lists.rabbitmq.com 
Sent: Friday, July 8, 2011 12:03:51 PM 
Subject: Re: [rabbitmq-discuss] Problem with Installing RabbitMQ Server 2.5.1 

I'd be less included to run as rabbitmq root using sudo than change the permissions on the requisite /var/lib/rabbitmq and /var/log/rabbitmq directories. 


sudo mkdir /var/lib/rabbitmq 
sudo mkdir /var/log/rabbimq 
sudo chgrp staff /var/log/rabbitmq 
sudo chmod g+w /var/log/rabbitmq 
sudo chgrp staff /var/lib/rabbitmq 
sudo chmod g+w /var/lib/rabbitmq 


Cheers, 

Gavin 


On Fri, Jul 8, 2011 at 2:57 PM, Jerry Kuch < jerryk at vmware.com > wrote: 




Hi, Matthew: 


On OS X, /var/lib is probably owned by root so if you're firing up sbin/rabbitmq-server as your own user account you'll probably get stiff-armed in this way. Try again with 'sudo' and you should be in fine shape. 


Best regards, 
Jerry 



From: "Matthew Low" < 11mdlow at gmail.com > 
To: rabbitmq-discuss at lists.rabbitmq.com 
Sent: Thursday, July 7, 2011 11:03:46 AM 
Subject: [rabbitmq-discuss] Problem with Installing RabbitMQ Server 2.5.1 




Hello, 


I am trying to get a working version of RabbitMQ up and running on my Mac OSX with the generic Unix version. However, I get the following error when I try to start up the server: 



Archon:rabbitmq_server-2.5.0 matthew$ sbin/rabbitmq-server 
Activating RabbitMQ plugins ... 
ERROR: Could not create dir /var/lib/rabbitmq/mnesia/rabbit at Archon-plugins-expand (enoent) 


I have the most recent version of Erlang installed on my machine. I think this may be some sort of read/write permissions problem, but I don't quite know how to fix it. Please help! 


Thanks, 
Matt 







_______________________________________________ 
rabbitmq-discuss mailing list 
rabbitmq-discuss at lists.rabbitmq.com 
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss 


_______________________________________________ 
rabbitmq-discuss mailing list 
rabbitmq-discuss at lists.rabbitmq.com 
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110708/921f085c/attachment.htm>


More information about the rabbitmq-discuss mailing list