<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Robby and Dave<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I tried Dave's suggestions - I notice no difference when I set the cookie to "yumyumyum" in the batch files  (I still get the "nodedown" message for rabbit@DANIEL-WYSE)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The things Robby wanted to verify do not work.  I cannot use it normally, when I try to connect I get a "Could not connect to Broker" message.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">http://localhost:55672/   returns a message that "Internet Explorer cannot display the webpage"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also, I do not see any log files with today's date on them... they all have old dates, and are probably from when I was running this in the foreground<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Robert Raschke [mailto:rtrlists@googlemail.com]
<br>
<b>Sent:</b> Wednesday, December 12, 2012 1:56 PM<br>
<b>To:</b> Daniel Lewis<br>
<b>Cc:</b> erlang-questions@erlang.org<br>
<b>Subject:</b> Re: [erlang-questions] Help running Erlang as a Service on XP Embedded<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Daniel,<br>
<br>
a few things to verify:<br>
<br>
Is RabbitMQ actually up and running? That is, can you use it normally, connect, create/use exchanges, queues etc.? Is the REST API running? Or the managment plugin?<br>
<br>
If yes, then the next step would be to fix the cookie in the bat files. For that you'll need to unregister the service again, then edit the register service bat to include the -setcookie argument, and as Dave mentions it might be worth ensuring that your local
 name is set to include the host part explicitly as well here. Also add the -setcookie into the rabbitmqctl.bat.<br>
<br>
If your service is in fact not usable at all, then having a closer look at the log files is in order.<br>
<br>
Actually, looking at the log files is a good idea in any case.<br>
<br>
Regards,<br>
Robby<o:p></o:p></p>
<div>
<p class="MsoNormal">On Wed, Dec 12, 2012 at 7:52 PM, Dave Cottlehuber <<a href="mailto:dch@jsonified.com" target="_blank">dch@jsonified.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">On 12 December 2012 20:41, Daniel Lewis <<a href="mailto:DanielLewis@ticketmaster.com">DanielLewis@ticketmaster.com</a>> wrote:<br>
> Hi Robby,<br>
><br>
><br>
><br>
> Thanks for the suggestion.<br>
><br>
><br>
><br>
> I searched for files called ".erlang.cookie" and I only see two of them -<br>
> should there be more?   I checked and these two files are identical,<br>
> including contents, size, and date.<o:p></o:p></p>
</div>
<p class="MsoNormal">Likely if you are running this as a service the home directory will<br>
not be where you are expecting it to be. This was covered in<br>
erlang-question archives in the last few months, I can't recall the<br>
specifics off the top of my head.<br>
<br>
Try adding `-setcookie yumyumyum` to the batch file as suggested earlier.<br>
<br>
You might be able to try setting this up with erlsrv.exe and adding<br>
`-debugtype console` to the parameters. You can then interact with the<br>
hidden service console (winsta0) directly. I don't know if this works<br>
on embedded XP but its a good way to try.<br>
<br>
I'm not sure on the rabbit parameters but your shortname probably<br>
should be "erl  -sname rabbitmqctl@DANIEL-WYSE" if you want to set the<br>
@…. section directly.<br>
<br>
A+<br>
<span class="hoenzb"><span style="color:#888888">Dave</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>