-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Unable to start the consul service in windows 2012 server #8241
Comments
@jsprojects2 - could you post your consul config file? Also any logs would be helpful too. Whenever we have seen this we have tried a few different approaches (btw, normally this is an indication we messed up our config file) but the most tried and true brute force is we try running the service start command manually (so not as a service but straight from the command line). Often this right away points us to the error. Also, the CLI has a validate command https://www.consul.io/docs/commands/validate that you can try as well, just to make sure things are all good. |
I have the same question.it is worked in windows 10 but not work in windows 2012 server. |
can you add "log_file":"C:/Microservices Tool/consul/Logs/consul.log" See what that gives you for logs? |
Hi, I am able to run the consul application if the command prompt running, But when i am trying to make it as a service , the service is not starting (it says unable to start with the error code is : 1067, please see the log file which might help you to help me out. looking forward to hear from you soon. |
This line in the log seems relevant. I wonder what sent the interrupt signal.
|
what could be the error that we are facing here? |
Not sure if this helps but it looks like your args aren't been passed in correctly We use win nssm instead of sc and have been very happy with it on windows machines |
hello,Im facing same issue with creating consul(latest version) as windows service on windows server 2019. tried everything, what am I missing? |
Same question in windows server 2012! It works well in commond line but can not start as a windows service (errcode:1053). |
Hi,
I am trying to run the consul service in windows 2012 server, I ran the following command from command prompt
sc create "Consul_Service" binPath="C:\Microservices Tool\consul\consul.exe agent -config-dir=C:\Microservices Tool\consul\consul_configA.json" start=auto
the consul.exe is installed in the window sercive.
after that i am running the following command
sc start consul_service
the consul service is unable to run, it is throwing an error
Windows could not start the Consul_Service service on Local Computer.
Error 1067: The process terminated unexpectedly.
Please kindly give us a suggestion to make it working. or do i missed something during installation or any other info.
Originally posted by @jsprojects2 in #2745 (comment)
The text was updated successfully, but these errors were encountered: