<div dir="ltr">Depends how you started it: �Either /sbin/service/rabbitmq-server stop or /etc/init.d/.<div><br></div><div style>Of course &#39;kill&#39; will stop it, but the cleanliness of doing the former is preferable in non-emergency circumstances.</div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 6:26 AM, srd <span dir="ltr">&lt;<a href="mailto:srd@duneram.com" target="_blank">srd@duneram.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for your help. �I will give this a try.<br>
<br>
I&#39;ve been starting it wrong all this time.<br>
<br>
what is the best way to stop the server? �up until now I have found no good way to stop it except<br>
<br>
ps -efwww | grep rabbit<br>
and then with that kill off the 4-6 associated jobs.<br>
<br>
Dave<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt; �-------Original Message-------<br>
&gt; �From: Tim Watson &lt;<a href="mailto:tim@rabbitmq.com">tim@rabbitmq.com</a>&gt;<br>
&gt; �To: srd &lt;<a href="mailto:srd@duneram.com">srd@duneram.com</a>&gt;, Discussions about RabbitMQ &lt;<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>&gt;<br>
&gt; �Subject: Re: [rabbitmq-discuss] another question on cookies version 3.0.4<br>
&gt; �Sent: 01 May &#39;13 13:21<br>
&gt;<br>
&gt; �Hi,<br>
&gt;<br>
&gt; �On 1 May 2013, at 14:15, srd wrote:<br>
&gt;<br>
&gt; �&gt; so my questions are:<br>
&gt; �&gt; 1) How does one normally start the server?<br>
&gt;<br>
&gt; �Depending on the platform, either /sbin/service rabbitmq-server start or via /etc/init.d/.<br>
&gt;<br>
&gt; �&gt; 2) my reason for wanting to do cookies is I wanted to setup a multi node cluster (different servers)<br>
&gt; �&gt;����If I start a server (no parameters) on each server the cookie hash is different.<br>
&gt;<br>
&gt; �You need to ensure that all the cookies are the same. You can do this by placing the .erlang.cookie file in the /home/rabbitmq directory on each server.<br>
&gt;<br>
&gt; �&gt; 3) I have looked at the clustering guide but haven&#39;t succeeded in a setup using it.��How does one normally synchronize the cookies across servers?<br>
&gt;<br>
&gt; �That&#39;s up to you - rabbit doesn&#39;t provide anything out of the box to do this.<br>
&gt;<br>
&gt; �&gt; 4) where is the cookie file stored?�� I found one on the rabbitmq user&#39;s root directory.�� Is that where it is stored?<br>
&gt;<br>
&gt; �That&#39;s correct.<br>
&gt;<br>
&gt; �&gt; 5) If I have to set a cookie value, is there a config file where it can be set (or env variable?) and what is the syntax to set it?<br>
&gt; �&gt;<br>
&gt;<br>
&gt; �I would recommend just using the cookie stored in the rabbitmq user&#39;s home directory.<br>
&gt;<br>
&gt; �Cheers,<br>
&gt; �Tim<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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></div></blockquote></div><br></div>