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 10 : service install / service start - "the dependency service does not exits or been marked for deletion." #173

Open
goltvn opened this issue May 29, 2019 · 1 comment

Comments

@goltvn
Copy link

goltvn commented May 29, 2019

Am trying to install the Logger example,

I can install the service by running main.exe -service install.

but if i try to start the service with main -service start - or if i manually try in services.msc to start it i get this error :

image

Any idea to whats going on ? note i am running it as administrator and tried to change user from local account to administrator also but no avail.

GIF if i try to start it manually in services.scv :

https://i.imgur.com/AG3xGH0.gifv

And it is this program with no modification im trying to run :

https://github.com/kardianos/service/blob/master/example/logging/main.go

@lovelykd
Copy link

lovelykd commented Jun 27, 2019

@goltvn
Removing this two strings from dependencies and rebuilding the source can make it work.
Please refer to this issue.

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

No branches or pull requests

2 participants