[erlang-questions] Help running Erlang as a Service on XP Embedded

Dave Cottlehuber dch@REDACTED
Wed Dec 12 20:52:41 CET 2012

On 12 December 2012 20:41, Daniel Lewis <DanielLewis@REDACTED> wrote:
> Hi Robby,
> Thanks for the suggestion.
> I searched for files called ".erlang.cookie" and I only see two of them -
> should there be more?   I checked and these two files are identical,
> including contents, size, and date.

Likely if you are running this as a service the home directory will
not be where you are expecting it to be. This was covered in
erlang-question archives in the last few months, I can't recall the
specifics off the top of my head.

Try adding `-setcookie yumyumyum` to the batch file as suggested earlier.

You might be able to try setting this up with erlsrv.exe and adding
`-debugtype console` to the parameters. You can then interact with the
hidden service console (winsta0) directly. I don't know if this works
on embedded XP but its a good way to try.

I'm not sure on the rabbit parameters but your shortname probably
should be "erl  -sname rabbitmqctl@REDACTED" if you want to set the
@…. section directly.


More information about the erlang-questions mailing list