[erlang-questions] Running a release as a Windows service with erlsrv.exe and start_erl.exe
Fri Jun 10 15:44:28 CEST 2011
Do you know if this issue only affects Windows Server 2008 or does it also
happen on Windows Server 2003?
On Thu, Jun 9, 2011 at 6:55 AM, Ben Godfrey <> wrote:
> Thanks Siri,
> Is there anything I can do to help?
> On 7 June 2011 09:11, Siri Hansen <> wrote:
> > Hi Ben!
> > Unfortunately, the release handling for windows, including erlsrv.erl and
> > start_erl.c, is broken. This was discovered not long ago, after
> > the release_handler test suite where these tests were skipped on windows.
> > are currently working on this issue, and plan to release a correction as
> > soon as possible.
> > Regards
> > 2011/6/6 Ben Godfrey <>
> >> Hello all,
> >> I've been trying to deploy an Erlang application as a Windows service
> >> and not having much luck.
> >> I built a release package using rebar. I'm registering the service as
> >> follows:
> >> c:\erl5.8.3\erts-5.8.3\bin\erlsrv.exe add Rolf -c "Collects system
> >> data for monitoring." -w c:\rolf -m
> >> c:\erl5.8.3\erts-5.8.3\bin\start_erl.exe -debugtype reuse -args
> >> "-setcookie xyz123 ++ -reldir c:\rolf\releases"
> >> This fails with the error "Failed to query BinDir of release." in the
> >> .debug file. Looking at the code for start_erl.exe, this is related to
> >> registry keys. I can't see any sign of any keys which match the
> >> pattern described in the source, but curiously the preceding call to
> >> open a registry key succeeds .
> >> Any one have any idea about any of this stuff?
> >> Server is Windows Server 2008.
> >> Ben
> >> 
> >> 
> >> --
> >> Ben Godfrey, Wandering Hacker
> >> http://aftnn.org | http://twitter.com/afternoon |
> >> http://www.linkedin.com/in/bengodfrey
> >> _______________________________________________
> >> erlang-questions mailing list
> >> http://erlang.org/mailman/listinfo/erlang-questions
> Ben Godfrey, Wandering Hacker
> http://aftnn.org | http://twitter.com/afternoon |
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions