08-22-2004 05:23 PM
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 1.4.2.03-040401-16:07)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.03-040401-18:59-PA_RISC2.0 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.
10-11-2004 05:24 AM
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.
10-11-2004 05:31 AM
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.
Owner of ISN Corporation
10-11-2004 08:34 PM
Thx for response.
swlist -l product|grep Java shows:
Jdk13 184.108.40.206.00 Java2 1.3 SDK
Jre13 220.127.116.11.00 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!
10-12-2004 12:42 PM
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:
Then you can invoke /opt/ids/lbin/ids_checkJavaVersion directly.
Please let me know what you find out.