Results 1 to 12 of 12
  1. #1
    Join Date
    Jan 2008
    Posts
    96

    Unanswered: DB2 Install using rpm command

    Hi All,

    OS: Redhat Enterprise Linux 5
    DB2 v8.2

    This is the first time I am installing DB2 on Linux. When I unpacked the tar ball, all I could see is 8 rpm packages, is this normal?

    My understanding is that IBM does not recommend installing DB2 using rpm command also I am not sure what package to use out of the 8 packages?

    Thanks

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Where did you get it? You might want to download FP 16 from the IBM website and use the install script (or setup if you have x-windows).
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  3. #3
    Join Date
    Jan 2008
    Posts
    96
    I downloaded DB2 software from IBM Partner World. So it should have an install script but all I see is rpm packages.

  4. #4
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    Can you list the name and contents or the tar?

    Andy

  5. #5
    Join Date
    Jan 2008
    Posts
    96
    Sure.

    The name of the tar file is C829GML.tar

    contents are:

    IBM_db2acsg81-8.1.2-88.i386.rpm
    IBM_db2adsg81-8.1.2-88.i386.rpm
    IBM_db2adtg81-8.1.2-88.i386.rpm
    IBM_db2adtsg81-8.1.2-88.i386.rpm
    IBM_db2cag81-8.1.2-88.i386.rpm
    IBM_db2cj81-8.1.2-88.i386.rpm
    IBM_db2cliv81-8.1.2-88.i386.rpm
    IBM_db2crte81-8.1.2-88.i386.rpm

  6. #6
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Did you run the following command?

    tar -xvf C829GML.tar

    Are you sure there are no directories created in addition to the packages?
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  7. #7
    Join Date
    Jan 2008
    Posts
    96
    Yes I was using tar -xvf C829GML.tar to untar the file.

    I downloaded the software again and now I can see db2setup. Maybe it didn't download properly the first time.

    Thanks

  8. #8
    Join Date
    Mar 2009
    Posts
    4
    Please help me.I have C829GML .I want to install on Linux.So I want to know ,how to install .If somebody know ,explain me step by step.

  9. #9
    Join Date
    Aug 2008
    Location
    Toronto, Canada
    Posts
    2,367
    look for db2setup or db2_install in the tar file

  10. #10
    Join Date
    Mar 2009
    Posts
    4
    i have problem install db2 on linux "fedora 9".

    when i install db2_install,
    [root@biplus 334_ESE_LNX26_32_NLV]#./db2_install
    display "/home......../334_ESE_LNX26_32_NLV/db2/linux26/bin/disp_msg: error while loading shared libraries: libstdc++.s0.5: cannot open shared object file: NO such file or directiory.

    i can not resolve this error.
    pls help

  11. #11
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Quote Originally Posted by libra484
    i have problem install db2 on linux "fedora 9".

    when i install db2_install,
    [root@biplus 334_ESE_LNX26_32_NLV]#./db2_install
    display "/home......../334_ESE_LNX26_32_NLV/db2/linux26/bin/disp_msg: error while loading shared libraries: libstdc++.s0.5: cannot open shared object file: NO such file or directiory.

    i can not resolve this error.
    pls help
    Find the readme file for the installation pre-requisites. Then run the "yum search" command to find the package needed, When you find the package, then run "yum update package-name" to install the missing pre-reqs.

    Since the error message tells you the missing library, then you could probably skip reading the instructions to get the pre-reqs.

    If you need more info on yum, do a google search (it has nothing to do with DB2, it is the way you get updates and new packages for Fedora).
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

  12. #12
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    Typically, there is a compat-stdc++ package (or similar) available, which provides libstdc++.so.5 your distribution.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

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