Installing Jenkins on Windows Server 2012 Standard fails

844 views
Skip to first unread message

Drew Mace

unread,
Nov 25, 2012, 9:26:07 PM11/25/12
to jenkins...@googlegroups.com
I'm trying to install Jenkins on a Windows Server 2012 Standard edition box but hit a snag - I am getting an error: Service 'Jenkins' (Jenkins) failed to start.  Verify that you have sufficient privileges to start system services.  I ran the installer as administrator (elevated privs).  Anyone have any ideas what i could try?

Clemens

unread,
Nov 26, 2012, 6:00:02 AM11/26/12
to jenkins...@googlegroups.com
I dont know if you have tried to start your Service with your command line ?
Do you ?
Enter your cmd (with Admin) and try : "net start Jenkins"
Maybe he will get it this way.

Greetings

MDKF

unread,
Nov 26, 2012, 11:36:40 AM11/26/12
to jenkins...@googlegroups.com
Check for the cause in jenkins.err.log in the directory where jenkins.war is located.

Dirk Kuypers

unread,
Nov 26, 2012, 11:46:55 AM11/26/12
to jenkins...@googlegroups.com
Hi,

you could also try this:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <runtime>
    <generatePublisherEvidence enabled="false"/>
  </runtime>
</configuration>

as
jenkins-slave.exe.config
or
jenkins.exe.config

if you are behind a proxy that does not let you contact external servers to verify program signatures.

BR
Dirk

bearrito

unread,
Nov 26, 2012, 1:46:36 PM11/26/12
to jenkins...@googlegroups.com
I would elevate the service that Jenkins is running under to a local admin. You can then reduce the amount of privileges by trial and error to the appropriate level for your organization.

This isn't a Windows 2012 issue as it occurs on 2008.



On Sunday, November 25, 2012 9:26:07 PM UTC-5, Drew Mace wrote:

jes Struck

unread,
Nov 27, 2012, 3:15:42 AM11/27/12
to jenkins...@googlegroups.com

i would Also make sure you sufficient file permissions the user the service is running as must have r-w full recursive

Drew Mace

unread,
Nov 28, 2012, 11:54:52 AM11/28/12
to jenkins...@googlegroups.com
Well first I want to say thank you to all that replied.

I finally figured out the issue.  Windows Server 2012 has the .Net Framework 4 installed by default.  Jenkins needs the 3.5 Framework.  Once I installed the 3.5 framework, things installed perfectly.  Hope this helps other users in the future.


On Sunday, November 25, 2012 9:26:07 PM UTC-5, Drew Mace wrote:

bearrito

unread,
Nov 28, 2012, 5:23:56 PM11/28/12
to jenkins...@googlegroups.com
Haha. Didn't think about that. Would be great if the installer would check for that.

Steven Scott

unread,
Nov 28, 2012, 10:28:53 PM11/28/12
to jenkins...@googlegroups.com
I have not used that OS, but as rule with Windows 7+, I run the Command prompt as Administrator, and even File Explorer as administrator, then do the install.  If I can when running the actual installer, I try to right click and run it as Administrator as well.  Not running the command prompt as administrator usually causes the failures.
Reply all
Reply to author
Forward
0 new messages