Note: DocuShare 6.6.1 Patch 3.
After upgrading to 6.6.1 on Linux server DocuShare appears to be fine until you attempt to index the site.
Issue
The index only processes each Chunk of 500 at a rate of approximately 1 (one) every hour.
You may have installed all of the required libraries in the DocuShare Install Guide for Linux installs on page 4-1:
Before you begin
Inspect your operating system for, and install if missing, the following Linux software libraries:
• Compat-gcc-34-c++-3.4.6-4
• Compat-libgcc-296-2.96-138
• Compat-gcc-34-3.4.6-4
Errors are populated in the \IDOL\idolfilesystemfetch.stdOut file as follows:
22/01/2013 10:10:37 [7] Warning: Unable to load encoding conversion library kvutil.so in NONE. "Unable to load library. File does not exist."
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - Using default conversion function instead.
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - 22/01/2013 10:10:37 [7] Starting Import: Import Module v7.5.9.0.786286
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] -
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - 22/01/2013 10:10:37 [7] =====================
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - 22/01/2013 10:10:37 [7] libstdc++.so.5: cannot open shared object file: No such file or directory22/01/2013 10:10:37 [7] Fail to load kwad dll (kwad.so) from /usr/local/Xerox/DocuShare/IDOLServer/FileSystemFetch/filters
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - 22/01/2013 10:10:37 [7] Fail to load kwad dll (kwad.so) from (nil)
22 Jan 2013 10:10:37 - [Thread[Thread-131,5,main]] - 22/01/2013 10:10:37 [7] Fail to setup kwad format detection service. Unable to import.
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - 22/01/2013 10:11:27 [6] Warning: Unable to load encoding conversion library kvutil.so in /usr/local/Xerox/DocuShare/IDOLServer/FileSystemFetch/filters. "libstdc++.so.5: cannot open shared object file: No such file or directory"
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - Using default conversion function instead.
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - 22/01/2013 10:11:27 [6] Warning: Unable to load encoding conversion library kvutil.so in NONE. "Unable to load library. File does not exist."
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - Using default conversion function instead.
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - 22/01/2013 10:11:27 [6] Starting Import: Import Module v7.5.9.0.786286
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] -
22 Jan 2013 10:11:27 - [Thread[Thread-131,5,main]] - 22/01/2013 10:11:27 [6] =====================
Verify the kwad.so and kvutil.so files exist on the Server in the /usr/local/Xerox/DocuShare/IDOLServer/FileSystemFetch/filters as indicated in the error.
The error is an indication that the “libstdc++.so.5†libraries are not installed.
Reason / Possible Cause
Autonomy makes direct reference to older libraries, so in newer versions of Linux like RHEL5, those libraries aren't included by default. They must be installed. This is NOT included in the DocuShare install Guide.
The missing library is “compat-libstdc++-296.i686â€. It is a required library which is not listed in the currently listed in the DocuShare Install Guide for DocuShare 6.6.1. Not having this library will cause an issue with IDOL.
Note: This library should not be considered part of the library “Compat-libgcc-296-2.96-138â€. This is a fourth library and is not one of the initial three suggested to be installed in the Guide prior to installing DocuShare. This is a compatibility library for programs that were compiled using previous versions of C++. Installing “compat-libstdc++-296.i686†through the command “yum install compat-libstdc*†is what resolves this issue. This library would not be installed by default on a fresh Linux operating system, especially one running RHEL6.
Solution
1. Install compat-libstc* libraries to the system by running yum install compat-libstdc* on the Linux Server.
a. These commands will show whether these libraries are installed on RHEL6 (the supported Linux operating system by DocuShare):
b. Type yum list compat-libstdc* and press Enter.
This should show compat-libstdc++-296.i686 and compat-libstdc++-33.x86_64
c. Type yum list compat-libgcc* and press Enter.
This should show “compat-libgcc-296.i686â€
d. Type yum list compat-gcc* and press Enter.
This should “compat-gcc-34.x86_64†and “compat-gcc-34-c++.x86_64â€
e. If any of the above commands return “Error: No matching Packages to list†that means they are not installed. Changing the above command to “yum install missing_library_name†will add the required missing package.
2. Before starting DocuShare, do the following:
1. Open a terminal window and change into the /bin directory.
Where is replaced with the installation directory for DocuShare. The default installation path during install is C:\Xerox\Docushare. Depending on the installation environment the path may vary.
2. Type idoltool.sh –s resetserver all y and press Enter. This resets the IDOL index Server and expunges the old index.
3. Start DocuShare.
4. From the /bin directory, run dsindex.sh index_all.
Note: The index should run through chunks of Documents much more quickly without failing.
Solution Published: February 11th, 2013
Solution ID: 1267