<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><font class="Apple-style-span" face="'Times New Roman'" size="3">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:</font><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><br></div><div><font class="Apple-style-span" face="'Times New Roman'">http://www.rabbitmq.com/configure.html#define-environment-variables</font><br><br><hr id="zwchr" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>From: </b>"Gavin M. Roy" <gmr@myyearbook.com><br><b>To: </b>"Jerry Kuch" <jerryk@vmware.com><br><b>Cc: </b>"Matthew Low" <11mdlow@gmail.com>, rabbitmq-discuss@lists.rabbitmq.com<br><b>Sent: </b>Friday, July 8, 2011 12:03:51 PM<br><b>Subject: </b>Re: [rabbitmq-discuss] Problem with Installing RabbitMQ Server 2.5.1<br><br>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.<div><br></div><div>sudo mkdir /var/lib/rabbitmq</div><div>sudo mkdir /var/log/rabbimq</div>
<div>sudo chgrp staff /var/log/rabbitmq</div><div>sudo chmod g+w /var/log/rabbitmq</div><div>sudo chgrp staff /var/lib/rabbitmq</div><div>sudo chmod g+w /var/lib/rabbitmq</div><div><br></div><div>Cheers,</div><div><br>Gavin<br>
<br><div class="gmail_quote">On Fri, Jul 8, 2011 at 2:57 PM, Jerry Kuch <span dir="ltr"><<a href="mailto:jerryk@vmware.com" target="_blank">jerryk@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">Hi, Matthew:<div><br></div><div>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.</div>
<div><br></div><div>Best regards,</div><div>Jerry</div><div><br><hr><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt"><b>From: </b>"Matthew Low" <<a href="mailto:11mdlow@gmail.com" target="_blank">11mdlow@gmail.com</a>><br>
<b>To: </b><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br><b>Sent: </b>Thursday, July 7, 2011 11:03:46 AM<br><b>Subject: </b>[rabbitmq-discuss] Problem with Installing RabbitMQ Server 2.5.1<div>
<div></div><div class="h5"><br><br>Hello,<div><br></div><div>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:</div>
<div><br></div>
<div><div>Archon:rabbitmq_server-2.5.0 matthew$ sbin/rabbitmq-server </div><div>Activating RabbitMQ plugins ...</div><div>ERROR: Could not create dir /var/lib/rabbitmq/mnesia/rabbit@Archon-plugins-expand (enoent)</div><div>
<br></div><div>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!</div><div><br></div>
<div>Thanks,</div><div>Matt</div><div><div><div><br></div><div><br></div></div></div><br>
</div>
<br></div></div>_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div><br></div></div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div><br></div></div></body></html>