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

Jenkins restart problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None

      When I try to restart Jenkins after an upgrade/update of plugins etc I get the following message in the error log:

      jun 11, 2014 7:43:12 FM hudson.model.UpdateCenter$UpdateCenterConfiguration download
      INFO: Downloading CVS Plugin
      jun 11, 2014 7:43:13 FM hudson.model.UpdateCenter doSafeRestart
      INFO: Scheduling Jenkins reboot
      jun 11, 2014 7:43:13 FM jenkins.model.Jenkins$24 run
      INFO: Restart in 10 seconds
      jun 11, 2014 7:43:23 FM jenkins.model.Jenkins$24 run
      SEVERE: Restarting VM as requested by anonymous
      jun 11, 2014 7:43:24 FM jenkins.model.Jenkins$24 run
      WARNING: Failed to restart Jenkins
      java.io.IOException: Restarting a service
      [Jenkins] $ C:\Program\Jenkins\jenkins.exe restart!
      System.UnauthorizedAccessException: ?tkomst nekad. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
      at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
      at System.Management.ManagementScope.InitializeGuts(Object o)
      at System.Management.ManagementScope.Initialize()
      at System.Management.ManagementScope.Connect()
      at WMI.WmiRoot..ctor(String machineName)
      at WMI.WmiRoot..ctor()
      at winsw.WrapperService.Run(String[] _args)
      at winsw.WrapperService.Main(String[] args)

      at hudson.lifecycle.WindowsServiceLifecycle.restart(WindowsServiceLifecycle.java:139)
      at jenkins.model.Jenkins$24.run(Jenkins.java:3342)

      I use Jenkins 1.567 (Windows XP).

            Unassigned Unassigned
            hirre Hirad Asadi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: