Results 1 to 13 of 13
  1. #1
    Join Date
    Sep 2003
    Location
    US, California, Walnut Creek
    Posts
    5

    Unhappy Unanswered: Installation of DB2 8.1 UDB Express fails on SuSE 8.2

    Hi,
    could please anybody help me out. When I try ./db2setup nothing shows up. I checked the logs and here they are.
    Thank you,
    Radek

    lump:/tmp # tail -f db2*
    ==> db2setup.err.running <==
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
    at com.ibm.db2.install.launchpad.DB2ProductIdentifier s.<init>(DB2ProductIdentifiers.java:138)
    at com.ibm.db2.install.launchpad.DB2ProductIdentifier s.getProductIdentifierInstance(DB2ProductIdentifie rs.java:271)
    at com.ibm.db2.install.launchpad.LaunchPad.<init>(Lau nchPad.java:159)
    at DB2Setup.doInstall(DB2Setup.java:274)
    at DB2Setup.<init>(DB2Setup.java:214)
    at DB2Setup.main(DB2Setup.java:129)

    ==> db2setup.his <==

    DB2 Setup log file started at: Fri 19 Sep 2003 02:53:09 PM PDT PDT
    ================================================== ==========

    Operating system information: Linux 2.4.20-4GB.#1 Wed Aug 6 18:26:21 UTC 2003 i686

    DB2 Setup log file started at: Fri 19 Sep 2003 02:54:00 PM PDT PDT
    ================================================== ==========

    Operating system information: Linux 2.4.20-4GB.#1 Wed Aug 6 18:26:21 UTC 2003 i686

    ==> db2setup.log <==

    DB2 Setup log file started at: Fri 19 Sep 2003 02:54:00 PM PDT PDT
    ================================================== ==========

    Operating system information: Linux 2.4.20-4GB.#1 Wed Aug 6 18:26:21 UTC 2003 i686

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Did you issue the following command before the db2setup?

    xhost + host_name
    export DISPLAY=host_name:0

    where host_name is your host.

  3. #3
    Join Date
    Sep 2003
    Location
    US, California, Walnut Creek
    Posts
    5
    Sure I did. I have DISPLAY=:0.0 and xhost +. Please note it is not regular 8.1 UDB but Express edition. I do not know if it makes any difference though.

  4. #4
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You may want to install IBM Java SDK or JRE 1.31 first,and then put the directory in your path. You can download this from the IBM site for free.

    PATH=$PATH:/opt/IBMJava2_13jre/bin
    export PATH


    (Check out the correct path name after the install)

  5. #5
    Join Date
    Sep 2003
    Location
    US, California, Walnut Creek
    Posts
    5
    I tried various things. Looks like IBM Java 1.3.1 is the same as it came with. I actually editted db2jinst script to be sure it is using it. It is in db2/install/linux/bin I believe. I got the same exception as above. Also I tried Sun Java 1.4.2, it just hung and nothing came back. I tried it with java that came with and set LD_ASSUME_KERNEL=2.4.1 as it solved issue with Oracle installer for me.
    I'm at the point where I'll probably give up. I have found a few posts from IBM from Toronto and they were saying in May that certification for SuSE 8.2 should take few weeks. (HINT!!!)
    So, I downloaded DB2 8.1 not the Express Edition and I'll give it try hopefully today.
    Cheers,
    Radek

    Oh, this is as far as I got:
    -bash: db2setup: command not found
    lump:~/DB2 # ./db2setup
    DBI1190I db2setup is preparing the DB2 Setup Wizard which will
    guide you through the program setup process. Please
    wait.

  6. #6
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    It maybe that your SUSE 8.2 distribution is not supported.

    Check out for which linux distributions are:
    http://www-3.ibm.com/software/data/db2/linux/validate/

    It may also be the kernel 2.4.20. We had problems with that kernel under Red Hat.

    Andy

  7. #7
    Join Date
    Sep 2003
    Location
    US, California, Walnut Creek
    Posts
    5
    I know it is not supported, but I do not have any other box for testing.
    Radek

  8. #8
    Join Date
    Sep 2003
    Location
    US, California, Walnut Creek
    Posts
    5
    Oh, my download of DB2 8.1 UDB just finished and I tried to launch installer. Guess what? It works. Apparently the issue is connected only to newly released Express Edition.
    Radek

  9. #9
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    If there is a kernel problem with 8.2 (as there is with all Linux version 9 releases) then you might try this:

    LD_ASSUME_KERNEL=2.2.5
    export LD_ASSUME_KERNEL

  10. #10
    Join Date
    Oct 2003
    Posts
    2

    DB2 Express on RedHat Linux 9

    I tried to install Db2 Express on RedHat linux 9 and it failed also.

    DBI1190I db2setup is preparing the DB2 Setup Wizard which will
    guide you through the program setup process. Please
    wait.


    /home/DB2/169_EXP_LNX_32_NLV_TNB/db2/linux/install/db2jinst: line 131: 4056 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running

  11. #11
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Red Hat 9 is definitely not supported yet (which means it does not work). You can get it to work with workarounds, but the workarounds will disable multi-processor support.

    For RH9 try:

    LD_ASSUME_KERNEL=2.2.5
    export LD_ASSUME_KERNEL

    I have also posted some other tips for DB2 V8 on RH9 in other threads that you can search for.

  12. #12
    Join Date
    Oct 2003
    Posts
    2

    Thank you Marcus!

    After adding the env variable suggested, I have just installed DB2 Express under RH9. I have created an instance and a DB. The next problem I see is the db2cc command returns....

    DB2JAVIT : RC = 11

  13. #13
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You install under root, but you need to execute db2cc under the instance owner id (default is db2inst1 unless you changed it). Make sure that LD_ASSUME_KERNEL command is run for the instance owner id.

    If you need to start the DB2 administrative server, this must be done by the DB2 administrative server user id (default is dasusr1). You can also set the DB2 administrative server to autostart.

Posting Permissions

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