Run jenkins as a service and users rights

33 views
Skip to first unread message

Nicolas M

unread,
Nov 15, 2016, 4:13:03 AM11/15/16
to Jenkins Users
Hello,

I have installed a new Jenkins 2 as a service, and configured it to run as user Admin through windows service manager.
This helped me fixing some SVN checkout problems, however I cannot restart Jenkins automatically any more via the url http://myjenkins/restart

I've got this permission error :
AVERTISSEMENT: Failed to restart Jenkins
java.io.IOException: Restarting a service
[Jenkins] $ "C:\Program Files (x86)\Jenkins\jenkins.exe" restart!
System.Exception: Failed to invoke restart: 193
   at winsw.WrapperService.Run(String[] _args)
   at winsw.WrapperService.Main(String[] args)

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

Do you know how I could fix this ?
Thanks

Nicolas M

unread,
Nov 23, 2016, 3:14:59 AM11/23/16
to Jenkins Users
Up :-)
Reply all
Reply to author
Forward
0 new messages