<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=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.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">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need some help getting Erlang to run as a Windows service on XP Embedded.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am using RabbitMQ for a project I have been assigned, which has Elang as a dependency. This works well on Windows 7, and Windows XP, but I also have to target XP Embedded. This is a non-clustered configuration (currently all components
are on one machine)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Everything runs well when I start all the components in the foreground.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If I start it as a service, I see epmd.exe, erl.exe, and erlsrv.exe running, but it seems like the broker does not respond:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal">C:\PROGRA~1\TICKET~1\TMDS\rabbitmq\sbin>rabbitmqctl.bat status<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">"c:\progra~1\ticketmaster\tmds\erlang\bin\erl.exe" -pa "C:\PROGRA~1\TICKET~1\TMDS\rabbitmq\sbin\..\ebin" -noinput -hidden -sname rabbitmqctl -s rabbit_control<o:p></o:p></p>
<p class="MsoNormal">-nodename rabbit@DANIEL-WYSE -extra status<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Status of node 'rabbit@DANIEL-WYSE' ...<o:p></o:p></p>
<p class="MsoNormal">Error: unable to connect to node 'rabbit@DANIEL-WYSE': nodedown<o:p></o:p></p>
<p class="MsoNormal">diagnostics:<o:p></o:p></p>
<p class="MsoNormal">- nodes and their ports on DANIEL-WYSE: [{'RabbitMQ',1052},{rabbitmqctl,3072}]<o:p></o:p></p>
<p class="MsoNormal">- current node: 'rabbitmqctl@DANIEL-WYSE'<o:p></o:p></p>
<p class="MsoNormal">- current node home dir: C:\Documents and Settings\Administrator<o:p></o:p></p>
<p class="MsoNormal">- current node cookie hash: ak3qKWQRwDfzEGk9nwYiVQ==<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Are there possibly permissions issues? I can grant the service permissions if I knew which ones applied. Any other ideas? I'd appreciate any help I can get<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
</div>
</body>
</html>