<div dir="ltr">Have you tried running service rhn-search cleanindex<div><br></div><div>You might also want to look at the spacecmd command "softwarechannel_regenerateneededcache"</div><div><br></div><div>The exception though appears to be network related.. are you running a host firewall? Do you have the below ports opened?</div><div><br></div><div><ul style="color:rgb(0,0,0);font-family:Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;font-size:13px"><li>Outbound open ports 80, 443, 4545 (only if you want to enable monitoring)</li><li>Inbound open ports 80, 443, 5222 (only if you want to push actions to client machines) and 5269 (only for push actions to a Spacewalk Proxy), 69 udp if you want to use tftp</li></ul></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 8:07 PM, Mike Anderson <span dir="ltr"><<a href="mailto:Mike.Anderson@payspan.com" target="_blank">Mike.Anderson@payspan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif">Very new install of 2.2 on centos 6.5. I’ve never been able to search for packages or systems on this install. I’ve added <span style="font-size:11px;line-height:1.1em;background-color:rgb(249,249,249)">/usr/share/rhn/search/classes/log4j.properties
</span><span style="line-height:1.1em;background-color:rgb(249,249,249)">per this page</span><span style="font-size:11px;line-height:1.1em;background-color:rgb(249,249,249)">: </span><a href="https://wiki.novell.com/index.php/SUSE_Manager/JavaLogging" style="font-size:14px" target="_blank">https://wiki.novell.com/index.php/SUSE_Manager/JavaLogging</a> and
 restarted, but /var/log/rhn/search/rhn_search.log is still at 0 bytes. No log updates when I attempt to search in spacewalk. /var/log/search/rhn_<span style="font-size:14px;font-style:italic">search_</span>daemon.log just shows this:</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
STATUS | wrapper  | 2015/03/02 20:48:33 | Launching a JVM...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:34 | Wrapper (Version 3.2.3) <a href="http://wrapper.tanukisoftware.org" target="_blank">http://wrapper.tanukisoftware.org</a></p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:34 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:34 | </p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:35 | Mar 02, 2015 8:48:35 PM com.mchange.v2.log.MLog <clinit></p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:35 | INFO: MLog clients using java 1.4+ standard logging.</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:35 | Mar 02, 2015 8:48:35 PM com.mchange.v2.c3p0.C3P0Registry banner</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:35 | INFO: Initializing c3p0-0.9.1.2 [built 06-August-2008 15:35:00; debug? false; trace: 5]</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:36 | Mar 02, 2015 8:48:35 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
INFO   | jvm 1    | 2015/03/02 20:48:36 | INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure
 -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> com.redhat.satellite.search.config.translator.RhnConnectionCustomizer, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> z8kflt971pephfo1a8nkqo|585e1210,
 debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt971pephfo1a8nkqo|585e1210, idleConnectionTestPeriod ->
 0, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql:rhnschema, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize ->
 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout
 -> 0, usesTraditionalReflectiveProxies -> false ]</p>
</div>
<div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt"><font color="#808080"><span style="line-height:13px">Whoop, </span><span style="line-height:13px">I</span><span style="line-height:13px"> take it back, /var/log/tomcat6/catalina.out updates w/ </span></font></p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
2015-03-02 20:49:13,013 [TP-Processor2] ERROR com.redhat.rhn.frontend.action.systems.SystemSearchAction - Caught Exception :redstone.xmlrpc.XmlRpcException: A network error occurred.</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
redstone.xmlrpc.XmlRpcException: A network error occurred.</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at redstone.xmlrpc.XmlRpcClient.beginCall(XmlRpcClient.java:336)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:143)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchHelper.performSearch(SystemSearchHelper.java:263)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchHelper.systemSearch(SystemSearchHelper.java:212)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchHelper.systemSearch(SystemSearchHelper.java:168)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchAction.performSearch(SystemSearchAction.java:233)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchAction.getResult(SystemSearchAction.java:310)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.setupDataSet(ListHelper.java:107)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.getDataSet(ListHelper.java:126)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.taglibs.list.helper.ListSetHelper.execute(ListSetHelper.java:168)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.taglibs.list.helper.ListRhnSetHelper.execute(ListRhnSetHelper.java:50)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.systems.SystemSearchAction.doExecute(SystemSearchAction.java:208)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.BaseSearchAction.executeBody(BaseSearchAction.java:200)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.action.BaseSearchAction.execute(BaseSearchAction.java:138)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:102)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:127)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:100)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:57)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt"></p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191</p>
<p class="MsoNormal" style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:11pt;margin:0in 0in 0.0001pt;line-height:17px">
<span style="font-size:9pt;line-height:13px;font-family:Arial,sans-serif;color:gray"><br>
</span></p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
[root@pfcspacewalk classes]# spacewalk-service status</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
postmaster (pid  8412) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
router (pid 8437) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
sm (pid 8445) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
c2s (pid 8453) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
s2s (pid 8461) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
tomcat6 (pid 8531) is running...                           [<span style="color:#34bd26">  OK 
</span>]</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
httpd (pid  8624) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
osa-dispatcher (pid  8640) is running...</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
rhn-search is running (9213).</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
cobblerd (pid 8728) is running...</p>
<p class="MsoNormal" style="font-family:Calibri,sans-serif;font-size:11pt;margin:0in 0in 0.0001pt;line-height:17px">
</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
RHN Taskomatic is running (8752).</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono';color:rgb(41,249,20);background-color:rgb(0,0,0)">
<br>
</p>
<p style="margin:0px;font-size:12px;font-family:'Andale Mono'">Any help would be appreciated</p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal" style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:11pt;margin:0in 0in 0.0001pt;line-height:17px">
<span style="font-size:9pt;line-height:13px;font-family:Arial,sans-serif;color:gray">Mike Anderson </span></p>
<p class="MsoNormal" style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:11pt;margin:0in 0in 0.0001pt;line-height:17px">
</p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>