473,385 Members | 1,752 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,385 software developers and data experts.

DB2 setup problem

Hi,
I am trying to install my copy of the DB2 Universal Workgroup
Server Edition on my Linux server (RedHat 9.0, kernel 2.4.20-6) and it
will not let me past the db2setup because of a Java error (which
doesn't make sense since I have installed version 1.5 which works). I
tried to get around it by using an earlier trial version of a DB2
Universal db which was running for 3 months until the license expired.
I figured that I could simply use that and install the licenses from my
Universal Workgroup Server Edition on top of the trial licenses. Well,
needless to say, it didn't work. Any suggestions? Pls advise. Thx.

It would be helpful to me if you could also post any response to my
email: od**@op.net

Nov 12 '05 #1
6 2187
"akaodin" <od**@op.net> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hi,
I am trying to install my copy of the DB2 Universal Workgroup
Server Edition on my Linux server (RedHat 9.0, kernel 2.4.20-6) and it
will not let me past the db2setup because of a Java error (which
doesn't make sense since I have installed version 1.5 which works). I
tried to get around it by using an earlier trial version of a DB2
Universal db which was running for 3 months until the license expired.
I figured that I could simply use that and install the licenses from my
Universal Workgroup Server Edition on top of the trial licenses. Well,
needless to say, it didn't work. Any suggestions? Pls advise. Thx.

It would be helpful to me if you could also post any response to my
email: od**@op.net

Here are some steps for installing on DB2 8.1 on RH9 that I have used. This
might work on other RH versions also:

DB2-RH 9 Linux Installation Instructions

1. Install IBM Java 1.4.2 (or latest code) free from IBM website.

2. Set display (where host_name is your host)
xhost + host_name
export DISPLAY=host_name:0

3. Set Kernel for DB2 install only (not needed later)
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL

4. Run ./db2setup
Install DB2 with an instance but DO NOT install Tools Catalog

5. Reboot

6. Update java path (your path may be different depending on which Java you
install). This will point DB2 to the correct JDK for DB2 and Admin Server.

db2 update dbm cfg using jdk_path /opt/IBMJava2-142
db2 update admin cfg using jdk_path /opt/IBMJava2-142

7. You can now install Tools Catalog in you want one.

8. Update Linux parms
The default setting for the msgmni kernel parameter only allows a couple of
simultaneous
connections to DB2. To set this value at boot time, append the following
lines to /etc/sysctl.conf:
# Sets maximum number of message queues to 128
# Set this to 1024 or higher on production systems
kernel.msgmni = 128
Nov 12 '05 #2
Hi,
IThe problem I am having is #4 db2setup. It chokes because of my
Java code. I have installed 1.5 from Sun (not IBM) and am working w/
it. It is just fine. Moreover I have checked the file which causes
the error and it purported tries to check the Java on my PC; if it
can't find it (which it can't) then it tries to use the version on the
CD (but can't). I have no idea why it can't use it's own version. Pls
advise. Thx.

Nov 12 '05 #3
Apparently, whatever version of Java you are using is not fine. Please
read the link I provided. I can't even find RH9 as a validated
environment for DB2 UDB V8.1. If you click the link on RHEL 3.0, you'll
find that even for RHEL 3.0, a workaround is recommended for using db2setup.

Larry Edelstein

akaodin wrote:
Hi,
IThe problem I am having is #4 db2setup. It chokes because of my
Java code. I have installed 1.5 from Sun (not IBM) and am working w/
it. It is just fine. Moreover I have checked the file which causes
the error and it purported tries to check the Java on my PC; if it
can't find it (which it can't) then it tries to use the version on the
CD (but can't). I have no idea why it can't use it's own version. Pls
advise. Thx.

Nov 12 '05 #4
"akaodin" <od**@op.net> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi,
IThe problem I am having is #4 db2setup. It chokes because of my
Java code. I have installed 1.5 from Sun (not IBM) and am working w/
it. It is just fine. Moreover I have checked the file which causes
the error and it purported tries to check the Java on my PC; if it
can't find it (which it can't) then it tries to use the version on the
CD (but can't). I have no idea why it can't use it's own version. Pls
advise. Thx.

I told you what to do to make the install work. If you don't want to do
those things, that is up to you.
Nov 12 '05 #5
You can also bypass the Java installer entirely; just follow the
instructions listed in the DB2 HOWTO for Gentoo under "Installation
Notes": http://tldp.org/HOWTO/DB2-HOWTO/gentoo.html#AEN1134

You have to create your own users and groups, etc., but all of the
required instructions are there and it will get you going so that you
can actually work with the database :)

Dan

Nov 12 '05 #6
Unbelievable, just chging the xhost and LD_ASSUME_KERNEL seemed to do
the trick. At least I am past the db2setup error. Hopefully the rest
will be fine. I really appreciate your help. Thx soo mych.

Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
4
by: Nick | last post by:
Hi, I have a windows application, wherein the solution consists of 5 projects. When I try to create a setup and deployment project for this solution, I'm somehow unable to add anything in...
1
by: david | last post by:
Hi, I have a problem when running a setup to install a program. The setup show this message: "Setup cannot continue because some system files are out of date on your system. Click OK if you...
1
by: vedran | last post by:
Hello again, Before few months,I write to this mailing list with python script install problem,but nobody give me right solution.I work on windows XP,and Python 2.4. Now,when I write in Python...
1
by: =?Utf-8?B?S2VpdGggRHVQb250?= | last post by:
I have created a setup project for a forms application that I will be deploying in the near future. I have added the primary output to the setup project and all dependencies have been correctly...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
When I run my setup of a vb.net app made in VS2005 and setup made with the setup wizard and then modified in the ide, The .net 2 setup runs and installs and then asks to reboot. If you answer ok...
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
0
by: mauro | last post by:
Hi all, I am trying to make a package distribution containing some extension module written in C. The problem is that when I run setup.py some files are generated in the wrong position. Suppose...
6
by: Srini | last post by:
Hi, I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to...
1
by: kaushalgajjar | last post by:
I have been struggling to build a package in VS2005. I have an application made in VB.Net with SQL 2000 now i want to build it to use in a stand alone Computer so i have found MSDE from Microsoft...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.