[erlang-questions] Help running Erlang as a Service on XP Embedded
Robert Raschke
rtrlists@REDACTED
Wed Dec 12 19:27:21 CET 2012
It is probably an Erlang cookie mismatch. I can't off the top of my head
remember where Erlang stores the cookies by default. I always set them
explicitly.
The mismatch is likely, since your Service will be running in a different
context to your status invocation.
Hope this helps,
Robby
On Dec 12, 2012 4:43 PM, "Daniel Lewis" <DanielLewis@REDACTED>
wrote:
> Hi,****
>
> ** **
>
> I need some help getting Erlang to run as a Windows service on XP Embedded.
> ****
>
> ** **
>
> 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)****
>
> ** **
>
> Everything runs well when I start all the components in the foreground.***
> *
>
> ** **
>
> 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:****
>
> ** **
>
> ****
>
> C:\PROGRA~1\TICKET~1\TMDS\rabbitmq\sbin>rabbitmqctl.bat status****
>
> ** **
>
> "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****
>
> -nodename rabbit@REDACTED -extra status****
>
> ** **
>
> Status of node 'rabbit@REDACTED' ...****
>
> Error: unable to connect to node 'rabbit@REDACTED': nodedown****
>
> diagnostics:****
>
> - nodes and their ports on DANIEL-WYSE:
> [{'RabbitMQ',1052},{rabbitmqctl,3072}]****
>
> - current node: 'rabbitmqctl@REDACTED'****
>
> - current node home dir: C:\Documents and Settings\Administrator****
>
> - current node cookie hash: ak3qKWQRwDfzEGk9nwYiVQ==****
>
> ** **
>
> ** **
>
> 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****
>
> ** **
>
> Thanks!****
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121212/2fd00a40/attachment.htm>
More information about the erlang-questions
mailing list