[erlang-questions] erlsrv on windows 10 problem
Sat Apr 29 21:09:51 CEST 2017
I found a fix that works for me. Note this issue is only on windows 10.
Set this registry entry:
Create AutoStartDelay as DWORD 32 bit and set to decimail 1 in this key:
On Thu, Apr 27, 2017 at 11:01 AM, Wes James <comptekki@REDACTED> wrote:
> I tried this today with 19.3. I have to set the service to Automatic
(Delaye Start) for it to work, like in 18.3. I looked in the eventviewer
and I see these errors:
> Error Service Control Manager
> Under General Tab
> The service terminated with the following error:
> The configuration registry key could not be read.
> A little further down
> Error ErlSrv
> Under General Tab
> servicename: Could not get registry keys for erlang service.
> Which is odd since it does work when delayed. It's like it's waiting for
some other service to start but hasn't yet so it quits. I'm not sure what
it's depending on before starting successfully in delayed start.
> On Fri, Apr 29, 2016 at 11:59 PM, Dan Gudmundsson <dgud@REDACTED> wrote:
>> Well you got it run at all, that is something, I have disabled our
>> services on Windows 10 for now, master branch, since I could not get it
run at all.
>> From what I googled and understood you will need start the services from
an elevated shell, an administer user is not enough.
>> But you might already do that or I got it wrong.
>> Anyway, our Windows knowledge, and priority, is not at the highest level.
>> So any help would be appreciated.
>> On Fri, Apr 29, 2016 at 5:55 PM Wes James <comptekki@REDACTED> wrote:
>>> I use erlsrv to install an erlang application on windows. Windows 7
works fine, but on windows 10, I have to go in and change the service from
automatic to Automatic (delayed start), otherwise the app never runs on
system start up. Any idea how to fix this?
>>> I just found this windows command:
>>> sc config SVCNAME start= delayed-auto
>>> I can use that in the install script.
>>> I'd still like it to start with just automatic. With the delayed
option, it takes several extra minutes for the service to start running.
>>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions