I’ve tried rhn-search cleanindex, no results from that though. I thought that 
iptables had been disabled, but it hadn’t. I disabled it using service iptables 
stop and service ip6tables stop, then rebooted, but no change.
I installed spacecmd, and ran the softwarechannel_regenerateneededcache, but 
nothing new there either.
All the ports are open via the external fw. The db is local on the box as well.
Thanks for replying.

Mike Anderson

From: Matthew Madey <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, March 3, 2015 at 11:40 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Spacewalk-list] Could not connect to search server

Have you tried running service rhn-search cleanindex

You might also want to look at the spacecmd command 
"softwarechannel_regenerateneededcache"

The exception though appears to be network related.. are you running a host 
firewall? Do you have the below ports opened?


  *   Outbound open ports 80, 443, 4545 (only if you want to enable monitoring)
  *   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

On Mon, Mar 2, 2015 at 8:07 PM, Mike Anderson 
<[email protected]<mailto:[email protected]>> wrote:
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 
/usr/share/rhn/search/classes/log4j.properties per this page: 
https://wiki.novell.com/index.php/SUSE_Manager/JavaLogging 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_search_daemon.log just 
shows this:

STATUS | wrapper  | 2015/03/02 20:48:33 | Launching a JVM...

INFO   | jvm 1    | 2015/03/02 20:48:34 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org

INFO   | jvm 1    | 2015/03/02 20:48:34 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.

INFO   | jvm 1    | 2015/03/02 20:48:34 |

INFO   | jvm 1    | 2015/03/02 20:48:35 | Mar 02, 2015 8:48:35 PM 
com.mchange.v2.log.MLog <clinit>

INFO   | jvm 1    | 2015/03/02 20:48:35 | INFO: MLog clients using java 1.4+ 
standard logging.

INFO   | jvm 1    | 2015/03/02 20:48:35 | Mar 02, 2015 8:48:35 PM 
com.mchange.v2.c3p0.C3P0Registry banner

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]

INFO   | jvm 1    | 2015/03/02 20:48:36 | Mar 02, 2015 8:48:35 PM 
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager

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 ]
Whoop, I take it back, /var/log/tomcat6/catalina.out updates w/

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.

redstone.xmlrpc.XmlRpcException: A network error occurred.

        at redstone.xmlrpc.XmlRpcClient.beginCall(XmlRpcClient.java:336)

        at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:143)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchHelper.performSearch(SystemSearchHelper.java:263)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchHelper.systemSearch(SystemSearchHelper.java:212)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchHelper.systemSearch(SystemSearchHelper.java:168)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchAction.performSearch(SystemSearchAction.java:233)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchAction.getResult(SystemSearchAction.java:310)

        at 
com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.setupDataSet(ListHelper.java:107)

        at 
com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.getDataSet(ListHelper.java:126)

        at 
com.redhat.rhn.frontend.taglibs.list.helper.ListSetHelper.execute(ListSetHelper.java:168)

        at 
com.redhat.rhn.frontend.taglibs.list.helper.ListRhnSetHelper.execute(ListRhnSetHelper.java:50)

        at 
com.redhat.rhn.frontend.action.systems.SystemSearchAction.doExecute(SystemSearchAction.java:208)

        at 
com.redhat.rhn.frontend.action.BaseSearchAction.executeBody(BaseSearchAction.java:200)

        at 
com.redhat.rhn.frontend.action.BaseSearchAction.execute(BaseSearchAction.java:138)

        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)

        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)

        at 
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:102)

        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)

        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:127)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)

        at 
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:100)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:57)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)

        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191


[root@pfcspacewalk classes]# spacewalk-service status

postmaster (pid  8412) is running...

router (pid 8437) is running...

sm (pid 8445) is running...

c2s (pid 8453) is running...

s2s (pid 8461) is running...

tomcat6 (pid 8531) is running...                           [  OK  ]

httpd (pid  8624) is running...

osa-dispatcher (pid  8640) is running...

rhn-search is running (9213).

cobblerd (pid 8728) is running...

RHN Taskomatic is running (8752).


Any help would be appreciated
Mike Anderson

_______________________________________________
Spacewalk-list mailing list
[email protected]<mailto:[email protected]>
https://www.redhat.com/mailman/listinfo/spacewalk-list

The PaySpan e-mail gateway  made the following annotations.
------------------------------------------------------------------------------
Confidentiality statement
***********************************************************************
Notice: This e-mail message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, copy, use, disclosure, 
or distribution is prohibited.  If you are not the intended recipient,
or not an agent of the intended recipient responsible for delivering this 
message, please contact the sender by reply e-mail and destroy all copies 
of the original message.[TW] Tue Mar 03 2015 13:47:15

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to