Bug 675507 - Could not connect to search server
Summary: Could not connect to search server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space14
TreeView+ depends on / blocked
 
Reported: 2011-02-06 03:50 UTC by dburklan
Modified: 2011-04-26 09:10 UTC (History)
1 user (show)

Fixed In Version: spacewalk-search-1.4.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 09:10:55 UTC
Embargoed:


Attachments (Terms of Use)
/var/log/rhn/search/rhn_search_daemon.log file (4.32 KB, text/plain)
2011-02-06 03:50 UTC, dburklan
no flags Details

Description dburklan 2011-02-06 03:50:00 UTC
Created attachment 477269 [details]
/var/log/rhn/search/rhn_search_daemon.log file

Description of problem: Unable to search for packages as I receive a "Could not connect to search server" error message


Version-Release number of selected component (if applicable): Spacewalk v1.3 with PostgreSQL backend


How reproducible: Every time I attempt to search for a package


Steps to Reproduce:
1. Select "Packages" from the drop down list under the menu where it states the user and organization
2. Type in a string and click "Search"

or 

1. Go to Channels->Package Search
2. Type in a string and click "Search"
  
Actual results: I receive an error message saying "Could not connect to search server"


Expected results: A list of results if any depending on the input search string


Additional info: I have attached the output of the /var/log/rhn/search/rhn_search_daemon.log file which contains some relevant information that may be helpful in resolving this issue. I have noticed that when I try to start the rhn_search daemon it starts briefly and instantly dies. If I can provide any more information please let me know.

Comment 1 Michael Mráka 2011-02-07 14:01:55 UTC
rhn-search service was completely non-working on postgresql.
Fixed by
commit 1b0da0722612e2cac5be406932fe0a53225ab915
    don't duplicate files from spacewalk-search.jar on filesystem
commit b36f27ac8067825ea6734411f8b5e9eb2f171743
    move config.xml back to jar
commit 8d6f33908d5cbf794e65e7de7e3458b59cb3e6db
    add @ to db_name only for oracle (PG)
commit 7b545fb2392a6f5116438d2fad4f45e4c8edc7ae
    fixed package and errata search in PG
commit c39a4e05ccdd86e7335bfb3facceb94de5e58fa0
    made service rhn-search cleanindex queries work on PG
commit bb334cc207abd8be29c2ed22cb54371ae959580f
    added potgresql jdbc to rhn-search path

Fixed in spacewalk-search-1.4.1-1.

Comment 2 Miroslav Suchý 2011-04-11 07:45:17 UTC
Mass moving to ON_QA before release of Spacewalk 1.4

Comment 3 Miroslav Suchý 2011-04-26 09:10:55 UTC
Spacewalk 1.4 has been released


Note You need to log in before you can comment on or make changes to this bug.