I'm trying to get Jenkins installed as a service on a Windows Server 2008 Datacenter (SP2). I can't seem to get it to run as a service and am looking for any ideas to help get it going.
When I try install Jenkins with native Windows package I get "Error 1920. Service Jenkins failed to start." in msiexec logs.
I've performed the following steps for manual installation:
- Installed java 32 bit
- Started Jenkins with java -jar jenkins.war
- Gone to Manage Jenkins and set it to run as a Windows Service.
- Told Jenkins to restart itself as a service.
At this point, Jenkins dies and doesn't come back up.
When I try and manually start Jenkins I get error 1053 (service did not respond). I can't spot any log files or other information.
Any ideas or suggestions welcome, I'd also be curious to hear from anyone who has got it working on this O/S (or a windows 2003 server).
Many Thanks
The Answer provided by KCD is complete and quite relevant. But some of the times we face this issue due to a silly mistake too.
I also faced a similar problem, where i was getting the error message when I initiated Jenkins from COMMAND PROMPT.
The command that I was entering was,
After when I referred my own notes, I found the issue to be much simpler. I was using the command wrongly. It should have been:
On entering the commands correctly, the issue got resolved.