Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16418

Cannot start Windows Server 2012 slave.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • windows-slaves-plugin
    • None
    • Windows Server 2012

      When I try to start the Jenkin slave, we encounter the following error.

      Connecting to 10.0.0.4
      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: Message not found for errorCode: 0x00000005
      at org.jinterop.winreg.smb.JIWinRegStub.winreg_CreateKey(JIWinRegStub.java:297)
      at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:480)
      at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
      at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)
      at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:218)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:204)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.jinterop.dcom.common.JIRuntimeException: Message not found for errorCode: 0x00000005
      at org.jinterop.winreg.IJIWinReg$createKey.read(IJIWinReg.java:459)
      at ndr.NdrObject.decode(NdrObject.java:19)
      at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:138)
      at rpc.Stub.call(Stub.java:112)
      at org.jinterop.winreg.smb.JIWinRegStub.winreg_CreateKey(JIWinRegStub.java:291)
      ... 10 more
      ream.<init>(TransactNamedPipeOutputStream.java:32)
      at jcifs.smb.SmbNamedPipe.getNamedPipeOutputStream(SmbNamedPipe.java:187)
      at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:91)
      at rpc.Stub.attach(Stub.java:104)
      at rpc.Stub.call(Stub.java:109)
      at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKCR(JIWinRegStub.java:119)
      ... 10 more

            kohsuke Kohsuke Kawaguchi
            rizhard albert cheng
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: