473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

install of java jre for db2setup under linux RH 9.0

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
3 3758
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
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
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Google Mike | last post by:
On Linux, I need to ask what your favorite installation options are for a PHP app as a kind of poll. In this first part, I discuss the Install Wizard choices. In Part 2, I discuss the database...
0
by: matt | last post by:
Problems with install DB2 V8 Express Edition on SUSE Linux 8.2 Prof. Normally it have to work, I think. I have done everything like it is written in the install pdf but the visualation from the...
2
by: zeb nest | last post by:
Hello, I have some problem to launch db2setup (install procedure for db2v8fp3) under linux (redhat 9.0) : /home/root/db2v8/conpe/db2/linux/install/db2jinst: line 131: 4359 Erreur de...
6
by: Maroon | last post by:
Hello When i was trying to install db2 database in the Linux, then the following error had occured. Can anyone help me? /media/cdrom/pde813u1/db2/linux/install/db2jinst: line 131: 4733...
5
by: JasonFriedman80238 | last post by:
I'm following the instructions from "Up and Running With DB2 for Linux". I created these users/groups: db2inst1:x:201:101::/home/db2inst1:/bin/bash db2fenc1:x:202:102::/home/db2fenc1:/bin/bash...
0
by: maluyao | last post by:
Install IBM DB2 on Fedora Core 5 (Bordeaux) author: maluyao RHCE. maluyao@NOSPAMgmail.com(remove NOSPAM) http://www.teenblog.org/tiantian/ (Chinese Version) Pre-installation notes:...
1
by: bomahony | last post by:
Ive just installed DB2 9.1 from scratch on Solaris 10. I did it first from CLI, but i found the Control Center app was missing. So i tried to edit the install using db2setup. this informed me...
3
by: aj | last post by:
DB2 LUW 8.2 FP14 Red Hat AS 2.1 I am using a response file w/ db2setup to install DB2. I then want to install the latest fixpak in the same automated way. Is there any way to use a response...
4
by: Amber | last post by:
The installer tells it faild to config db2inst1, the db2setup.err is as following: /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:60: Engine "clearlooks" is unsupporte d, ignoring Jun 15, 2007...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.