Topic
  • 17 replies
  • Latest Post - ‏2013-05-30T11:15:14Z by vineetmishra
dickr
dickr
31 Posts

Pinned topic db2 ten. Install scripts fail on debian

‏2012-05-03T14:05:47Z |
I've installed express-C on debian before, but now:
code
root@deb32:~/expc# id && echo ${SHELL} && uname -a
uid=0(root) gid=0(root) groups=0(root)
/bin/bash
Linux deb32 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux
root@deb32:~/expc# ./db2ckupgrade
Illegal instruction
[: 562: -eq: unexpected operator
Illegal instruction
root@deb32:~/expc# ./db2_install
Illegal instruction
[: 846: -ne: unexpected operator
Illegal instruction
Illegal instruction
[: 982: -eq: unexpected operator
Illegal instruction
Illegal instruction
Illegal instruction
root@deb32:~/expc#
[/code]
Anyone got it working on debian?
Updated on 2012-07-13T07:27:17Z at 2012-07-13T07:27:17Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-04T09:09:19Z  
    Looking into it, will reply u back asap.

    Thanks
  • dickr
    dickr
    31 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-05T15:58:45Z  
    Looking into it, will reply u back asap.

    Thanks
    Maybe a packaging error? An "Illegal instruction" could be caused by a 64-bit instruction. I run this on:

    dick@deb32:/proc$ cat cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 8
    model name : AMD Sempron(tm) 2400+
    stepping : 1
    cpu MHz : 1666.294
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
    bogomips : 3332.58
    clflush size : 32
    cache_alignment : 32
    address sizes : 34 bits physical, 32 bits virtual
    power management: ts
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-05T16:04:34Z  
    • dickr
    • ‏2012-05-05T15:58:45Z
    Maybe a packaging error? An "Illegal instruction" could be caused by a 64-bit instruction. I run this on:

    dick@deb32:/proc$ cat cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 8
    model name : AMD Sempron(tm) 2400+
    stepping : 1
    cpu MHz : 1666.294
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
    bogomips : 3332.58
    clflush size : 32
    cache_alignment : 32
    address sizes : 34 bits physical, 32 bits virtual
    power management: ts
    I hope you have downloaded the correct and complete image, anyway I will try to repro this issue on my debian box tomorrow.
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-05T17:17:15Z  
    I hope you have downloaded the correct and complete image, anyway I will try to repro this issue on my debian box tomorrow.
    Hmm looks like there is some problem with the downloaded package, please download it again. I just tried db2 installation on debian and all utilities are working fine, attaching the screenshot.
    Thanks
    Vineet
  • dickr
    dickr
    31 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-05T19:15:16Z  
    Hmm looks like there is some problem with the downloaded package, please download it again. I just tried db2 installation on debian and all utilities are working fine, attaching the screenshot.
    Thanks
    Vineet
    downloaded again. The light version this time......

    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite# ./db2prereqcheck

    ==========================================================================
    Checking DB2 prerequisites for DB2 database version 10.1.0.0 on operating system "Linux"

    Validating kernel level ...
    Required minimum operating system kernel level : "2.6.16".
    Actual operating system kernel level: "2.6.32".
    Requirement matched.

    Validating C++ Library version ...
    Required minimum C++ library: libstdc++.so.6
    Standard C++ library is located in the following directory: "/usr/lib/libstdc++.so.6.0.13".
    Actual C++ library: CXXABI_1.3.1
    Requirement matched.

    DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met for DB2 database server . Version: "10.1.0.0".
    DB2 version 9.8.0.4 is not supported on the current platform.
    DB2 version 9.8.0.3 is not supported on the current platform.
    DB2 version 9.8.0.2 is not supported on the current platform.
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite# ./db2setup
    Illegal instruction
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite#
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-06T22:16:35Z  
    • dickr
    • ‏2012-05-05T19:15:16Z
    downloaded again. The light version this time......

    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite# ./db2prereqcheck

    ==========================================================================
    Checking DB2 prerequisites for DB2 database version 10.1.0.0 on operating system "Linux"

    Validating kernel level ...
    Required minimum operating system kernel level : "2.6.16".
    Actual operating system kernel level: "2.6.32".
    Requirement matched.

    Validating C++ Library version ...
    Required minimum C++ library: libstdc++.so.6
    Standard C++ library is located in the following directory: "/usr/lib/libstdc++.so.6.0.13".
    Actual C++ library: CXXABI_1.3.1
    Requirement matched.

    DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met for DB2 database server . Version: "10.1.0.0".
    DB2 version 9.8.0.4 is not supported on the current platform.
    DB2 version 9.8.0.3 is not supported on the current platform.
    DB2 version 9.8.0.2 is not supported on the current platform.
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite# ./db2setup
    Illegal instruction
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite#
    Something is wrong with the downloaded image or the box itself. I just downloaded the light version of DB2v10 and installer is working fine on Debian 32 bit platform.

    Can u run the installer again with -d and -t option and see where it is causing the error?? For eg try this db2_install -d -t <trace file>

    It would be great if you can save the o/p in a file after using -d and -t option and attach that file here.
    Thanks
    Vineet
  • SystemAdmin
    SystemAdmin
    5837 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-06T23:04:40Z  
    • dickr
    • ‏2012-05-05T15:58:45Z
    Maybe a packaging error? An "Illegal instruction" could be caused by a 64-bit instruction. I run this on:

    dick@deb32:/proc$ cat cpuinfo
    processor : 0
    vendor_id : AuthenticAMD
    cpu family : 6
    model : 8
    model name : AMD Sempron(tm) 2400+
    stepping : 1
    cpu MHz : 1666.294
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 1
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
    bogomips : 3332.58
    clflush size : 32
    cache_alignment : 32
    address sizes : 34 bits physical, 32 bits virtual
    power management: ts
    What is the processor architecture? Is it 64 or 32 bit? Also I don't see any entry of rm tm lm under flag.

    Thanks
  • dickr
    dickr
    31 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-07T06:55:08Z  
    What is the processor architecture? Is it 64 or 32 bit? Also I don't see any entry of rm tm lm under flag.

    Thanks
    32. I would like a bit more but 32 it is :)

    (I'm at the office now, I will try your suggestion later)
  • dickr
    dickr
    31 Posts

    Re: db2 ten. Install scripts fail on debian

    ‏2012-05-08T20:34:59Z  
    • dickr
    • ‏2012-05-07T06:55:08Z
    32. I would like a bit more but 32 it is :)

    (I'm at the office now, I will try your suggestion later)
    Found something, don't know what:
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite/db2/linux/bin# file db2usrinf
    db2usrinf: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.4, not stripped
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite/db2/linux/bin# ldd ./db2usrinf
    linux-gate.so.1 => (0xb7866000)
    libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb782f000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb773a000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb771b000)
    libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75d4000)
    libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb75d0000)
    /lib/ld-linux.so.2 (0xb7867000)
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite/db2/linux/bin# ./db2usrinf
    Illegal instruction
    root@deb32:/home/dick/db2_v101_linuxia32_expc_lite/devinst/db2_galileo/linuxia32/s120403/expc_lite/db2/linux/bin#

    Does not look like IBM slipped a 64bit program in, so there must be something with my debian machine. What can it be?