Topic
7 replies Latest Post - ‏2013-01-18T15:33:22Z by SystemAdmin
SystemAdmin
SystemAdmin
5837 Posts
ACCEPTED ANSWER

Pinned topic DB2 won't install under CentOS

‏2009-01-11T20:52:27Z |
I am trying to install DB2 Express on a virtual machine running the latest CentOS 5.2. I get the error

DBI1705E The port number specified 50004 is being used by
another application.

or I get

/tmp/db2.tmp.8308/db2/linux/install//db2setup_exec: line 553: 8906 Segmentation fault ${RUNLOCATION?}/${DB2INSTALLER?} ${DB2OPTS?}

The difference is based on how much maintenance I apply. Needless to say, port 50004 is not in use. Insert any port number and it will fail. It fails with either 9.5 or the 9.5.2 beta

Ideas welcome
Updated on 2013-01-18T15:33:22Z at 2013-01-18T15:33:22Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    5837 Posts
    ACCEPTED ANSWER

    Re: DB2 won't install under CentOS

    ‏2009-01-14T22:12:24Z  in response to SystemAdmin
    Here is the error dump I get

    Jan 14, 2009 11:27:48 AM java.util.prefs.FileSystemPreferences$3 run
    INFO: Created system preferences directory in java.home.
    Unhandled exception
    Type=Segmentation error vmState=0x00000218
    J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
    Handler1=00396368 Handler2=0041084F InaccessibleAddress=00000010
    EDI=00E93D70 ESI=0000003F EAX=00000000 EBX=07B3080C
    ECX=00000001 EDX=00E9EB90
    EIP=079E96E3 ES=C040007B DS=C040007B ESP=00E93C64
    EFlags=00010206 CS=00000073 SS=0000007B EBP=00E93D8C
    Module=./libdb2ure.so
    Module_base_address=07916000 Symbol=_ZN12InstallTCPIP13iIsPortOpenedEi
    Symbol_address=079E9660
    Target=2_30_20070420_12448_lHdSMR (Linux 2.6.18-92.1.13.el5xen)
    CPU=x86 (2 logical CPUs) (0x2002c000 RAM)
    JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
    JVMDUMP007I JVM Requesting System Dump using '/tmp/db2.tmp.20644/db2/linux/install/core.20090114.194616.22548.dmp'
    JVMDUMP010I System Dump written to /tmp/db2.tmp.20644/db2/linux/install/core.20090114.194616.22548.dmp
    JVMDUMP007I JVM Requesting Snap Dump using '/tmp/db2.tmp.20644/db2/linux/install/Snap0002.20090114.194616.22548.trc'
    JVMDUMP010I Snap Dump written to /tmp/db2.tmp.20644/db2/linux/install/Snap0002.20090114.194616.22548.trc
    JVMDUMP007I JVM Requesting Java Dump using '/tmp/javacore.20090114.194616.22548.txt'
    JVMDUMP010I Java Dump written to /tmp/javacore.20090114.194616.22548.txt
    JVMDUMP013I Processed Dump Event "gpf", detail "".
  • SystemAdmin
    SystemAdmin
    5837 Posts
    ACCEPTED ANSWER

    Re: DB2 won't install under CentOS

    ‏2009-06-15T19:03:39Z  in response to SystemAdmin
    I have a similar GPF in libdb2ure with a genuine SLES11 s390x so I think pointing at CentOS is a red herring.

    After a very long an painful day of trying to install DB2, I found that the instance creation failed because it expected the plain hostname to resolve. An entry in the /etc/hosts did the trick.

    -Rob
    • Z-Company
      Z-Company
      310 Posts
      ACCEPTED ANSWER

      avoid DB2 on CentOS

      ‏2009-06-16T08:26:47Z  in response to SystemAdmin
      I highly recommend to stay away from CentOS. Its most problematic distribution for running DB2 and its #1 in db2 segfaults listed in our support database. If you want free Linux distro, get Ubuntu 8.04LTS, OpenSuse 11 is good too.

      We were selling support for DB2 EXPC but we had to drop support for Centos about 1 year ago because it causes us too much troubles. We support Debian, Gentoo, Ubuntu, RHEL, SLES10 and OpenSUSE. I think its enough for our customers to pick their favourite linux distro.

      While it might be possible to run DB2 on Centos. if you are serious about using DB2 EXPC in production its wise to avoid platforms known to have nonstandard number of issues. We run out EXPC servers on Ubuntu, mainly because we have Debian admins.
    • Coopeuch
      Coopeuch
      1 Post
      ACCEPTED ANSWER

      Re: DB2 won't install under CentOS

      ‏2010-08-06T17:39:59Z  in response to SystemAdmin
      Coud you show your /etc/hosts . I have the same issue
    • SystemAdmin
      SystemAdmin
      5837 Posts
      ACCEPTED ANSWER

      Re: DB2 won't install under CentOS

      ‏2013-01-18T15:33:22Z  in response to SystemAdmin
      Many thanks, after very paintfull investigation similar issue fon 9.7.4:

      db2setup_exec: line 570: 12301 Aborted (core dumped) ${RUNLOCATION?}/${DB2INSTALLER?} ${DB2OPTS?}

      I found your post.

      Thanks a lot.
      Radim
  • webswats
    webswats
    1 Post
    ACCEPTED ANSWER

    Re: DB2 won't install under CentOS

    ‏2009-07-28T01:02:38Z  in response to SystemAdmin
    I have the latest centos installed and i was able to install DB2 express C 9.5 as well as 9.7 successfully. Absolutely no issues while install of 9.7, was as smooth as can be. I installed it as root. Also, make sure that SE Linux is set to Disabled or atleast to permissive. Better disable it and when completely installed, then make it permissive initially and later switch to enforcing after required policy optimization.
    • Z-Company
      Z-Company
      310 Posts
      ACCEPTED ANSWER

      Re: DB2 won't install under CentOS

      ‏2009-07-29T15:38:12Z  in response to webswats
      9.7 seems to work considerably better on Centos than 9.5. I even seen one vendor offering db2 expc 9.7 hosting on centos.