<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Hello Emile and Ann,</font></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Thanks for your help.� Your suggestions were enough to help me solve my problems and get the server up and running. If you would like to know more�detail about what went wrong form me�you can keep reading.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">I did not have an older version installed before my problems began. I installed for the first time Monday per the windows install instructions (not using the binary), but that didn�t work. I went through the install instructions�several times and I think I was making a mess and causing conflicts with various erlang installations and directories for the rabbitmq server. Eventually I understood the process and I wascertain to make sure to set the %ERLANG_HOME% and % RABBITMQ_SERVER% path variables, then add %ERLANG_HOME%\bin and % RABBITMQ_SERVER%\sbin to path, and copy the C:\Windows .erlang.cookie over to replace the cookie in my C:\Users\cmoloney folder. However by this point I think my problem was with the windows service.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">During the multiple installs, I tried to remove the services and use the binary install. Running the binary, the windows service was not removed. I thought the fresh install would overwrite the current service. It did not. The existing service remained and it referenced the old erlang directory. First, I tried to edit the path in the windows service, but could not. Then I looked up how to remove a service and found the SC DELETE command. I used it to remove the service, which it seemed to do because it is no longer in the list. However when I try to install rabbitmq now I am told the �service is already present � only updating service parameters� after that no service appears in the list.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Unfortunately I was not aware of the �rabbitmq-service.bat remove� command when I ran SC DELETE. I do think the presence of some registry values was the root of the problem. I did not discover the trouble shooting page until late in the game, which is odd because I was staring at the install page for hours and the trouble shooting is at the bottom of the install page. For people like me I would say put a link to �Trouble Shooting� at the end of each install section where you have �more info� links. Also I looked for FAQs, Support/Trouble shooting in the nav at the top and did not see it. Eventually I turned to google to search rabbitmq troubleshooting. The first page returned is RabbitMQ � Installation, which I ignored the first time through because of the page title, but later I notice that the text below the title contained troubleshooting.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Another suggestion would be to make a brief mention of �rabbitmq-service remove� in the install section (along with the link trouble shooting) because when I encountered a problem I didn�t continue reading the documentation and overlooked the remove command. Perhaps I should have looked it all over but being hasty I breezed over it, which resulted in more problems. </font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Based on your advice I first checked my registry.� There was a bunch of stuff associated with rabbitmq in the directory where Emile�suggested it would be.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">I checked to see if epmd.exe was running. It was, so I killed it.</font></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">I began by�backing up the registry. I uninstalled erlang. I deleted the rabbitmq registry entries under ErlSrv. I went to add remove programs, found RabbitMQ still had a trace there, removed it. I removed the path variables. I removed the directory in APP_DATA.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Then I restarted. I installed erlang and rabbitmq from the windows package. I restarted after the install.</font></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">The windows install binary did not add the %RABBITMQ_SERVER% variable or add &quot;<span class="code">;%RABBITMQ_SERVER%\sbin</span>&quot; to path. I added these things. I am running windows 7 on a 64bit machine.</font></font></p>

<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">That did the trick. The server runs and I went through the tutorials today.</font></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri">�</font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">Thanks for your advice. I guess, my suggestions would be to add links to trouble shooting at the foot of each operating system�s install guide (and perhaps to the header nav) and to mention the �rabbitmq-service remove�</font></font></p>

<div>�</div>
<div>�</div>
<div>When I was going through the tutorials I got this error message back with every submission to the server: </div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri">C:\Python27\...\pika\callback.py:69: UserWarning: CallbackManager.add: Duplicate callback found for �0:Connection.CloseOk�</font></font></p>

<div>I am not sure if it is associated with my initial problem or if I mistakenly defined the connection twice without clearing the connection. Does that error message mean anything to you?</div>
<div>�</div>
<div>Thanks again.</div>
<div><br>Chris</div>
<div><br><br></div>
<div class="gmail_quote">On Wed, Jul 27, 2011 at 3:18 AM, Ann Witbrock (c) <span dir="ltr">&lt;<a href="mailto:awitbrock@vmware.com">awitbrock@vmware.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 12pt">
<p>Hi Chris,</p>
<p>I&#39;m sorry our troubleshooting instructions weren&#39;t able to help you.</p>
<p>�</p>
<p>Does the rabbitmq service still appear in your list of services?</p>
<p>Is epmd.exe still running in your processes? You may like to kill that.</p>
<p>Did you make any change to the cookie or was that ok?</p>
<p>�</p>
<p>It sounds like you had an older version already installed. Is that correct?</p>
<p>If so, you may need to install the older version combination in order to stop and remove the old service.</p>
<p>After removing the service you should be able to uninstall rabbitmq, remove directories (including mnesia and logs if you want) and uninstall erlang, and remove any�environment variables�you dont want (eg from path and ERLANG_HOME).</p>

<p>Double check there is no RabbitMQ service present and that epmd.exe is not running. You may wish to reboot.</p>
<p>�</p>
<p>After that a clean�fresh install should work ok. Our &quot;experimental&quot; installer works quite well, just ensure you stop, remove and start the service again (or reboot) after adding plugins. Also remember you may need to run some steps as administrator (elevated permission).</p>

<p>�</p>
<p>Ann</p>
<p>�</p>
<p>
<hr>

<p></p>
<div style="FONT-STYLE: normal; FONT-FAMILY: Helvetica, Arial, sans-serif; COLOR: #000; FONT-SIZE: 12pt; FONT-WEIGHT: normal; TEXT-DECORATION: none"><b>From: </b>&quot;Christopher Moloney&quot; &lt;<a href="mailto:cmoloney@vt.edu" target="_blank">cmoloney@vt.edu</a>&gt;<br>
<b>To: </b><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br><b>Sent: </b>Wednesday, 27 July, 2011 1:16:54 AM<br><b>Subject: </b>[rabbitmq-discuss] Installation Trouble on Windows - &quot;The handle is��������invalid&quot; 
<div>
<div></div>
<div class="h5"><br><br>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Hello,</font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">I am new to rabbitmq and these sorts of messaging services. I am having trouble installing RabbitMQ on window7. I would like to use it in conjunction with django-celery to manage a task queue.</font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">I looked around the archives but I didn�t see anything that offered a solution to my problem. </font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Here is a summary of what I have done thus far. First I installed erlang 5.8.4 and rabbitmq 2.5.1 and followed the procedure on the windows install page. Everything seemed to go well, however when I tried to run the server it continually returned node down. In the hello world example using pika I got the message that the connection was actively refused by the machine. So first I checked my firewall to make sure port 5672 was open. Then, I made sure my C:/Windows .erlang.cookie matched the on in my user directory.</font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Starting the server I would get a boot error that was not very descriptive: error, badmatch error.</font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">So I decided to try to uninstall and run the prepackaged windows binaries. Well then there was a windows service error mismatch because I had installed erlang 5.8.4 and the windows binaries used 5.8.3. <span>�</span>The windows service was point to the wrong directory. Service.msc does not allow you to edit the path. I used the SC DELETE command at the terminal to remove the RabbitMQ service imaging that a fresh install would replace the service value with the correct location.</font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Since then I have not been able to add the service back. When I attempt to run �rabbitmq-service install� get the message: Warning, could not set correct service description (comment) Error: The handle is invalid.</font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">The same message comes up when I run any of the commands. I have tried to wipe all traces of erlang and rabbit from my machine to start again, but it has not been possible. I would really like to resolve this matter and get the messaging server up and running.</font></font></p>

<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Any suggestions? I appreciate any assistance.</font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Thanks.</font></font></p>
<p style="MARGIN: 0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">Chris</font></font></p><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></p></div></div></blockquote></div><br>