Daniel Beck commented on Bug JENKINS-22685

Are you running Jenkins as a non-default user? Maybe one who's not allowed to restart services? Try to give that user permission to use WMI:

http://technet.microsoft.com/en-us/library/cc787533%28v=WS.10%29.aspx

I'm asking, because in the default setup, it works for me:

Tried with 1.576 on Windows 8.1 Pro installed with the installer. Restart works without issues.

2014-08-21 17:41:00 - Starting C:\Program Files (x86)\Jenkins\jre\bin\java -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\Program Files (x86)\Jenkins\jenkins.war" --httpPort=8080
2014-08-21 17:41:00 - Started 4088
2014-08-21 17:42:26 - Stopping jenkins
2014-08-21 17:42:26 - ProcessKill 4088
2014-08-21 17:42:26 - Send SIGINT 4088
2014-08-21 17:42:26 - SIGINT to 4088 failed - Killing as fallback
2014-08-21 17:42:26 - Send SIGINT 4088
2014-08-21 17:42:26 - SIGINT to 4088 failed - Killing as fallback
2014-08-21 17:42:26 - Finished jenkins
2014-08-21 17:42:28 - Starting C:\Program Files (x86)\Jenkins\jre\bin\java -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "C:\Program Files (x86)\Jenkins\jenkins.war" --httpPort=8080
2014-08-21 17:42:28 - Started 568

Web UI was available again as well.

Then I tried 1.565.1 on the same machine (after resetting the VM to before I installed 1.576).

Again it worked like a charm.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to