Topic
5 replies Latest Post - ‏2012-10-08T18:04:13Z by mor
Rabaail
Rabaail
7 Posts
ACCEPTED ANSWER

Pinned topic DB2 8.2 Installation components errors (RHEL 5)

‏2012-10-05T07:42:25Z |
Hi everyone,

As required by a client, I tried installing DB2 8.2 on RHEL 5. After installation was done, some of the components failed to complete. Following errors appear in status report:

"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:.......Failure Initializing instance list:.......Success Creating DB2 instances:.......Failure Building list of databases to create:.......Success Creating DB2 databases:.......Failure Configuring the DB2 Administration Server:.......Failure Updating global profile registry:.......Success Configuring health alert notifications:.......Failure Creating DB2 tools catalog:.......Failure"

I tried creating DAS and instance manually, but encountered following errors.

DAS CREATION ERROR:
DBI1082E The file or directory /home/dasusr1/das already exists.

Explanation:

A file or directory that the command needs to create already
exists.

User Response:

Examine the specified file or directory. If the file or
directory exists as a result of a previous successful completion
of the command then no action is required. Otherwise, you will
need to either rename or remove the specified file or directory
before trying the command again.
DBI1079I Output is saved in the log file /tmp/dascrt.log.6641.

Explanation:

All processed and failed operations have been saved into this log
file.

User Response:

Do not modify this file in any way. This file is for IBM
Technical Support reference.
INSTANCE CREATION ERROR:
root@DB2 instance# ./db2icrt -u db2fenc1 db2inst1
tail: cannot open `+2' for reading: No such file or directory
lcount = 0
DBI1069E Unexpected error. Function = chk_fsystype, Return code =
22.
Explanation:
An unexpected error occurred during the execution of this
program.
User Response:
If the problem persists, contact IBM Support with the following
information:
o Message number
o Function name
o Return code
o Problem description
DBI1079I Output is saved in the log file /tmp/db2icrt.log.5847.
Explanation:
All processed and failed operations have been saved into this log
file.
User Response:
Do not modify this file in any way. This file is for IBM
Technical Support reference.

PLEASE SEE THE ATTCHED RESPONSE FILE!

I have been trying this installation for quite a few days now. Please tell me if anyone of you has ever installed DB2 8.2 on RHEL 5 and it successfully worked. Could it be because of Java? (Current Java version is 1.4).
Updated on 2012-10-08T18:04:13Z at 2012-10-08T18:04:13Z by mor
  • Rabaail
    Rabaail
    7 Posts
    ACCEPTED ANSWER

    Re: DB2 8.2 Installation components errors (RHEL 5)

    ‏2012-10-05T07:43:07Z  in response to Rabaail
    Here's the response file.
    • mor
      mor
      460 Posts
      ACCEPTED ANSWER

      Re: DB2 8.2 Installation components errors (RHEL 5)

      ‏2012-10-06T12:12:19Z  in response to Rabaail
      It seems you posted the log file from db2setup (not the response file, which would have been useless).

      Anyway, the log file shows the immediate cause of the problem, although there may be other root causes...

      1. What is the full output of:
      cat /etc/redhat-release

      2. Which specific fixpack of 8.2 are you trying to install?
      (if you are not at the final fixpack for that no-longer-supported version, try installing from that build).

      3. Is it a 32-bit build of DB2, or a 64-bit build ?

      4. Are you performing the installation as 'root' or a non-root user?
      5. Regarding the failure to create the DAS and default-instance, this is
      the same underlying symptom:
      DBI1069E Unexpected error. Function = chk_fsystype, Return code = 22.
      Did you check the contents of file /tmp/dascrt.log.6209 and /tmp/db2icrt.log.6361

      Others reported a compatibility issue with the tail utility and
      suggested modifying :
      /opt/IBM/db2/V8.1/instance/db2iutil/db2iutil
      to perform global search for "tail +2", change it to "tail -n +2"
      6. Before installing DB2, did you verify all of the documented
      pre-requisites? (other required packages, kernel parameters etc. )
      • Rabaail
        Rabaail
        7 Posts
        ACCEPTED ANSWER

        Re: DB2 8.2 Installation components errors (RHEL 5)

        ‏2012-10-08T06:57:37Z  in response to mor
        cat /etc/redhat-release

        Red Hat Enterprise Linux Server release 5 (Tikanga)
        Checking DB2 level:

        db2inst1@jboss ~$ db2level
        -bash: db2level: command not found

        ......

        db2inst1@jboss ~$ rpm -qa | grep db2
        IBM_db2conv81-8.1.0-64
        IBM_db2fs81-8.1.0-64
        IBM_db2dj81-8.1.0-64
        IBM_db2cliv81-8.1.0-64
        IBM_db2sp81-8.1.0-64
        IBM_db2conn81-8.1.0-64
        IBM_db2essg81-8.1.0-64
        IBM_db2icut81-8.1.0-64
        IBM_db2jdbc81-8.1.0-64
        IBM_db2smpl81-8.1.0-64
        IBM_db2cucs81-8.1.0-64
        IBM_db2jhen81-8.1.0-64
        IBM_db2cj81-8.1.0-64
        IBM_db2ca81-8.1.0-64
        IBM_db2das81-8.1.0-64
        IBM_db2pext81-8.1.0-64
        IBM_db2msen81-8.1.0-64
        IBM_db2repl81-8.1.0-64
        IBM_db2rte81-8.1.0-64
        IBM_db2cc81-8.1.0-64
        IBM_db2icuc81-8.1.0-64
        IBM_db2inst81-8.1.0-64
        IBM_db2engn81-8.1.0-64
        IBM_db2ldap81-8.1.0-64
        IBM_db2chen81-8.1.0-64
        IBM_db2crte81-8.1.0-64
        Checking compat-libstdc++ RPM:

        root@jboss RPM# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
        warning: compat-libstdc++-33-3.2.3-61.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
        Preparing... ########################################### 100%
        package compat-libstdc++-33-3.2.3-61 is already installed
        file /usr/lib/libstdc++.so.5.0.7 from install of compat-libstdc++-33-3.2.3-61 conflicts with file from package compat-libstdc++-33-3.2.3-61
        Checking Java version:

        root@jboss RPM# java -version
        java version "1.4.2"
        gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

        Checking Kernel:

        uname -a
        Linux jboss.app.srv 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
        Apparently, all prerequisites for installing DB2 are complete. I am still unable to perform anything.

        Does it matter if you are trying to install i386 DB2 on i686?
      • Rabaail
        Rabaail
        7 Posts
        ACCEPTED ANSWER

        Re: DB2 8.2 Installation components errors (RHEL 5)

        ‏2012-10-08T07:00:01Z  in response to mor
        p.s. it is a 32 bit build, and I am installing through root user.
        • mor
          mor
          460 Posts
          ACCEPTED ANSWER

          Re: DB2 8.2 Installation components errors (RHEL 5)

          ‏2012-10-08T18:04:13Z  in response to Rabaail
          You did not properly address my items 2,3,5 - as far as I can tell from your reply.

          The reason the fixpack is important is due to what versions IBM supported + recommended + validated back in the day when v8.x was in support. It seems the list was as follows:
          v8.1 RHEL 3
          v8.2 RHEL 4,5
          Keep in mind that v8.1 became v8.2 after applying a certain fixpack number - so that's why you need to research the fixpack you are trying to install.
          You can determine the fixpack from the package you downloaded from fix-central, or alternatively by running the fully qualified absolute path to the db2level command (example /opt/ibm/db2/V8.1/....)

          IBM's website is unclear whether the 32-bit build will work OK on a 64-bit kernel, but if in doubt, try keeping the bitness the same to eliminate this possibility.