# Failed to start Jenkins Continuous Integration Server

**URL:** <https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223>\
**Category:** Ask a question\
**Tags:** question, pipeline\
**Created:** [June 28, 2023, 11:08am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223 "2023-06-28T11:08:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![basavakumar](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@basavakumar](https://community.jenkins.io/u/basavakumar)\
**Post date:** [June 28, 2023, 11:08am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/1 "2023-06-28T11:08:08Z")

</div>

Hi All,

I tried to upgrade the SSH-Slave plugin to latest version to connect the master node with the worker node. When I clicked on restart Jenkins after the installation, the Jenkins stopped but did not start from the web. I went into terminal to start jenkins by ‘sudo systemctl start jenkins’ and Access Denied error came.

After that I took a backup of the Jenkins and tried to install the new Jenkins version for my redhat server. I followed the guide ([Linux](https://www.jenkins.io/doc/book/installing/linux/#red-hat-centos) & [Redhat Jenkins Packages](https://pkg.jenkins.io/redhat-stable/)) to install Jenkins. I tried installing multiple java versions, but journalctl -xe throwed error jenkins: invalid Java version:openjdk version “11” .

Some how the above invalid java error is now gone as I installed the java version from the organization provider and tried to install the Jenkins again.

**Currently below error are coming -**

[root@bnzcicd01 lib]# **sudo systemctl status jenkins**

**●** jenkins.service - Jenkins Continuous Integration Server

Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; vendor preset: disabled)

Active: **failed** (Result: exit-code) since Wed 2023-06-28 18:15:01 CST; 10s ago

Process: 2149530 ExecStart=/usr/bin/jenkins **(code=exited, status=1/FAILURE)**

Main PID: 2149530 (code=exited, status=1/FAILURE)

Jun 28 18:15:01 testserver systemd[1]: **jenkins.service: Main process exited, code=exited, status=1/FAILURE**

Jun 28 18:15:01 testserver systemd[1]: **jenkins.service: Failed with result ‘exit-code’.**

Jun 28 18:15:01 testserver systemd[1]: **Failed to start Jenkins Continuous Integration Server.**

Jun 28 18:15:01 testserver systemd[1]: jenkins.service: Service RestartSec=100ms expired, scheduling restart.

Jun 28 18:15:01 testserver systemd[1]: jenkins.service: Scheduled restart job, restart counter is at 5.

Jun 28 18:15:01 testserver systemd[1]: Stopped Jenkins Continuous Integration Server.

Jun 28 18:15:01 testserver systemd[1]: **jenkins.service: Start request repeated too quickly.**

Jun 28 18:15:01 testserver systemd[1]: **jenkins.service: Failed with result ‘exit-code’.**

Jun 28 18:15:01 testserver systemd[1]: **Failed to start Jenkins Continuous Integration Server.**

**journalctl -xe**  
– Subject: Unit failed

– Defined-By: systemd

– The unit jenkins.service has entered the ‘failed’ state with result ‘exit-code’.

Jun 28 18:15:01 testserver systemd[1]: **Failed to start Jenkins Continuous Integration Server.**

– Subject: Unit jenkins.service has failed

– Defined-By: systemd

– Unit jenkins.service has failed.

– The result is failed.

Jun 28 18:15:11 testserver sudo[2149557]: **root : TTY=pts/2 ; PWD=/var/lib ; USER=root ; COMMAND=/bin/systemctl status jenkins**

Jun 28 18:15:11 testserver sudo[2149557]: pam\_systemd(sudo:session): Cannot create session: Already running in a session or user slice

Jun 28 18:15:11 testserver sudo[2149557]: pam\_unix(sudo:session): session opened for user root by root(uid=0)

Jun 28 18:15:11 testserver sudo[2149557]: pam\_unix(sudo:session): session closed for user root

Jun 28 18:15:21 testserver sshd[2149569]: Accepted password for root from 9.125.75.30 port 57558 ssh2

Jun 28 18:15:21 testserver systemd[1]: Started Session 186 of user root.

– Subject: Unit session-186.scope has finished start-up

– Defined-By: systemd

– Unit session-186.scope has finished starting up.

– The start-up result is done.

Jun 28 18:15:21 testserver systemd-logind[1169]: New session 186 of user root.

– Subject: A new session 186 has been created for user root

– Defined-By: systemd

– A new session with the ID 186 has been created for the user root.

– The leading process of the session is 2149569.

Jun 28 18:15:21 testserver sshd[2149569]: pam\_unix(sshd:session): session opened for user root by (uid=0)

Jun 28 18:15:22 testserver sshd[2149574]: Received disconnect from 9.125.75.30 port 57558:11: disconnected by user

Jun 28 18:15:22 testserver sshd[2149574]: Disconnected from user root 9.125.75.30 port 57558

Jun 28 18:15:22 testserver sshd[2149569]: pam\_unix(sshd:session): session closed for user root

Jun 28 18:15:22 testserver systemd[1]: session-186.scope: Succeeded.

– Subject: Unit succeeded

– Defined-By: systemd

– The unit session-186.scope has successfully entered the ‘dead’ state.

Jun 28 18:15:22 testserver systemd-logind[1169]: Session 186 logged out. Waiting for processes to exit.

Jun 28 18:15:22 testserver systemd-logind[1169]: Removed session 186.

– Subject: Session 186 has been terminated

– Defined-By: systemd

– A session with the ID 186 has been terminated.

[root@bnzcicd01 lib]# **systemctl restart jenkins**

Job for jenkins.service failed because the control process exited with error code.

See “systemctl status jenkins.service” and “journalctl -xe” for details.

[root@bnzcicd01 lib]# **java -version**

**java version “11.0.19” 2023-04-18**

IBM Semeru Runtime Certified Edition 11.0.19.0 (build 11.0.19+7)

Eclipse OpenJ9 VM 11.0.19.0 (build openj9-0.38.0, JRE 11 Linux amd64-64-Bit Compressed References 20230519\_626 (JIT enabled, AOT enabled)

OpenJ9 - d57d05932

OMR - 855813495

JCL - 61e8703a10 based on jdk-11.0.19+7)

**Please look into the logs and let me know if anyone have the solution**

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [June 28, 2023, 2:08pm UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/2 "2023-06-28T14:08:01Z")

</div>

> [@basavakumar](#):
>
> **java version “11.0.19” 2023-04-18**
> 
> IBM Semeru Runtime Certified Edition 11.0.19.0 (build 11.0.19+7)
> 
> Eclipse OpenJ9 VM 11.0.19.0 (build openj9-0.38.0, JRE 11 Linux amd64-64-Bit Compressed References 20230519\_626 (JIT enabled, AOT enabled)
> 
> OpenJ9 - d57d05932

The Jenkins platform SIG stopped all efforts with the OpenJ9 virtual machine (IBM Semeru) about 2 years ago. We didn’t have active contributors that were willing to test it or maintain it.

The hotspot virtual machine is available from Eclipse Temurin for Java 11 on amd64, aarch64, s390x, and ppc64le. The hotspot virtual machine is regularly tested with Jenkins on multiple architectures.  
Use the hotspot virtual machine, not the OpenJ9 virtual machine.

---

<div class="post-metadata">

**Author:** ![basavakumar](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@basavakumar](https://community.jenkins.io/u/basavakumar)\
**Post date:** [June 28, 2023, 5:26pm UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/3 "2023-06-28T17:26:54Z")

</div>

I tried by installing open JDK from official website, same issue persisted.  
Currently I installed java version 17 from [IBM Developer](https://developer.ibm.com/languages/java/semeru-runtimes/downloads/?license=IBM) .

The issue is still occurring .

The current java version I am using

> Blockquote  
> [root@bnzcicd01 ~]# java -version  
> java version “17.0.7” 2023-04-18  
> IBM Semeru Runtime Certified Edition 17.0.7.0 (build 17.0.7+7)  
> Eclipse OpenJ9 VM 17.0.7.0 (build openj9-0.38.0, JRE 17 Linux amd64-64-Bit Compressed References 20230418\_417 (JIT enabled, AOT enabled)  
> OpenJ9 - d57d05932  
> OMR - 855813495  
> JCL - 7a1e0864e99 based on jdk-17.0.7+7)

---

<div class="post-metadata">

**Author:** ![basavakumar](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@basavakumar](https://community.jenkins.io/u/basavakumar)\
**Post date:** [June 28, 2023, 5:29pm UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/4 "2023-06-28T17:29:56Z")

</div>

[root@bnzcicd01 ~]# journalctl -xe

– Subject: Unit succeeded

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– The unit sysstat-collect.service has successfully entered the ‘dead’ state.

Jun 29 01:20:09 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: Started system activity accounting tool.

– Subject: Unit sysstat-collect.service has finished start-up

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– Unit sysstat-collect.service has finished starting up.

–

– The start-up result is done.

Jun 29 01:25:00 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: Starting Check pmlogger instances are running…

– Subject: Unit pmlogger\_check.service has begun start-up

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– Unit pmlogger\_check.service has begun starting up.

Jun 29 01:25:00 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: Started Check pmlogger instances are running.

– Subject: Unit pmlogger\_check.service has finished start-up

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– Unit pmlogger\_check.service has finished starting up.

–

– The start-up result is done.

Jun 29 01:25:01 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: pmlogger\_check.service: Succeeded.

– Subject: Unit succeeded

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– The unit pmlogger\_check.service has successfully entered the ‘dead’ state.

Jun 29 01:25:20 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: Starting Check and migrate non-primary pmlogger farm instances…

– Subject: Unit pmlogger\_farm\_check.service has begun start-up

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– Unit pmlogger\_farm\_check.service has begun starting up.

Jun 29 01:25:20 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: Started Check and migrate non-primary pmlogger farm instances.

– Subject: Unit pmlogger\_farm\_check.service has finished start-up

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– Unit pmlogger\_farm\_check.service has finished starting up.

–

– The start-up result is done.

Jun 29 01:25:20 [bnzcicd01.cn.ibm.com](http://bnzcicd01.cn.ibm.com) systemd[1]: pmlogger\_farm\_check.service: Succeeded.

– Subject: Unit succeeded

– Defined-By: systemd

– Support: [Red Hat Customer Experience & Engagement - Red Hat Customer Portal](https://access.redhat.com/support)

–

– The unit pmlogger\_farm\_check.service has successfully entered the ‘dead’ state.

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [June 28, 2023, 5:32pm UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/5 "2023-06-28T17:32:50Z")

</div>

> [@basavakumar](#):
>
> Eclipse OpenJ9 VM 17.0.7.0 (build openj9-0.38.0, JRE 17 Linux amd64-64-Bit Compressed

That’s the Eclipse OpenJ9 virtual machine. The Jenkins project does not test with the Eclipse OpenJ9 virtual machine. We test with the Eclipse Temurin hotspot virtual machine.

---

<div class="post-metadata">

**Author:** ![adeelahmed11](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/adeelahmed11/32/5482_2.png) [@adeelahmed11](https://community.jenkins.io/u/adeelahmed11)\
**Post date:** [September 14, 2023, 4:53am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/6 "2023-09-14T04:53:52Z")

</div>

Hi,  
I am unable to run Jenkins on Linux please check below log

> **Click here to expand**
>
> ```
> ------------------------linux version--------------------------------------
> NAME="Ubuntu"
> VERSION="20.04.6 LTS (Focal Fossa)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 20.04.6 LTS"
> VERSION_ID="20.04"
> VERSION_CODENAME=focal
> UBUNTU_CODENAME=focal
> ------------------java version---------------------------------------
> openjdk version "17.0.8.1" 2023-08-24
> OpenJDK Runtime Environment (build 17.0.8.1+1-Ubuntu-0ubuntu120.04)
> OpenJDK 64-Bit Server VM (build 17.0.8.1+1-Ubuntu-0ubuntu120.04, mixed mode, sharing)
> ----------------------------------------error log-------------------------------------------
> Sep 14 04:29:37 mentorox jenkins[2438]: Running from: /usr/share/java/jenkins.war
> Sep 14 04:29:37 mentorox jenkins[2438]: 2023-09-14 04:29:37.847+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
> Sep 14 04:29:37 mentorox jenkins[2438]: 2023-09-14 04:29:37.969+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.049+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; git: 68017dbd00236bb7e187330d7585a059610f661d; jvm 17.0.8.1+1-Ubuntu-0ubuntu120.04
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.215+0000 [id=1] SEVERE o.e.jetty.xml.XmlParser$Handler#fatalError: Fatal SAX Parse Issue @null line:1 col:1 : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.216+0000 [id=1] WARNING o.e.jetty.webapp.WebAppContext#doStart: Failed startup of context w.@67d48005{/,file:///var/cache/jenkins/war/,STOPPED}{/var/cache/jenkins/war}
> Sep 14 04:29:38 mentorox jenkins[2438]: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:202)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:251)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:41)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:243)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.MetaData.setWebDescriptor(MetaData.java:224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:62)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Configurations.preConfigure(Configurations.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:509)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:164)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:531)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.start(Server.java:470)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.doStart(Server.java:415)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.(Launcher.java:205)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.main(Launcher.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> Sep 14 04:29:38 mentorox jenkins[2438]: at executable.Main.main(Main.java:347)
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.229+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStop: Stopped Server@7ff2a664{STOPPING}[10.0.15,sto=0]
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.230+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStop: Stopped w.@67d48005{/,null,STOPPED}{/var/cache/jenkins/war}
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.231+0000 [id=1] INFO winstone.Logger#logInternal: Jetty shutdown successfully
> Sep 14 04:29:38 mentorox jenkins[2438]: java.io.IOException: Failed to start Jetty
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.(Launcher.java:209)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.main(Launcher.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> Sep 14 04:29:38 mentorox jenkins[2438]: at executable.Main.main(Main.java:347)
> Sep 14 04:29:38 mentorox jenkins[2438]: Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:202)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:251)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:41)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:243)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.MetaData.setWebDescriptor(MetaData.java:224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:62)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Configurations.preConfigure(Configurations.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:509)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:164)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:531)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.start(Server.java:470)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.doStart(Server.java:415)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.(Launcher.java:205)
> Sep 14 04:29:38 mentorox jenkins[2438]: ... 6 more
> Sep 14 04:29:38 mentorox jenkins[2438]: 2023-09-14 04:29:38.233+0000 [id=1] SEVERE winstone.Logger#logInternal: Container startup failed
> Sep 14 04:29:38 mentorox jenkins[2438]: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1013)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:202)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.xml.XmlParser.parse(XmlParser.java:251)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Descriptor.parse(Descriptor.java:41)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebDescriptor.parse(WebDescriptor.java:243)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.MetaData.setWebDescriptor(MetaData.java:224)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:62)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.Configurations.preConfigure(Configurations.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:509)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:164)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:531)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:171)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.start(Server.java:470)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:89)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.server.Server.doStart(Server.java:415)
> Sep 14 04:29:38 mentorox jenkins[2438]: at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.(Launcher.java:205)
> Sep 14 04:29:38 mentorox jenkins[2438]: Caused: java.io.IOException: Failed to start Jetty
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.(Launcher.java:209)
> Sep 14 04:29:38 mentorox jenkins[2438]: at winstone.Launcher.main(Launcher.java:496)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> Sep 14 04:29:38 mentorox jenkins[2438]: at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> Sep 14 04:29:38 mentorox jenkins[2438]: at executable.Main.main(Main.java:347)
> Sep 14 04:29:38 mentorox systemd[1]: jenkins.service: Main process exited, code=exited, status=1/FAILURE
> ------------------------------------------------------------------------------------------------------
> ```

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [September 14, 2023, 7:24am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/7 "2023-09-14T07:24:06Z")

</div>

Hello and welcome to this community, @adeelahmed11. 👋

How did you install Jenkins on your machine? What is the version of Jenkins you’re running?  
Could you please download the [latest LTS war](https://get.jenkins.io/war-stable/2.414.1/jenkins.war) and try it on the command line with `java -jar jenkins.war` ?  
Can you install the [Temurin JDK](https://adoptium.net/temurin/releases/?os=linux&arch=x64) and see if it gives a different output?  
You can have several JDKs installed at the same time on your machine, I give a few hints about it in this blog post: [A glimpse of the future](https://www.jenkins.io/blog/2023/08/30/a-glimpse-of-the-future/) .

---

<div class="post-metadata">

**Author:** ![adeelahmed11](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/adeelahmed11/32/5482_2.png) [@adeelahmed11](https://community.jenkins.io/u/adeelahmed11)\
**Post date:** [September 15, 2023, 9:08am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/8 "2023-09-15T09:08:10Z")

</div>

Hi,  
Thanks for the replay i can run on CLI with the java command and it runs successfully.  
I have only one java installed openjdk version “17.0.8.1” 2023-08-24  
I am using the latest Version 2.414.1  
but its not starting as a service/startup

Regards,

---

<div class="post-metadata">

**Author:** ![713thadler](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/713thadler/32/11755_2.png) [@713thadler](https://community.jenkins.io/u/713thadler)\
**Post date:** [November 23, 2024, 9:10pm UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/9 "2024-11-23T21:10:27Z")

</div>

Hi  
I just had same issue and was able to solve it by changing the http adress to download the STABLE debian version of Jenkins.

1. **Weekly Release (unstable):**  
`https://pkg.jenkins.io/debian`
2. **Stable Release:**  
`https://pkg.jenkins.io/debian-stable`  
follow these instructions [Debian Jenkins Packages](https://pkg.jenkins.io/debian-stable/)

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [November 26, 2024, 11:02am UTC](https://community.jenkins.io/t/failed-to-start-jenkins-continuous-integration-server/8223/10 "2024-11-26T11:02:38Z")

</div>

Thanks for the tip, @713thadler ! 👍
