hashicorp / hashicorp/consul

Unable to start the consul service in windows 2012 server

Open
#8,241 10 comments 0 reactions 0 assignees View on GitHub
type/question
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

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 https://github.com/hashicorp/consul/issues/2745#issuecomment-653923683_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.