To expand on this, I've discovered today that some packages can be installed via profile sync, but most cannot. For example, arpwatch will install just fine, but aide and haproxy (amongst many others) will fail with the Internal Server Error. I can't figure it out, it doesn't make sense. At least, not without better code debugging skills than I have.
On Mon, Jul 15, 2019 at 1:19 PM Bryan Norton <bryan.nor...@gmail.com> wrote: > Hello Everyone, > > I'm having a problem with a newly set up Spacewalk 2.9 server. Whenever I > attempt to synchronize a server with a software package list from either a > Stored Profile or a specific system, it fails. I can choose the system or > profile to compare it with, do the comparison, pick the package(s) to > synchronize, but when I get to the last page, and click schedule, it just > sits there for a minute. Eventually, I receive an Internal Server Error. > > In browsing the various logs, there's only one entry that appears > relevant, and I've included it below. The only part sanitized is the > removal of the server name. > > Jul 15 12:57:22 server: 2019-07-15 12:57:22,273 > [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-23] WARN > org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: > class java.lang.NullPointerException > Jul 15 12:57:22 server: 2019-07-15 12:57:22,276 > [ajp-bio-0:0:0:0:0:0:0:1-8009-exec-23] ERROR > com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. > Rolling back > Jul 15 12:57:22 server: javax.servlet.ServletException: > java.lang.NullPointerException > Jul 15 12:57:22 server: at > org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) > Jul 15 12:57:22 server: at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) > Jul 15 12:57:22 server: at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:105) > Jul 15 12:57:22 server: at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1926) > Jul 15 12:57:22 server: at > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:451) > Jul 15 12:57:22 server: at > javax.servlet.http.HttpServlet.service(HttpServlet.java:624) > Jul 15 12:57:22 server: at > javax.servlet.http.HttpServlet.service(HttpServlet.java:731) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:104) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) > Jul 15 12:57:22 server: at > com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:101) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:58) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) > Jul 15 12:57:22 server: at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) > Jul 15 12:57:22 server: at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218) > Jul 15 12:57:22 server: at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) > Jul 15 12:57:22 server: at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506) > Jul 15 12:57:22 server: at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) > Jul 15 12:57:22 server: at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) > Jul 15 12:57:22 server: at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962) > Jul 15 12:57:22 server: at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) > Jul 15 12:57:22 server: at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) > Jul 15 12:57:22 server: at > org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190) > Jul 15 12:57:22 server: at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) > Jul 15 12:57:22 server: at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) > Jul 15 12:57:22 server: at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > Jul 15 12:57:22 server: at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > Jul 15 12:57:22 server: at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > Jul 15 12:57:22 server: at java.lang.Thread.run(Thread.java:748) > Jul 15 12:57:22 server: Caused by: java.lang.NullPointerException > Jul 15 12:57:22 server: at > com.redhat.rhn.manager.action.ActionManager.schedulePackageRunTransaction(ActionManager.java:1077) > Jul 15 12:57:22 server: at > com.redhat.rhn.manager.profile.ProfileManager.syncToProfile(ProfileManager.java:849) > Jul 15 12:57:22 server: at > com.redhat.rhn.frontend.action.rhnpackage.profile.SyncProfilesAction.scheduleSync(SyncProfilesAction.java:78) > Jul 15 12:57:22 server: at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > Jul 15 12:57:22 server: at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > Jul 15 12:57:22 server: at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Jul 15 12:57:22 server: at > java.lang.reflect.Method.invoke(Method.java:498) > Jul 15 12:57:22 server: at > org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) > Jul 15 12:57:22 server: at > org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170) > Jul 15 12:57:22 server: at > org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:146) > Jul 15 12:57:22 server: at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) > Jul 15 12:57:22 server: ... 45 more > > Any assistance would be greatly appreciated. > > Thanks! > Bryan >
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list