kaps
kaps

Reputation: 186

Unable to install Jenkins Slave - as a service

I am getting below error when I try to install Jenkins Slave as a service.

enter image description here

enter image description here

Thanks in advance. I am an admin user on my machine.

Upvotes: 1

Views: 338

Answers (3)

td4u
td4u

Reputation: 454

You are probably executing the script without administrative rights, right? Add the rights and execute

Upvotes: 0

kaps
kaps

Reputation: 186

Thanks you for the replies.

The issue was with the file permissioning. I use cygwin, and changed the file permissions to 777 and it worked.

Upvotes: 0

Shlomi Bazel
Shlomi Bazel

Reputation: 359

The reason it happens is because the Jenkins slave tries to make connection with the Master and gets a denial.

What you have to do is basically to enable make sure all these services are running (Both in Master and Slave):

  1. Remote Procedure Call (RPC)
  2. Remote Procedure Call (RPC) Locator
  3. Remote Registry
  4. Secondary Login
  5. Windows Management Instrumentation
  6. Windows Remote Management (WS-Management)

Upvotes: 1

Related Questions