Jenkins is not starting

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins is not starting

Mai Waly
Hi All,

Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.


ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
        at jenkins.model.Jenkins.<init>(Jenkins.java:877)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:165)
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
        at jenkins.model.Jenkins.access$700(Jenkins.java:324)
        at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
---- Debugging information ----
message             : hudson.security.ProjectMatrixAuthorizationStrategy
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
class               : hudson.model.Hudson
required-type       : hudson.model.Hudson
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson/authorizationStrategy
line number         : 8
version             : not available


Thanks & BRs,
Mai Saleh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Daniel Beck
The configuration references the matrix-auth plugin, but it is disabled or failed to load.

> On 10. May 2020, at 16:57, Mai Waly <[hidden email]> wrote:
>
> Hi All,
>
> Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.
>
>
> ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
> SEVERE: Failed to initialize Jenkins
> hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
>         at hudson.WebAppMain$3.run(WebAppMain.java:244)
> Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
>         at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
>         at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
>         at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
>         at jenkins.model.Jenkins.<init>(Jenkins.java:877)
>         at hudson.model.Hudson.<init>(Hudson.java:85)
>         at hudson.model.Hudson.<init>(Hudson.java:81)
>         at hudson.WebAppMain$3.run(WebAppMain.java:227)
> Caused by: java.io.IOException: Unable to read /jenkins/config.xml
>         at hudson.XmlFile.unmarshal(XmlFile.java:165)
>         at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
>         at jenkins.model.Jenkins.access$700(Jenkins.java:324)
>         at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
>         at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>         at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>         at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
>         at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>         at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
> ---- Debugging information ----
> message             : hudson.security.ProjectMatrixAuthorizationStrategy
> cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
> class               : hudson.model.Hudson
> required-type       : hudson.model.Hudson
> converter-type      : hudson.util.RobustReflectionConverter
> path                : /hudson/authorizationStrategy
> line number         : 8
> version             : not available
>
>
> Thanks & BRs,
> Mai Saleh
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2DBA350C-C39D-4977-9C17-1D07C3EF9CCE%40beckweb.net.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

D'raj
In reply to this post by Mai Waly
check permissions of ..jenkins/config.xml file
and check for available disk space on the file system where jenkins is installed.


On Sunday, 10 May 2020 20:27:06 UTC+5:30, Mai Waly wrote:
Hi All,

Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.


ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
        at jenkins.model.Jenkins.<init>(Jenkins.java:877)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:165)
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
        at jenkins.model.Jenkins.access$700(Jenkins.java:324)
        at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
---- Debugging information ----
message             : hudson.security.ProjectMatrixAuthorizationStrategy
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
class               : hudson.model.Hudson
required-type       : hudson.model.Hudson
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson/authorizationStrategy
line number         : 8
version             : not available


Thanks & BRs,
Mai Saleh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6931b201-72cc-4284-912f-1875ad2ba9cd%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
In reply to this post by Daniel Beck
I believe its there not sure why its failing to load, please advise



[jenkins@jenkins-01 /jenkins]$
[jenkins@jenkins-01 /jenkins]$ cd plugins/
[jenkins@jenkins-01 plugins]$ ls -lart | grep matrix
drwxr-xr-x  5 jenkins poppers    4096 Sep 30  2016 matrix-auth
drwxr-xr-x  6 jenkins poppers    4096 Sep 30  2016 matrix-project
[jenkins@jenkins-01 plugins]$ cd matrix-auth
[jenkins@jenkins-01 matrix-auth]$ ls -lart
total 28
drwxr-xr-x  3 jenkins poppers  4096 May 24  2016 WEB-INF
drwxr-xr-x  2 jenkins poppers  4096 May 24  2016 images
-rw-r--r--  1 jenkins poppers     0 Sep 30  2016 .timestamp2
drwxr-xr-x  3 jenkins poppers  4096 Sep 30  2016 META-INF
drwxr-xr-x  5 jenkins poppers  4096 Sep 30  2016 .
drwxr-xr-x 71 jenkins poppers 12288 Nov 28 01:52 ..
[jenkins@jenkins-01 matrix-auth]$ cd WEB-INF/
[jenkins@jenkins-01 WEB-INF]$ ls -lart
total 16
-rw-r--r-- 1 jenkins poppers  568 May 24  2016 licenses.xml
drwxr-xr-x 2 jenkins poppers 4096 May 24  2016 lib
drwxr-xr-x 3 jenkins poppers 4096 May 24  2016 .
drwxr-xr-x 5 jenkins poppers 4096 Sep 30  2016 ..
[jenkins@svr-ies-jenkins-pro-01 WEB-INF]$ cd li
lib/          licenses.xml
[jenkins@jenkins-01 WEB-INF]$ cd lib
[jenkins@jenkins-01 lib]$ ls -lart
total 104
-rw-r--r-- 1 jenkins poppers 91690 May 24  2016 matrix-auth.jar
drwxr-xr-x 3 jenkins poppers  4096 May 24  2016 ..
drwxr-xr-x 2 jenkins poppers  4096 May 24  2016 .





On Sunday, May 10, 2020 at 7:15:04 PM UTC+2, Daniel Beck wrote:
The configuration references the matrix-auth plugin, but it is disabled or failed to load.

> On 10. May 2020, at 16:57, Mai Waly <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="rkG4Dpw8CAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mai...@...> wrote:
>
> Hi All,
>
> Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.
>
>
> ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
> SEVERE: Failed to initialize Jenkins
> hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
>         at hudson.WebAppMain$3.run(WebAppMain.java:244)
> Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
>         at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
>         at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
>         at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
>         at jenkins.model.Jenkins.<init>(Jenkins.java:877)
>         at hudson.model.Hudson.<init>(Hudson.java:85)
>         at hudson.model.Hudson.<init>(Hudson.java:81)
>         at hudson.WebAppMain$3.run(WebAppMain.java:227)
> Caused by: java.io.IOException: Unable to read /jenkins/config.xml
>         at hudson.XmlFile.unmarshal(XmlFile.java:165)
>         at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
>         at jenkins.model.Jenkins.access$700(Jenkins.java:324)
>         at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
>         at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
>         at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
>         at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
>         at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
>         at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
> ---- Debugging information ----
> message             : hudson.security.ProjectMatrixAuthorizationStrategy
> cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
> cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
> class               : hudson.model.Hudson
> required-type       : hudson.model.Hudson
> converter-type      : hudson.util.RobustReflectionConverter
> path                : /hudson/authorizationStrategy
> line number         : 8
> version             : not available
>
>
> Thanks & BRs,
> Mai Saleh
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="rkG4Dpw8CAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
> To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/e571e5d3-4510-4683-952e-fb30f46dfec5%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e11ee7d0-15ab-4420-a4b2-5d3b79c7a16d%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
In reply to this post by D'raj

Permission and disk space looks OK.

[jenkins@jenkins-01 /jenkins]$ df -h
Filesystem                                              Size  Used Avail Use% Mounted on
/dev/mapper/vg00-root                                    99G   81G   13G  87% /

[jenkins@jenkins-01 ~]$ cd /jenkins/
[jenkins@jenkins-01 /jenkins]$ df -h .
Filesystem                                              Size  Used Avail Use% Mounted on
xxxxx:/xxx/xxx/xxxx                               100G   25G   76G  25% /jenkins


[jenkins@jenkins-01 /jenkins]$ ls -lart | grep config.xml
-rw-r--r--    1 jenkins  poppers     63290 Apr  8 07:32 config.xml



On Monday, May 11, 2020 at 7:01:13 AM UTC+2, D'raj wrote:
check permissions of ..jenkins/config.xml file
and check for available disk space on the file system where jenkins is installed.


On Sunday, 10 May 2020 20:27:06 UTC+5:30, Mai Waly wrote:
Hi All,

Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.


ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
        at jenkins.model.Jenkins.<init>(Jenkins.java:877)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:165)
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
        at jenkins.model.Jenkins.access$700(Jenkins.java:324)
        at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
---- Debugging information ----
message             : hudson.security.ProjectMatrixAuthorizationStrategy
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
class               : hudson.model.Hudson
required-type       : hudson.model.Hudson
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson/authorizationStrategy
line number         : 8
version             : not available


Thanks & BRs,
Mai Saleh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/586b8b70-ba1f-4b21-bcaf-aea334c4bdf0%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
In reply to this post by D'raj
Permission and disk space looks OK.

[jenkins@jenkins-01 /jenkins]$ df -h
Filesystem                                              Size  Used Avail Use% Mounted on
/dev/mapper/vg00-root                                    99G   81G   13G  87% /

[jenkins@jenkins-01 ~]$ cd /jenkins/
[jenkins@jenkins-01 /jenkins]$ df -h .
Filesystem                                              Size  Used Avail Use% Mounted on
xxxxx:/xxx/xxx/xxxx                               100G   25G   76G  25% /jenkins


[jenkins@jenkins-01 /jenkins]$ ls -lart | grep config.xml
-rw-r--r--    1 jenkins  poppers     63290 Apr  8 07:32 con


On Monday, May 11, 2020 at 7:01:13 AM UTC+2, D'raj wrote:
check permissions of ..jenkins/config.xml file
and check for available disk space on the file system where jenkins is installed.


On Sunday, 10 May 2020 20:27:06 UTC+5:30, Mai Waly wrote:
Hi All,

Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.


ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
        at jenkins.model.Jenkins.<init>(Jenkins.java:877)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:165)
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
        at jenkins.model.Jenkins.access$700(Jenkins.java:324)
        at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
---- Debugging information ----
message             : hudson.security.ProjectMatrixAuthorizationStrategy
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
class               : hudson.model.Hudson
required-type       : hudson.model.Hudson
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson/authorizationStrategy
line number         : 8
version             : not available


Thanks & BRs,
Mai Saleh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a44663e1-b00c-43cf-89c1-841dfb1e4dbf%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mahima Mishra

1. Try modifying the security tag to false in the config.xml and restart.

2. Validate your config.xml using a xml validator.

3. Try setting Jenkins_home env variable.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ba344598-6ba2-40ee-bb00-3389ce6ac9b0%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
Tried the env variable no help :(


/jenkins > export JENKINS_HOME=/jenkins
root [jenkins--01] /jenkins > echo $JENKINS_HOME
/jenkins
root [jenkins-01] /jenkins > systemctl start jenkins
root [jenkins-01] /jenkins > ps -ef | grep jenkins
jenkins  11231     1 99 08:58 ?        00:00:09 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -Xms1g -Xmx4g -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/jenkins/heapdump.hprof -DJENKINS_HOME=/jenkins -jar /jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 --prefix=/jenkins


XML Validator says valid xml


changing security from true to false will make loss all permissions right?



On Monday, May 11, 2020 at 9:41:55 AM UTC+2, Mahima Mishra wrote:

1. Try modifying the security tag to false in the config.xml and restart.

2. Validate your config.xml using a xml validator.

3. Try setting Jenkins_home env variable.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/646ad295-8339-4322-9040-d50df7877bef%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mahima Mishra
You can always keep a backup of the config file.

Also I suggest you to do this in your test environment and no production. If you don't have one, you can easily create it by copying Jenkins_home folder to a different location.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/949b5f44-2a8e-4f1f-b6f5-3fbfc599a916%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

D'raj
In reply to this post by Mai Waly
try giving 755 permission to config file
and restart jenkins





On Mon, May 11, 2020 at 1:08 PM Mai Waly <[hidden email]> wrote:
Permission and disk space looks OK.

[jenkins@jenkins-01 /jenkins]$ df -h
Filesystem                                              Size  Used Avail Use% Mounted on
/dev/mapper/vg00-root                                    99G   81G   13G  87% /

[jenkins@jenkins-01 ~]$ cd /jenkins/
[jenkins@jenkins-01 /jenkins]$ df -h .
Filesystem                                              Size  Used Avail Use% Mounted on
xxxxx:/xxx/xxx/xxxx                               100G   25G   76G  25% /jenkins


[jenkins@jenkins-01 /jenkins]$ ls -lart | grep config.xml
-rw-r--r--    1 jenkins  poppers     63290 Apr  8 07:32 con


On Monday, May 11, 2020 at 7:01:13 AM UTC+2, D'raj wrote:
check permissions of ..jenkins/config.xml file
and check for available disk space on the file system where jenkins is installed.


On Sunday, 10 May 2020 20:27:06 UTC+5:30, Mai Waly wrote:
Hi All,

Please advise what happen as Jenkins is no longer starting and showing error, there is no gui any more.


ay 10, 2020 7:48:13 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /jenkins/config.xml
        at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
        at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
        at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009)
        at jenkins.model.Jenkins.<init>(Jenkins.java:877)
        at hudson.model.Hudson.<init>(Hudson.java:85)
        at hudson.model.Hudson.<init>(Hudson.java:81)
        at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: java.io.IOException: Unable to read /jenkins/config.xml
        at hudson.XmlFile.unmarshal(XmlFile.java:165)
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:2785)
        at jenkins.model.Jenkins.access$700(Jenkins.java:324)
        at jenkins.model.Jenkins$16.run(Jenkins.java:2803)
        at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
        at jenkins.model.Jenkins$7.runTask(Jenkins.java:998)
        at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
        at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.security.ProjectMatrixAuthorizationStrategy : hudson.security.ProjectMatrixAuthorizationStrategy
---- Debugging information ----
message             : hudson.security.ProjectMatrixAuthorizationStrategy
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : hudson.security.ProjectMatrixAuthorizationStrategy
class               : hudson.model.Hudson
required-type       : hudson.model.Hudson
converter-type      : hudson.util.RobustReflectionConverter
path                : /hudson/authorizationStrategy
line number         : 8
version             : not available


Thanks & BRs,
Mai Saleh

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a44663e1-b00c-43cf-89c1-841dfb1e4dbf%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAATg9TyBRthnD9FPxw9g3daS2K8DML3Qrng49gwn2%2BrM4U3z0Q%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
Do you know what is jpi files as I see my plugin folder has no jpi files only folder for each plugin?

I checked all my other servers it has a jpi + folder for each plugin.

Thanks,
Mai

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/915760a3-ca95-42f1-9846-400dfd7b2181%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mahima Mishra
The *.jpi or *.hpi are nothing but plugins which  are downloaded when you install to load your plugin. Ideally present under JENKINS_HOME/plugins directory.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e576045e-585d-4ee1-96a9-9f7772aa854c%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins is not starting

Mai Waly
Yes its not there I mean I can see foleder for matrix_auth but no .jpi file for it.

While on my test server for each plugin there is a folder and jpi file.

Would that missing jpi files is the reason.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b7eb1d53-b914-4f1e-8b55-893acb5dabf3%40googlegroups.com.