I searched far and wide for more information on how to correct this
problem, but did not find any information on what to do.
We have successfully installed DB2 8.1 on Linux.
SuSE 9.0.
Kernel 2.4.25
Dell PowerEdge 6650
Filesystem jfs
DB2 software installed perfectly as root, but cannot run db2cc when
becoming db2inst1.
We get the following error:
DB2JAVIT : RC = 11
We do have Sun's Java installed. We did a search in YaST2 and found
the java2-jre installed version 1.4.2-35
URL (
http://java.sun.com/j2se/1.3/download-linux.html )
RPM ( java2-jre-1.4.2-35.i586.rpm )
We also have installed java2-jre-1.4.2-35.i586.rpm, which is the GNU
runtime library for gcc.
This is the only Java RPM we have installed outside of IBM's Java
software. Yast reports IBMJava2-1.3.1, Java Help, Java Support, Java
Common files installed, from the DB2 installation.
Environment:
db2inst1@xxxxxxx:~> env | sort | grep -i JAVA
CLASSPATH=/db2home/db2inst1/sqllib/java/db2java.zip:/db2home/db2inst1/sqllib/java/db2jcc.jar:
/db2home/db2inst1/sqllib/java/sqlj.zip:/db2home/db2inst1/sqllib/function:.
JAVA_BINDIR=/usr/lib/java/jre/bin
JAVA_HOME=/usr/lib/java/jre
JAVA_ROOT=/usr/lib/java
JRE_HOME=/usr/lib/java/jre
PATH=/db2home/db2inst1/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:
/opt/kde3/bin:/usr/lib/java/jre/bin:/db2home/db2inst1/sqllib/bin:/db2home/db2inst1/sqllib/adm:/db2home/db2inst1/sqllib/misc
Before you suggest things, we unset all JAVA_ related env vars as root
before installing, and everything went real smooth, and successfully
installed, and the engine is up and running, no problems. We just can't
get the db2cc running. We installed DB2 before with db2cc running on
another server, but can't seem to debug why it doesn't work on this one.
Your help would be greatly appreciated. Please post to the group as I
can't always get to netscape.
-DG-