Repository navigation
Replies: 1 comment
|
This usually means Windows Service Control Manager (SCM) could not get a write lock while installing the runner as a service. With Fix
cd C:\actions-runner
.\config.cmd --url https://github.com/<org-or-repo> --token <TOKEN> --runasservice
.\config.cmd --url https://github.com/<org-or-repo> --token <TOKEN>
.\svc.cmd install
.\svc.cmd startAlso check
If this solves it, please mark as accepted. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using the actions-runner version 2.316.1 but still getting the error saying "Failed to Lock Service Database for Write" while trying to register an Azure VM as github runner. Please suggest how do we fix it? I am trying to register VM as github runner through "az vm run-command" and using config.cmd.
All reactions