I've configured a slave agent in Jenkins and when I press the Launch
Slave Agent, I get this error:
Connecting to
my.domain.org
ERROR: Access is denied. See
http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM
for more information about how to resolve this.
org.jinterop.dcom.common.JIException: Access is denied, please check
whether the [domain-username-password] are correct. Also, if not
already done please check the GETTING STARTED and FAQ sections in
readme.htm. They provide information on how to correctly configure the
Windows machine for DCOM access, so as to avoid such exceptions.
[0x00000005]
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542)
at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:
458)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
at org.jvnet.hudson.wmi.WMI.connect(WMI.java:41)
at
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:
139)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:194)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: rpc.FaultException: Received fault. (unknown)
at
rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:
142)
at rpc.Stub.call(Stub.java:112)
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538)
... 10 more
I then followed all the instructions specified at:
http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM
And, tcpdump shows:
07:15:37.037996 IP 10.1.28.117.49893 > 10.1.30.86.epmap: S
2268091451:
2268091451(0) win 5840 <mss 1460,sackOK,timestamp
1726477449 0,nop,wscale 6>
07:15:37.038634 IP 10.1.30.86.epmap > 10.1.28.117.49893: S
2276819235:
2276819235(0) ack
2268091452 win 8192 <mss 1460,nop,wscale
8,sackOK,timestamp 787860 1726477449>
07:15:37.038694 IP 10.1.28.117.49893 > 10.1.30.86.epmap: . ack 1 win
92 <nop,nop,timestamp 1726477450 787860>
07:15:37.039056 IP 10.1.28.117.49893 > 10.1.30.86.epmap: F 1:1(0) ack
1 win 92 <nop,nop,timestamp 1726477450 787860>
07:15:37.039659 IP 10.1.30.86.epmap > 10.1.28.117.49893: . ack 2 win
260 <nop,nop,timestamp 787860 1726477450>
07:15:37.039661 IP 10.1.30.86.epmap > 10.1.28.117.49893: F 1:1(0) ack
2 win 260 <nop,nop,timestamp 787860 1726477450>
07:15:37.039744 IP 10.1.28.117.49893 > 10.1.30.86.epmap: . ack 2 win
92 <nop,nop,timestamp 1726477451 787860>
07:15:37.040280 IP 10.1.28.117.49894 > 10.1.30.86.epmap: S
2261291946:2261291946(0) win 5840 <mss 1460,sackOK,timestamp
1726477451 0,nop,wscale 6>
07:15:37.040707 IP 10.1.30.86.epmap > 10.1.28.117.49894: S
3116305806:3116305806(0) ack 2261291947 win 8192 <mss 1460,nop,wscale
8,sackOK,timestamp 787860 1726477451>
07:15:37.040741 IP 10.1.28.117.49894 > 10.1.30.86.epmap: . ack 1 win
92 <nop,nop,timestamp 1726477452 787860>
07:15:37.041823 IP 10.1.28.117.49894 > 10.1.30.86.epmap: P 1:137(136)
ack 1 win 92 <nop,nop,timestamp 1726477453 787860>
07:15:37.042757 IP 10.1.30.86.epmap > 10.1.28.117.49894: P 1:257(256)
ack 137 win 260 <nop,nop,timestamp 787861 1726477453>
07:15:37.042806 IP 10.1.28.117.49894 > 10.1.30.86.epmap: . ack 257 win
108 <nop,nop,timestamp 1726477454 787861>
07:15:37.044422 IP 10.1.28.117.49894 > 10.1.30.86.epmap: P
137:339(202) ack 257 win 108 <nop,nop,timestamp 1726477455 787861>
07:15:37.258738 IP 10.1.30.86.epmap > 10.1.28.117.49894: . ack 339 win
259 <nop,nop,timestamp 787882 1726477455>
07:15:37.258846 IP 10.1.28.117.49894 > 10.1.30.86.epmap: P 339:411(72)
ack 257 win 108 <nop,nop,timestamp 1726477670 787882>
07:15:37.259411 IP 10.1.30.86.epmap > 10.1.28.117.49894: P 257:313(56)
ack 411 win 259 <nop,nop,timestamp 787882 1726477670>
07:15:37.260268 IP 10.1.28.117.49894 > 10.1.30.86.epmap: P
411:563(152) ack 313 win 108 <nop,nop,timestamp 1726477671 787882>
07:15:37.261563 IP 10.1.30.86.epmap > 10.1.28.117.49894: P 313:345(32)
ack 563 win 258 <nop,nop,timestamp 787882 1726477671>
07:15:37.261565 IP 10.1.30.86.epmap > 10.1.28.117.49894: F 345:345(0)
ack 563 win 258 <nop,nop,timestamp 787882 1726477671>
07:15:37.261994 IP 10.1.28.117.49894 > 10.1.30.86.epmap: F 563:563(0)
ack 346 win 108 <nop,nop,timestamp 1726477673 787882>
07:15:37.262504 IP 10.1.30.86.epmap > 10.1.28.117.49894: . ack 564 win
258 <nop,nop,timestamp 787883 1726477673>
I am not lost. I don't know how to proceed to get this to work. Can
anybody help me figure this out?
Thanks!
Eric