473,795 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_INTERPRET ER $JAVA_OPTIONS -
cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.ru nning
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 3782
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_INTERPRET ER $JAVA_OPTIONS -
cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.ru nning
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_KERNE L=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.4886 52$Pk3.153071@p d7tw1no:
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_INTERPRET ER
$JAVA_OPTIONS - cp $JAVA_CLASSPATH $DB2SetupRun "$@"
2>/tmp/db2setup.err.ru nning
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_KERNE L=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
1764
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 configuration choices. Consider SugarCRM. It's really an SDK that you customize. Knowing that, you might want to download about 4 to 30 different PHP/CRM products, try out which one you like, and then try to customize 3-4 of your top choices,...
0
1371
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 DB2 Wizard do not come to the Display After writing ./db2setup in the shell it come Please wait.... Thanks for help
2
1776
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 segmentation $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running an idea to help me ? Thanks
6
2007
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 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running
5
3531
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 dasusr1:x:203:103::/home/dasusr1:/bin/bash db2iadm1:x:101:db2inst1 db2fadm1:x:102:db2fenc1 db2asgrp:x:103:dasusr1
0
2819
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: Disable selinux is recommended. In the official document, pdksh should be installed. In Fedora Core 5, pdksh package is replaced by zsh package. So you need to install it .
1
1979
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 that everything was installed. so i uninstalled and then reinstalled using the db2setup gui, however db2cc is still missing!
3
2818
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 file w/ fixpak installation? Or can I otherwise do an automated (non-interactive) fixpak install?
4
7102
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 6:32:36 PM java.util.prefs.FileSystemPreferences$3 run INFO: Created system preferences directory in java.home.
0
9673
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10443
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10165
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7543
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.