Re: Error when launching the installer for KM Search Engine 7.0 on a linux server (128 Views)
Reply
Regular Advisor
Garry Wong
Posts: 118
Registered: ‎08-15-2006
Message 1 of 2 (162 Views)

Error when launching the installer for KM Search Engine 7.0 on a linux server

[ Edited ]

Hi All, I was wondering if anyone has seen this error before when trying to install the KM Search Engine 7.0 on a Linux server?

 

Exception in thread "main" java.lang.OutOfMemoryError
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at com.installshield.boot.streamhandler.ZipURLConnection.getZipFile(Unknown Source)
        at com.installshield.boot.streamhandler.ZipURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at com.installshield.boot.BootMain.boot(Unknown Source)
        at run.main(Unknown Source)

 

I receive this error once I execute the setuplinux file.  The java JRE on the server is 1.6.0 and I do not know if it requires 1.5 as it states in the install guide for installing Service Manager. Service Manager seemed to install fine.

Please use plain text.
Honored Contributor
DimitarPeychev
Posts: 292
Registered: ‎11-01-2011
Message 2 of 2 (128 Views)

Re: Error when launching the installer for KM Search Engine 7.0 on a linux server

Hi,

 

 your issue is described here:

http://support.openview.hp.com/selfsolve/document/KM772027

 

Work around:

Run the "top" command as a root user and examine the following line:

Mem:   2895892k total,  2589212k used,   306680k free,    61452k buffers

This example shows that there is only about 300 Meg free (306680k) on this machine, out of nearly 3 Gig memory total.

NOTE: Type 'q' to quit when running the "top" command.

You may also use the "free" command on Linux to get similar information.

If the amount of free memory seems okay, then check the "ulimit" setting.  If set to something other than "unlimited", this could cause a Java stack overflow error.

--

In order to set the amount of memory that Java reserves for the installer, do the following before running "setuplinux":

export JAVA_ARGS=-Xmx<Some amount of memory>

For example, to reserve 100 Meg:

export JAVA_ARGS=-Xmx100M

or, to reserve 1 Gigabyte:

export JAVA_ARGS=-Xmx1G

---

The following command was used to execute the installer, after changing directories to the location of the installer:

./setuplinux -console -is:tempdir /tmp/search -is:log <Full Path to Log File>/search_log.log

The "-is:log" parameter allows debug logging to be directed to "search_log.log".

There should be at least 1 Gig of disk space for the temporary installer directory.  If you do not specify the temporary directory location, then "/tmp" is used on Unix.

 

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting :)
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation