Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 

HIDS Error Message

Alex Ferreira
Frequent Advisor

HIDS Error Message

G'day to all,

I have installed HIDS and now trying to create certificates for my host. The error I am getting is :

The IDS_genAdminKeys program is known to run using Java version 1.3.1.
You must install a version of Java greater or equal to 1.3.1.

The thing is, when I do java -version it shows that java is running :

Java(TM) 2 Runtime Environment, Standard Edition (build
Java HotSpot(TM) Server VM (build 1.4.2 PA2.0 (aCC_AP), mixed mode)

I have installed the patches that are required and also have java running.

Only concern is as root user, when I do a java -version it shows that 1.3 version is running. When I su - ids, it shows that 1.4 is running. Could this be conflicting??

Can someone please advise if something is missing, or if I have left something out.


Steve Steel
Honored Contributor

Re: HIDS Error Message


cd /opt

look for javan.n

Probably the users have paths looking at different versions

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Tomasz Firek
Occasional Visitor

Re: HIDS Error Message


I have the same problem. I have only one Java version
Maybe I have to define some variables?

Pierre Pasturel
Respected Contributor

Re: HIDS Error Message

Alex -

Post the output of the following command:

# swlist -l product | grep Java


Prashant Zanwar_4
Respected Contributor

Re: HIDS Error Message

You can invoke swremove GUI and check what all filesets are associated with Java.
And also
swlist -l fileset -a state

This will tell you if anything is wrong from installetion side and also you can check versions of all filesets. If something is suspicious..get rif of it.

"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Steven E. Protter
Exalted Contributor

Re: HIDS Error Message

perhaps check the SHLIB_PATH of the user that starts HIDS.

I have run java 1.2,1.3 and 1.4 on the same machines without issue. It is possible without too much complex configuration.

Steven E Protter
Owner of ISN Corporation
Tomasz Firek
Occasional Visitor

Re: HIDS Error Message

Thx for response.

swlist -l product|grep Java shows:

Jdk13 Java2 1.3 SDK
Jre13 Java2 1.3 RTE 1.3

All filesets are configured.

How should I set the SHLIB_PATH?

Are there another environment varables that I should set?

There isn't any info about environment variables in HIDS Admin Guide!

Pierre Pasturel
Respected Contributor

Re: HIDS Error Message

Tom - Are you having the same problem as Alex? With the products Tom listed, I can not reproduce the problem.

Forget about setting the SHLIB_LIB path. HIDS does not use this.

Instead there is a script called /opt/ids/lbin/ids_checkJavaVersion which sets some internal variables, JAVA_RUN and JAVA_LIB. This script is called by /opt/ids/bin/idsgui and /opt/ids/bin/IDS_genAdminKeys which use those variables to invoke the correct version of java.

For some reason, ids_checkJavaVersion can not find a match. Start adding some echo statements inside the script to print variables to see why it does not find a match. Sorry to have you do this, but w/o being able to reproduce the problem, I can't help you much.

For starters, put the following at the very end of ids_checkJavaVersion:

ids_checkJavaVersion myroutine

Then you can invoke /opt/ids/lbin/ids_checkJavaVersion directly.

Please let me know what you find out.