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

Installation of IBM DB2 Enterprise server edition on Linux

Hai,
I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My
machine is Intel XEON 64bit. The installation went well except for the
creation of tools catalog. When I tried to install the tools catalog
as a post installation task I get some java error.
[db2inst1@tokyo ~]$ db2 CREATE TOOLS CATALOG SYSTOOLS USE EXISTING
DATABASE TOOLSDB FORCE SQL22209N The DB2 Administration Server
encountered an unexpected Java error on host "".
I have jdk1.3 already installed. DB2 installation tries to install IBM
Jdk and since it finds out that jdk already exists it dosent install
it. But some components of db2 need IBM java and not any other
distribution.
So these are my specific questions, please answer them,

1) How to uninstall existing java forcefully using rpm ?
2) what are the components that are dependent on tools catalog, even
if i dont install tools catalog , will things work fine still ?
3) when i issue the following the installation freezes after some
point,
[root@tokyo Java-1.3]# rpm -vvi IBMJava2-SDK-1.3.1-2.0.i386.rpm
D: ============== IBMJava2-SDK-1.3.1-2.0.i386.rpm
D: Expected size: 56981811 =
lead(96)+sigs(100)+pad(4)+data(56981611)
D: Actual size: 56981779
D: IBMJava2-SDK-1.3.1-2.0.i386.rpm: MD5 digest: OK
(f54397cac7c003003e1f37be4a040ac1)
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: ========== +++ IBMJava2-SDK-1.3.1-2.0
D: opening db index /var/lib/rpm/Depends create mode=0x0
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0
D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0
D: read h# 1467 Header V3 DSA signature: NOKEY, key ID db42a60e
D: Requires: glibc > 2.1.0 YES (db
provides)
D: closed db index /var/lib/rpm/Pubkeys
D: closed db index /var/lib/rpm/Depends
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors,
tree,
depth)
D: 0 0 0 0 0 +IBMJava2-SDK-1.3.1-2.0
D: installing binary packages
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages create mode=0x42
(freezes at this point)

Thanks

Below I have pasted the contents of the installation log file.
************************************************** ******************************
Checking license agreement acceptance:.......Success
Installing DB2 file sets:.......Success
Registering DB2 licenses:.......Success
Setting default global profile registry variables:.......Success
Creating the DB2 Administration Server:.......Success
Initializing instance list:.......Success
Customizing DB2 instance configuration:.......Success
Creating DB2 instances:.......Success
Building list of databases to create:.......Success
Registering DB2 licenses:.......Success
Creating DB2 databases:.......Success
Configuring the DB2 Administration Server:.......Success
Updating global profile registry:.......Success
Configuring health alert notifications:.......Success
Creating DB2 tools catalog:.......Failure

================================================== ==========

DB2 Setup log file started at: Fri 26 Mar 2004 03:49:44 PM CST CST
================================================== ==========

Operating system information: Linux 2.4.18-14smp.#1 SMP Wed Sep 4
12:34:47 EDT 2002 i686
Notification SMTP server has not been specified. Notifications cannot
be sent to contacts in your contact list until this is specified. For
more information see the DB2 administration documentation.
Product to install: DB2 Universal Database
Enterprise Server Edition
Installation type: Typical
Selected Components:
Product Messages - en_US.iso88591
Base Client Support
DB2 LDAP Support
Code Page Conversion Tables - Unicode Support
Code Page Conversion Tables
ICU Utilities
Java Help (HTML) - en_US.iso88591
Replication
SQL Procedures
Control Center Help (HTML) - en_US.iso88591
Java Common files
First Steps
DB2 Instance Setup Wizard
Java Support
Configuration Assistant
Run-time Environment
Connect Support
Communication Support - TCP/IP
Administration Server
DB2 data source support
Base DB2 UDB Support
Sample Database Source
Parallel Extension
Control Center
Product Signature for DB2 UDB Enterprise Server Edition
Languages:
Languages: EN
Target directory: /opt/IBM/db2/V8.1
Space required: 363 MB

New instances:
Instance name: db2inst1
Authentication: SERVER
Start instance on reboot: Yes
FCM port range: 60004-60007
TCP/IP configuration:
Service name: db2c_db2inst1
Port number: 50001
Instance user information:
User name: db2inst1
Group name: db2iadm1
Home directory:
/cse/applications/localhome/db2inst1
Fenced user information:
User name: db2fenc1
Group name: db2fadm1
Home directory:
/cse/applications/localhome/db2fenc1

DB2 Administration server:
Instance user information:
User name: dasusr1
Group name: db2asgrp
Home directory:
/cse/applications/localhome/dasusr1

DB2 tools catalog:
Name: TOOLSDB
Schema: SYSTOOLS
Instance: db2inst1
Location: Local
Contact specification:
New contacts:
Name: db2inst1
Instance: db2inst1
Email address: db2inst1@tokyo
Email address is for a pager: No
Checking license agreement acceptance:.......Success
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2msen81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2msen81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2cliv81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2cliv81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2ldap81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2ldap81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2cucs81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2cucs81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2conv81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2conv81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2icuc81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2icuc81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2icut81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2icut81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2jhen81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2jhen81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2repl81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2repl81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2sp81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2sp81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2chen81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2chen81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2cj81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2cj81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2fs81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2fs81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2inst81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2inst81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2jdbc81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2jdbc81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2ca81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2ca81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2rte81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2rte81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2conn81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2conn81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2crte81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2crte81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2das81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2das81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2dj81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2dj81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2engn81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2engn81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2smpl81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2smpl81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2pext81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2pext81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2cc81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2cc81
##################################################
Command to be run: "/bin/rpm -ivh
'/data0/ibm_db2_source/009_ESE_LNX_32_NLV/db2/linux/IBM_db2essg81-8.1.0-16'.i386.rpm".
Preparing...
##################################################
IBM_db2essg81
##################################################
Installing DB2 file sets:.......Success
Registering DB2 licenses:.......Success
Setting default global profile registry variables:.......Success
Creating the DB2 Administration Server:.......Success
Initializing instance list:.......Success
Customizing DB2 instance configuration:.......Success
Command to be run: "/opt/IBM/db2/V8.1/instance/db2icrt -a SERVER -s
ese -u db2fenc1 -p db2c_db2inst1 db2inst1".
The instance "db2inst1" has been created successfully.

The value "AUTHENTICATION=SERVER" was set in the DBM CFG file for the
"db2inst1" instance.

The value "SVCENAME=db2c_db2inst1" was set in the DBM CFG file for the
"db2inst1" instance.

The value "DB2AUTOSTART=YES" was set in the Profile Registry for the
"db2inst1"
instance.

Creating DB2 instances:.......Success
Building list of databases to create:.......Success
Registering DB2 licenses:.......Success
Creating DB2 databases:.......Success
Configuring the DB2 Administration Server:.......Success
Updating global profile registry:.......Success
The contact "contact1" was successfully added.

Configuring health alert notifications:.......Success
ERROR:SQL22209N The DB2 Administration Server encountered an
unexpected Java error
on host "".

ERROR:An error occurred while running the command
"/cse/applications/localhome/db2inst1/sqllib/bin/db2 CREATE TOOLS
CATALOG
SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE" to initialize and/or
migrate the
DB2 tools catalog database. The return value is "4".

Creating DB2 tools catalog:.......Failure
WARNING:A minor error occurred while installing "DB2 Universal
Database
Enterprise Server Edition" on this computer. Some features may not
function
correctly.
************************************************** ****************************
Nov 12 '05 #1
1 8067
srihari wrote:
1) How to uninstall existing java forcefully using rpm ?

rpm -e --nodeps whatever-java-package-is-called

This assumes that this Java was installed using RPM in the first place.

2) what are the components that are dependent on tools catalog, even
if i dont install tools catalog , will things work fine still ?
The base server will work fine. However you'll not be able to use some of
the GUI tools (not sure exactly what ones).


3) when i issue the following the installation freezes after some
point,

If you remove the Sun JDK (as above) then the IBM JDK should be installed as
part of the regular install (using db2setup).

Configuring health alert notifications:.......Success
ERROR:SQL22209N The DB2 Administration Server encountered an
unexpected Java error
on host "".
I suspect this is because of the problems with Java you mentioned above

ERROR:An error occurred while running the command
"/cse/applications/localhome/db2inst1/sqllib/bin/db2 CREATE TOOLS
CATALOG
SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE" to initialize and/or
migrate the
DB2 tools catalog database. The return value is "4".


Best to ask IBM support about this one.

Not having an Itanium box to hand I haven't tried the install myself.

If you want to start again, then you'll need to run db2stop (as db2inst1),
db2admin stop (as dasadm1), db2idrop (as root), remove the user IDs and
groups, get rid of the Sun JDK and then try db2setup again.

It's not something as obvious as running out of disk space ?

Phil
Nov 12 '05 #2

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

Similar topics

2
by: Chicken'n Toast | last post by:
Hello, Is it possible to install "SQL 2000 Server 1CPU" on a dual processor machine and make SQL use only one CPU? Thanx
9
by: Grim Reaper | last post by:
My work let me put SQL Server 7.0 Enterprise Edition on my laptop. I have never setup a server from the beginning, so I am a little new at creating server groups. Alright, I am trying to create...
2
by: spark | last post by:
i have win xp and i trying to install ms sql server 2000 Enterprise Edition on it but after i try to do this i get a following message "Microsoft SQL Server 2000 Enterprise Edition server component...
5
by: Joseph Barbaro | last post by:
I am trying to install DB2 Universal Database Enterprise Server Edition Version 8.1 (for Windows operating systems on 32-bit systems) on Windows 2000 Advanced Server that can be either standalone...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
6
by: ljh | last post by:
(note: this is being posted to the dotnet groups because of thier expertise in app development and network administration) I cannot, for the life of me, remember the name of an application that I...
2
by: cjayp | last post by:
I have installed SQL Sever 2000 on my Windows XP Pro machine from the Enterprise Edition setup and it prompts you that only the client tools can be installed. I wanted to have a local database as...
1
by: Navshad Ali | last post by:
Dear friends, I am looking for step by step Process involved in installing Sql server 6.5 Enterprise Edition on Windows NT4.0 Enterprise Edition. Kindly please guide me towards the Correct...
0
by: Toralf Kirsten | last post by:
Hi all, we have installed DB2 V9.5 Trial on a Fedora 6 Linux box (32bit). Since the box is included in a NIS we have manually created db2 users db2inst, dasusr and db2fenc on this box (not in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.