Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gitlab-runner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Seipel
gitlab-runner
Commits
13a559fb
You need to sign in or sign up before continuing.
Commit
13a559fb
authored
Feb 19, 2017
by
Ben Bodenmiller
Browse files
Options
Downloads
Patches
Plain Diff
clean FAQ for question 13
parent
02b11061
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/faq/README.md
+17
-19
17 additions, 19 deletions
docs/faq/README.md
with
17 additions
and
19 deletions
docs/faq/README.md
+
17
−
19
View file @
13a559fb
...
@@ -196,22 +196,21 @@ When installing and starting the GitLab Runner service on Windows you can
...
@@ -196,22 +196,21 @@ When installing and starting the GitLab Runner service on Windows you can
meet with such error:
meet with such error:
```
```
$ gitlab-
ci-multi-
runner
.exe
install --password WINDOWS_MACHINE_PASSWORD
$ gitlab-runner install --password WINDOWS_MACHINE_PASSWORD
$ gitlab-
ci-multi-
runner
.exe
start
$ gitlab-runner start
$ FATA[0000] Failed to start GitLab Runner: The service did not start due to a logon failure.
$ FATA[0000] Failed to start GitLab Runner: The service did not start due to a logon failure.
```
```
This error can occur when the user used to execut the service doesn't have
This error can occur when the user used to execut
e
the service doesn't have
the
`SeServiceLogonRight`
permission. In such case you need to add this
the
`SeServiceLogonRight`
permission. In such case you need to add this
permission for the chosen user and then try to start the service again.
permission for the chosen user and then try to start the service again.
You can add
`SeServiceLogonRight`
in two ways:
You can add
`SeServiceLogonRight`
in two ways:
1.
Manually using Administrative Tools:
1.
Manually using Administrative Tools:
-
Go to _Control Panel > System and Security > Administrative Tools_,
-
Go to _Control Panel > System and Security > Administrative Tools_,
-
open the _Local Security Policy_ tool,
-
open the _Local Security Policy_ tool,
-
chose the _Security Settings > Local Policies > User R
I
ghts Assigment_ on the
-
chose the _Security Settings > Local Policies > User R
i
ghts Assig
n
ment_ on the
list on the left,
list on the left,
-
open the _Log on as a service_ on the list on the right,
-
open the _Log on as a service_ on the list on the right,
-
click on the _Add User or Group..._ button,
-
click on the _Add User or Group..._ button,
...
@@ -224,12 +223,11 @@ You can add `SeServiceLogonRight` in two ways:
...
@@ -224,12 +223,11 @@ You can add `SeServiceLogonRight` in two ways:
> **Notice:** The _Local Security Policy_ tool may be not available in some
> **Notice:** The _Local Security Policy_ tool may be not available in some
> Windows versions - for example in "Home Edition" variant of each version.
> Windows versions - for example in "Home Edition" variant of each version.
2.
From command line, using the
`Ntrights.exe`
tool:
1.
From command line, using the
`Ntrights.exe`
tool:
-
Download tools from
[
Microsoft's download site
][
microsoft-ntrights-download
]
,
-
Download tools from
[
Microsoft's download site
][
microsoft-ntrights-download
]
,
-
execute
`ntrights.exe ntrights +r SeServiceLogonRight -u USER_NAME_HERE`
(remember,
-
execute
`ntrights.exe ntrights +r SeServiceLogonRight -u USER_NAME_HERE`
(remember,
that you should provide a full path for
`ntrights.exe`
executable
**or**
add that
that you should provide a full path for
`ntrights.exe`
executable
**or**
add that
path to system's
`
$Path
`
environment variable).
path to system's
`
PATH
`
environment variable).
> **Notice:** The tool was created in 2003 and was initially designed to use
> **Notice:** The tool was created in 2003 and was initially designed to use
> with Windows XP and Windows Server 2003. On [Microsoft sites][microsoft-ntrights-usage-on-win7]
> with Windows XP and Windows Server 2003. On [Microsoft sites][microsoft-ntrights-usage-on-win7]
...
@@ -238,7 +236,7 @@ You can add `SeServiceLogonRight` in two ways:
...
@@ -238,7 +236,7 @@ You can add `SeServiceLogonRight` in two ways:
> on newest Windows versions**.
> on newest Windows versions**.
After adding the
`SeServiceLogonRight`
for the user used in service configuration,
After adding the
`SeServiceLogonRight`
for the user used in service configuration,
the command
`gitlab-
ci-multi-
runner
.exe
start`
should finish without failures
the command
`gitlab-runner start`
should finish without failures
and the service should be started properly.
and the service should be started properly.
[
microsoft-manually-set-seservicelogonright
]:
https://technet.microsoft.com/en-us/library/dn221981
[
microsoft-manually-set-seservicelogonright
]:
https://technet.microsoft.com/en-us/library/dn221981
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment