By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,408 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,408 IT Pros & Developers. It's quick & easy.

install of java jre for db2setup under linux RH 9.0

P: n/a
Hello,

I have a new Linux RH 9.0 server, on which I'm trying to setup DB2. I
did the RPM install of IBMJava2-JRE-1.4.1-2.0, which I got from the IBM
site. All *APPEARED* to have worked fine. But ... rpm -aq IBMJava2-JRE-
1.4.1-2.0 shows no entry. A simple rpm -aq shows it as the last item in
the list. <scratching head>.

Now, when I got to the place I untarred DB2 v8.1 (/local4/db281/009
_ESE_LNX_32_NLV) and type ./db2setup, what I get is :
/local4/db281/009_ESE_LNX_32_NLV/db2/linux/install/db2jinst: line 130:
3210 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -
cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running
and I have no idea what this means. The 130th line of that script is a
"fi" statement. ????????

Can someone help me?

Mairhtin O'Feannag

San Francisco, Ca.
Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Mairhtin O'Feannag wrote:
Hello,

I have a new Linux RH 9.0 server, on which I'm trying to setup DB2. I
did the RPM install of IBMJava2-JRE-1.4.1-2.0, which I got from the IBM
site. All *APPEARED* to have worked fine. But ... rpm -aq IBMJava2-JRE-
1.4.1-2.0 shows no entry. A simple rpm -aq shows it as the last item in
the list. <scratching head>.
Try:

rpm -qa IBMJava2-JRE

The version portion is not part of the RPM name that you're querying.
Now, when I got to the place I untarred DB2 v8.1 (/local4/db281/009
_ESE_LNX_32_NLV) and type ./db2setup, what I get is :
/local4/db281/009_ESE_LNX_32_NLV/db2/linux/install/db2jinst: line 130:
3210 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -
cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running
and I have no idea what this means. The 130th line of that script is a
"fi" statement. ????????


It means a couple things:

1. The java that db2setup uses is still the java that's on the CD
image, not the one that's installed locally.

2. RH 9 is not, nor will be, validated as an "approved and supported"
platform with which to run DB2. Please see the linux validation site:
http://www.ibm.com/db2/linux/validate.

Unofficially, it means that you need the same workaround as RHEL3
needs, which I believe is documented on the validation site, but I do
want to stress that RH9 is still not officially supported, even if you
get the install working.

Nov 12 '05 #2

P: n/a
Darin,

I was able to get around this using a trick that someone posted on the
newsgroups. I used export LD_ASSUME_KERNEL=2.2.5 .... I was just
wondering if this is going to cause other problems. I use the graphical
tools locallay on my Winders box to administer the remote instance, so I
can live with not having the tools on the Linux box - I can even debug
remotely, I believe, without having the GUI tools.

The individual also indicated that one should put this in the .profile
for the instance owner.

Any suggestions?

Mairhtin
Darin McBride <dm******@naboo.to.org.no.spam.for.me> wrote in
news:BCfqc.488652$Pk3.153071@pd7tw1no:
Mairhtin O'Feannag wrote:
Hello,

I have a new Linux RH 9.0 server, on which I'm trying to setup DB2.
I did the RPM install of IBMJava2-JRE-1.4.1-2.0, which I got from the
IBM site. All *APPEARED* to have worked fine. But ... rpm -aq
IBMJava2-JRE- 1.4.1-2.0 shows no entry. A simple rpm -aq shows it as
the last item in the list. <scratching head>.


Try:

rpm -qa IBMJava2-JRE

The version portion is not part of the RPM name that you're querying.
Now, when I got to the place I untarred DB2 v8.1 (/local4/db281/009
_ESE_LNX_32_NLV) and type ./db2setup, what I get is :
/local4/db281/009_ESE_LNX_32_NLV/db2/linux/install/db2jinst: line
130: 3210 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER
$JAVA_OPTIONS - cp $JAVA_CLASSPATH $DB2SetupRun "$@"
2>/tmp/db2setup.err.running
and I have no idea what this means. The 130th line of that script is
a "fi" statement. ????????


It means a couple things:

1. The java that db2setup uses is still the java that's on the CD
image, not the one that's installed locally.

2. RH 9 is not, nor will be, validated as an "approved and supported"
platform with which to run DB2. Please see the linux validation site:
http://www.ibm.com/db2/linux/validate.

Unofficially, it means that you need the same workaround as RHEL3
needs, which I believe is documented on the validation site, but I do
want to stress that RH9 is still not officially supported, even if you
get the install working.


Nov 12 '05 #3

P: n/a
> Darin,

I was able to get around this using a trick that someone posted on the
newsgroups. I used export LD_ASSUME_KERNEL=2.2.5 .... I was just
wondering if this is going to cause other problems. I use the graphical
tools locallay on my Winders box to administer the remote instance, so I
can live with not having the tools on the Linux box - I can even debug
remotely, I believe, without having the GUI tools.

The individual also indicated that one should put this in the .profile
for the instance owner.

Any suggestions?

Mairhtin

You only need to use assume kernel during the install. Make sure you have
installed the latest IBM Java2 code and then run the following:

db2 update dbm cfg using JDK_PATH /opt/IBMJava2-141
db2 update admin cfg using jdk_path /opt/IBMJava2-141

Note that your Java directory may be different if you get the latest code
from the IBM web site.

The above works fine for me with DB2 version 8, fixpak 5.
Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.