On viernes, 23 de julio de 2021 16:31:16 (CEST) Allen Beddingfield wrote:
I have three Uyuni servers that I've updated to the latest version. The first two went well. The third fails on the startup of Tomcat. This one was from an older revision. The other two were running an Uyuni version at Leap 15.2, but the one with the problem was old enough to be on 15.1.
Not supported. That's why the release notes say: "You need at least Uyuni 2020.07 already installed to perform the upgrade." As that's the first version on top of openSUSE Leap 15.1 Let's see if we can help, but no promises :-)
I did "zypper up susemanager" Ran server-migrator.sh Then ran pg-migrate-10-to-13.sh All completed with no errors.
On restart, there is an issue with Tomcat. This appears in the most recent catalina log:
23-Jul-2021 09:23:03.806 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.36 23-Jul-2021 09:23:03.822 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 17 2021 12:00:00 UTC 23-Jul-2021 09:23:03.822 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.36.0 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.3.18-59.16-default 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib64/jvm/java-11-openjdk-11 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-suse-3.56.1-x8664 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/share/tomcat 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -ea 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1G 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.xml.sax.driver=com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.tomcat.util.http.Parameters.MAX_COUNT=1024 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxNewSize=256 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-UseConcMarkSweepGC 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dnet.sf.ehcache.skipUpdateCheck=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-modules=java.annotation,com.sun.xml.bind 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-exports=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs= 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/cache/tomcat/temp 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties 23-Jul-2021 09:23:03.831 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.23] using APR version [1.6.3]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 23-Jul-2021 09:23:03.834 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019] 23-Jul-2021 09:23:05.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:05.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:05.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:05.313 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,874] milliseconds 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.36] 23-Jul-2021 09:23:05.680 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/srv/tomcat/webapps/rhn] 23-Jul-2021 09:23:07.488 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/srv/tomcat/webapps/rhn] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1132 ) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java: 1865) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.jav a:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutor Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecu torService.java:118) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:10 44) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.jav a:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java: 423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936 ) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1 384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1 374) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutor Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecu torService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909 ) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:2 62) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java :421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:9 30) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethod AccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegati ngMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBas e.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 717) ... 37 more Caused by: java.lang.NullPointerException at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.j ava:382) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java :195) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Contex tConfig.java:1971) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1129 ) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java :775)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java :301) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.jav a:123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java :5044) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 38 more 23-Jul-2021 09:23:07.492 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/srv/tomcat/webapps/rhn] has finished in [1,813] ms 23-Jul-2021 09:23:07.524 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:07.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:07.880 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:07.913 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [2,600] milliseconds
Can you provide the output of: `zypper dup`? I wonder if some of the Java dependencies didn't change to come from Leap. -- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com