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

Jenkins won't restart itself through the GUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Jenkins never manage to restart itself after a plugin or version update. It must always be manually restarted through the windows service manager.

      System: Windows XP
      Jenkins 1.563

      ERROR LOG:

      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:138)
      at jenkins.model.Jenkins$24.run(Jenkins.java:3336)

        Attachments

          Issue Links

            Activity

            hirre Hirad Asadi created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            danielbeck Daniel Beck made changes -
            Link This issue duplicates JENKINS-22685 [ JENKINS-22685 ]
            hirre Hirad Asadi made changes -
            Description Jenkins never manage to restart itself after a plugin or version update. It must always be manually restarted through the windows service manager.

            System: Windows XP
            Jenkins 1.563
            Jenkins never manage to restart itself after a plugin or version update. It must always be manually restarted through the windows service manager.

            System: Windows XP
            Jenkins 1.563

            ERROR LOG:

            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:138)
            at jenkins.model.Jenkins$24.run(Jenkins.java:3336)
            hirre Hirad Asadi made changes -
            Resolution Duplicate [ 3 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-23395 [ JENKINS-23395 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 155481 ] JNJira + In-Review [ 186202 ]
            nkjensen Niels Kristian Jensen made changes -
            Link This issue relates to JENKINS-50219 [ JENKINS-50219 ]
            nkjensen Niels Kristian Jensen made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            nkjensen Niels Kristian Jensen made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Fixed but Unreleased [ 10203 ]

              People

              Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              hirre Hirad Asadi
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: