What version of the Active Directory plugin do you have? Is it the latest? Regards,
Alex On Fri, Jun 21, 2019 at 7:27 AM Veera Mani <[email protected]> wrote: > > Hi, > > I am running jenkins-2.150.3-1.1.noarch > > > But after Integrating with AD , one fine day the jenkins denied login > for the AD users. > On restart , we found the error on the jenkins console instead of login > menu. > > Below is the best snippets which is a known error in jenkins. > > Jun 18, 2019 12:02:12 PM jenkins.InitReactorRunner$1 onTaskFailed > SEVERE: Failed Loading global config > java.io.IOException: Unable to read /var/lib/jenkins/config.xml > at hudson.XmlFile.unmarshal(XmlFile.java:181) > at hudson.XmlFile.unmarshal(XmlFile.java:161) > at jenkins.model.Jenkins.loadConfig(Jenkins.java:3025) > at jenkins.model.Jenkins.access$1300(Jenkins.java:309) > at jenkins.model.Jenkins$13.run(Jenkins.java:3124) > at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run( > TaskGraphBuilder.java:169) > at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) > at jenkins.model.Jenkins$5.runTask(Jenkins.java:1083) > at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) > at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1149) > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.plugins. > active_directory.ActiveDirectorySecurityRealm : hudson.plugins. > active_directory.ActiveDirectorySecurityRealm > ---- Debugging information ---- > message : hudson.plugins.active_directory. > ActiveDirectorySecurityRealm > cause-exception : com.thoughtworks.xstream.mapper. > CannotResolveClassException > cause-message : hudson.plugins.active_directory. > ActiveDirectorySecurityRealm > class : hudson.model.Hudson > required-type : hudson.model.Hudson > converter-type : hudson.util.RobustReflectionConverter > path : /hudson/securityRealm > line number : 17 > version : not available > ------------------------------- > > I used the below article to remove the security and restore the login's > . > https://wiki.jenkins.io/display/JENKINS/Disable+security > > > > <useSecurity>false</useSecurity> > <authorizationStrategy class= > "hudson.security.AuthorizationStrategy$Unsecured"/> > <securityRealm class="hudson.security.SecurityRealm$None"/> > > > > After re-joining the AD it works fine for a day but it breaks the AD > integration again with the same old error. > Do we have a stable version of Jenkins ? > Is there any backup policy I can configure to restore the best working > configuration of jenkins? > > Thanks > > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/2506ae09-109c-4614-9106-0763c3a88ef0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/2506ae09-109c-4614-9106-0763c3a88ef0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Website: http://earl-of-code.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeT6%3Dj%3DK12vGDKuD7qrEmB0j%3DuN9WB2wsr%3DzJfsdJxU_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
