Bug 1397327 - rhn-search daemon tracebacks + indexes not building
Summary: rhn-search daemon tracebacks + indexes not building
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 580
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks: 1340444
TreeView+ depends on / blocked
 
Reported: 2016-11-22 10:29 UTC by Lukáš Hellebrandt
Modified: 2017-06-21 12:08 UTC (History)
2 users (show)

Fixed In Version: spacewalk-search-2.5.1-4-sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:08:44 UTC
Target Upstream Version:


Attachments (Terms of Use)
rhn_search_daemon.log (786.21 KB, text/plain)
2016-11-22 10:29 UTC, Lukáš Hellebrandt
no flags Details

Description Lukáš Hellebrandt 2016-11-22 10:29:51 UTC
Created attachment 1222652 [details]
rhn_search_daemon.log

Description of problem:
On Sat 580 with Oracle, when building rhn-search indexes, tracebacks appear (see the attached file) and the indexes are not built. Building then needs to be killed. Additionally, tracebacks as in bug 1378441 are present in rhn_search.log on the machine but are not triggered by the reproducer.

How reproducible:
On sat 580 with Oracle

Steps to Reproduce:
1. # service rhn-search cleanindex # kill

2. # grep Exception /var/log/rhn/search/rhn_search_daemon.log
INFO   | jvm 1    | 2016/11/22 05:04:48 | Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@ae298a5f" java.lang.UnsatisfiedLinkError: ocijdbc10 (Not found in java.library.path)
Exception in thread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@ae298a5f" 	at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1256)

3. # cat /var/log/rhn/search/rhn_search_daemon.log # output attached

Actual results:



Expected results:


Additional info:

Comment 3 Lukáš Hellebrandt 2016-12-06 13:16:47 UTC
FailedQA

When I leave indexing to happen on its own, the problem seems to be fixed.
However, when using the reproducer from OP, a very similar traceback appears. It is not logged in the file anymore but is output by the "service rhn-search cleanindex" command.

Comment 6 Lukáš Hellebrandt 2016-12-07 15:22:31 UTC
Verified with Sat5.8 from 2016-11-06.

Used reproducer from OP.

No traceback is shown either in the log file or the command output. Indexes are built successfully.


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