Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows service wont start automatically after boot #2544

Closed
rouen-sk opened this issue Jul 25, 2018 · 3 comments
Closed

Windows service wont start automatically after boot #2544

rouen-sk opened this issue Jul 25, 2018 · 3 comments

Comments

@rouen-sk
Copy link
Contributor

ejabberd 18.06 on Windows Server 2016, installed from installer package.
Windows service has startup type Automatic, but wont start after server boot. Event log provides these error messages:
ejabberd01d41e9505ff3a00: Could not get registry keys for erlang service.
and
The ejabberd01d41e9505ff3a00 service terminated with the following error: The configuration registry key could not be read.

From quick google search it seems that various erlang-based project have this issue, and it can be "resolved" by changing service startup mode to Automatic-delayed. But this effectively prolong offline time of service by 2 more minutes.
Is it possible that ejabberd service is starting "too soon" and should have some other service (registry-related) as dependency?

@cromain
Copy link
Contributor

cromain commented Dec 12, 2018

no clue about this. if any windows user could help, this is welcome.
how can we change service startup mode to Automatic-delayed ? I suggest we apply this in packaging until a windows user finds a better solution.

@cromain cromain self-assigned this Jan 10, 2019
@cromain cromain added this to the ejabberd 19.02 milestone Jan 10, 2019
@cromain
Copy link
Contributor

cromain commented Jan 10, 2019

i fixed several bugs on windows, if someone can provide some guidance about this i'll include fix for 19.02.

@cromain cromain modified the milestones: ejabberd 19.02, ejabberd 19.x Feb 26, 2019
@cromain cromain removed their assignment Aug 14, 2019
@badlop badlop removed this from the ejabberd 21.xx milestone Apr 8, 2021
@badlop
Copy link
Member

badlop commented Apr 8, 2021

No Windows installer is produced since a year ago. Nowadays the preferable method to install ejabberd on Windows machines is using the Docker image. So, this ticket can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants