Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    arlington,tx
    Posts
    12

    Unanswered: Installation of DB2 Enterprise Server edition 8.1 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

    P.S: I have attached the db2 installation log file for your reference.
    Attached Files Attached Files

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    I would download and install IBM Java from here:
    http://www-106.ibm.com/developerwork...jdk/index.html

    and then run the following command:

    db2 update dbm cfg using JDK_PATH /opt/IBMJava2-14

    The above is the directory for IBM Java 1.4. Please change the directory in the above command depending on where the IBM Java is installed.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •