Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2003
    Posts
    1,636
    Provided Answers: 1

    Answered: db2setup exists with error before install window opens

    Hi,
    I have installed "Ubuntu 16.04 x86_64 minimal" and now I would like to install DB2 11.1 Advanced Workgroup Server Edition.

    I have logged into Ubuntu using ssh and if I execute:
    Code:
    ./db2setup
    The following info is displayed in terminal "Non-root install is being performed." and GUI opens up normally. I can click on "Install Now" button and wizard looks like working fine.

    ... but I don't want to install Non-Root installation, but full root install.

    I did the following:
    Code:
    sudo ./db2setup
    "IBM DB2" GUI is displaying (blue arrow in circle), but after few seconds it just closes without any error displayed.

    Now I have tried running db2setup with trace/logs enabled:
    Code:
    sudo ./db2setup -t trace -l log
    Setup closed down as in previous step (as expected) and 4 files where created:
    - db2setup.err
    - log
    - trace.ctrc
    - trace.jtrc

    I see trace.* files are cryptic.

    Log file:
    Code:
    DB2 Setup log file started at:  Thu Jun 15 02:56:23 PM 2017 CEST
    ============================================================
    Operating system information: Linux 4.4.0-79-generic.#100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -v install". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -s install". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/install/db2cktsa -v install". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -s media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -s media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/install/db2cktsa -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -s media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/gpfs/db2ckgpfs -s media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/install/db2cktsa -v media". 
    Command to be run: "/home/grofaty/temp/db2install/server_awse_c/db2/linuxamd64/install/db2cktsa -v media". 
    Command to be run: "/usr/lpp/mmfs/bin/mmsdrquery sdrq_cluster_info sdrq_cluster_name ".
    db2setup.err:
    Code:
    Unhandled exception
    Type=Segmentation error vmState=0x00000000
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
    Handler1=00007F5981848A90 Handler2=00007F5981189870 InaccessibleAddress=0000000000000000
    RDI=0000000000000000 RSI=00000000000001A0 RAX=00007F597C0C25D0 RBX=00007F597C0C25D0
    RCX=00007F597C000020 RDX=00007F597C0C25D0 R8=00007F597C64A1A0 R9=00007F598210B700
    R10=00007F597C0000C8 R11=0000000000000000 R12=00007F597C0C7B20 R13=00007F597CA67BE0
    R14=00007F597C0C18F0 R15=00007F597CA67BE0
    RIP=00007F594BB524A7 GS=0000 FS=0000 RSP=00007F59820FECF0
    EFlags=0000000000210202 CS=0033 RBP=0000000000000000 ERR=0000000000000004
    TRAPNO=000000000000000E OLDMASK=0000000000000000 CR2=0000000000000000
    xmm0 ffff000000ff00ff (f: 16711935.000000, d: -nan)
    xmm1 2525252525252525 (f: 623191360.000000, d: 9.532824e-130)
    xmm2 000000ff000000ff (f: 255.000000, d: 5.411089e-312)
    xmm3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
    xmm4 ffff0000000000ff (f: 255.000000, d: -nan)
    xmm5 0000000000000001 (f: 1.000000, d: 4.940656e-324)
    xmm6 0000000000000008 (f: 8.000000, d: 3.952525e-323)
    xmm7 0000000000000006 (f: 6.000000, d: 2.964394e-323)
    xmm8 3bbcc86800000000 (f: 0.000000, d: 6.095003e-21)
    xmm9 3fb20a55ad853fde (f: 2911191040.000000, d: 7.047019e-02)
    xmm10 3d7738a705e345bb (f: 98780600.000000, d: 1.319978e-12)
    xmm11 403090a7e98e24c0 (f: 3918406912.000000, d: 1.656506e+01)
    xmm12 3cc1000000000000 (f: 0.000000, d: 4.718448e-16)
    xmm13 3fb20a55ad854000 (f: 2911191040.000000, d: 7.047019e-02)
    xmm14 4030a2b23f3baa00 (f: 1060874752.000000, d: 1.663553e+01)
    xmm15 3c46b86dc2b917db (f: 3266910208.000000, d: 2.463353e-18)
    Module=./libdb2ure.so
    Module_base_address=00007F594B8C5000 Symbol=_ZN7DB2Spec9getVRMFISEv
    Symbol_address=00007F594BB524A0
    Target=2_80_20160106_284759 (Linux 4.4.0-79-generic)
    CPU=amd64 (1 logical CPUs) (0x7d052000 RAM)
    ----------- Stack Backtrace -----------
    _ZN7DB2Spec9getVRMFISEv+0x7 (0x00007F594BB524A7 [libdb2ure.so+0x28d4a7])
    _Z19iChkGPFSBinaryForSDPcmPiS_S_S_ib+0x19e8 (0x00007F594BB9C718 [libdb2ure.so+0x2d7718])
    Java_com_ibm_db2_install_core_sd_Cluster_iChkGPFSBinaryForSDNative+0x6d (0x00007F594BA978FD [libdb2ure.so+0x1d28fd])
    (0x00007F598186051C [libj9vm28.so+0x8c51c])
    ---------------------------------------
    JVMDUMP039I Processing dump event "gpf", detail "" at 2017/06/15 14:56:25 - please wait.
    JVMDUMP032I JVM requested System dump using '/root/db2.tmp.22721/db2/linuxamd64/install/core.20170615.145625.25898.0001.dmp' in response to an event
    JVMDUMP010I System dump written to /root/db2.tmp.22721/db2/linuxamd64/install/core.20170615.145625.25898.0001.dmp
    JVMDUMP032I JVM requested Java dump using '/tmp/javacore.20170615.145625.25898.0002.txt' in response to an event
    JVMDUMP010I Java dump written to /tmp/javacore.20170615.145625.25898.0002.txt
    JVMDUMP032I JVM requested Snap dump using '/root/db2.tmp.22721/db2/linuxamd64/install/Snap.20170615.145625.25898.0003.trc' in response to an event
    JVMDUMP010I Snap dump written to /root/db2.tmp.22721/db2/linuxamd64/install/Snap.20170615.145625.25898.0003.trc
    JVMDUMP007I JVM Requesting JIT dump using '/root/db2.tmp.22721/db2/linuxamd64/install/jitdump.20170615.145625.25898.0004.dmp'
    JVMDUMP010I JIT dump written to /root/db2.tmp.22721/db2/linuxamd64/install/jitdump.20170615.145625.25898.0004.dmp
    JVMDUMP013I Processed dump event "gpf", detail "".

    Any idea what is wrong?

    Additional info
    I have installed all of the prerequisites, so executing:
    Code:
    ./db2prereqcheck -v 11.1.0.0
    returns:
    Code:
    Checking prerequisites for DB2 installation. Version "11.1.0.0". Operating system "Linux" 
       
    Validating "Linux distribution " ... 
       Required minimum "UBUNTU" version: "14.04" 
       Actual version: "16.04" 
       Requirement matched. 
       
    Validating "kernel level " ... 
       Required minimum operating system kernel level: "2.6.16". 
       Actual operating system kernel level: "4.4.0". 
       Requirement matched. 
       
    Validating "C++ Library version " ... 
       Required minimum C++ library: "libstdc++.so.6" 
       Standard C++ library is located in the following directory: "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21". 
       Actual C++ library: "CXXABI_1.3.1" 
       Requirement matched. 
       
    
    Validating "32 bit version of "libstdc++.so.6" " ... 
       Found the 64 bit "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" in the following directory "/usr/lib/x86_64-linux-gnu". 
       Found the 32 bit "/usr/libx32/libstdc++.so.6" in the following directory "/usr/libx32". 
       Requirement matched. 
       
    Validating "/lib/i386-linux-gnu/libpam.so*" ... 
       Requirement matched. 
    DBT3533I  The db2prereqcheck utility has confirmed that all installation prerequisites were met.
    It looks fine, all prerequisites are installed.
    Last edited by grofaty; 06-15-17 at 10:08.

  2. Best Answer
    Posted by grofaty

    "@db2mor, thanks a lot for your help, I manage to solve the problem.

    I did the following:
    1. created a virtual machine snapshot (so I can revert back to this state).
    2. I installed "rpm" package and now after executing "sudo ./db2setup" (from main DB2 GA iso image) GUI window stays open and installation wizard works perfectly. Conclusion: "rpm" package is also a DB2 pre-install requirement! But after pressing Finish button in install wizard installation finished with "Minor errors". I don't like that.
    3. I reverted virtual machine back, installed "rpm" package and downloaded fixpack 1a, extracted archive and within extracted fixpack directory I have executed: sudo ./db2setup and installation finished with "Successfully installed".

    Note: I have been installing DB2 for years and I have ALWAYS installed base DB2 product and after that installed fixpack over it (by using sudo ./installFixpack). It looks like in fixpack WHOLE product is also available, so that is why I have been wondering why fixpack is bigger then base product itself, now it looks like WHOLE product is also bundled inside fixpack. Interesting!

    Now executing: "db2level" command and it report "DB2 v11.1 fixpack 1a" and "db2licm -l" reports "Advanced Workgroup Edition" but license type is "Trial". But this should not be a problem, after installation was finished the last dialog was info and I read that info and there is info for "Post-installation tasks" to download license file from "Passport Advantage". I haven't done that yet, because I need to test if everything is working fine, it looks like it does but I need to be sure.

    Thanks a million for help."


  3. #2
    Join Date
    Apr 2012
    Posts
    1,143
    Provided Answers: 27
    I had to download the server fixpack for V11.1.1.1 from fix central before I could get V11.1 to install on Ubuntu, there was an APAR. Once I downloaded the server fixpack I was able to install from that server fixpack and it worked as expected. Depending on your ubuntu release you may also need to workaround to get DB2 v11.1 to work with systemd at startup etc.
    Additionally DB2 v11.1 for Linux depends on rpm, but the present db2prereqcheck does not check this explicitly, so if rpm is not installed on your Ubuntu you will need to install rpm first.
    Last edited by db2mor; 06-15-17 at 12:39.

  4. #3
    Join Date
    Jan 2003
    Posts
    1,636
    Provided Answers: 1
    @db2mor, thanks a lot for your help, I manage to solve the problem.

    I did the following:
    1. created a virtual machine snapshot (so I can revert back to this state).
    2. I installed "rpm" package and now after executing "sudo ./db2setup" (from main DB2 GA iso image) GUI window stays open and installation wizard works perfectly. Conclusion: "rpm" package is also a DB2 pre-install requirement! But after pressing Finish button in install wizard installation finished with "Minor errors". I don't like that.
    3. I reverted virtual machine back, installed "rpm" package and downloaded fixpack 1a, extracted archive and within extracted fixpack directory I have executed: sudo ./db2setup and installation finished with "Successfully installed".

    Note: I have been installing DB2 for years and I have ALWAYS installed base DB2 product and after that installed fixpack over it (by using sudo ./installFixpack). It looks like in fixpack WHOLE product is also available, so that is why I have been wondering why fixpack is bigger then base product itself, now it looks like WHOLE product is also bundled inside fixpack. Interesting!

    Now executing: "db2level" command and it report "DB2 v11.1 fixpack 1a" and "db2licm -l" reports "Advanced Workgroup Edition" but license type is "Trial". But this should not be a problem, after installation was finished the last dialog was info and I read that info and there is info for "Post-installation tasks" to download license file from "Passport Advantage". I haven't done that yet, because I need to test if everything is working fine, it looks like it does but I need to be sure.

    Thanks a million for help.

  5. #4
    Join Date
    Apr 2012
    Posts
    1,143
    Provided Answers: 27
    The 'server fixpack' has always been installable standalone without needing the base version first, for DB2 LUW, for some years now.

  6. #5
    Join Date
    Jan 2003
    Posts
    1,636
    Provided Answers: 1
    Quote Originally Posted by db2mor View Post
    The 'server fixpack' has always been installable standalone without needing the base version first, for DB2 LUW, for some years now.
    I just didn't know that. The whole day I have spent yesterday debugging this problem, this single 'server fixpack' info I have learned from you was worth it.

    Now I have downloaded "license" file from Passport Advantage and applied it with:
    Code:
    db2licm -a db2awse_c.lic
    I have tested database product and it looks like no issue so far. Thanks a lot for your help. I really appreciate it.
    Regards

Posting Permissions

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