Db2 v9.5 - Undefined Symbol while creating an instance

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michel Esber

    Db2 v9.5 - Undefined Symbol while creating an instance

    People,

    Environment: Linux AS4

    I have just installed db2 v9.5 + Fixpak 2 on a machine that has db2
    v8 up and running, but I am unable to create and instance:

    [root@autctx05rj omk instance]# ./db2icrt -a SERVER -p 50002 -s wse -
    u db2inst2 db2inst2
    /opt/ibm/db2/V9.5/bin/db2greg: symbol lookup error: /opt/ibm/db2/V9.5/
    bin/db2greg: undefined symbol: GetGlobalRegPat hname
    /opt/ibm/db2/V9.5/bin/db2greg: symbol lookup error: /opt/ibm/db2/V9.5/
    bin/db2greg: undefined symbol: GetGlobalRegPat hname

    ??? What is this ??

    DBI1295E The instance list could not be updated.

    Explanation:

    The instance could not be added to or removed from the instance list.
    An
    error has occurred when adding or removing the instance from the
    instance list. One of the following situations occurred:
    * Incorrect access permission on the registry profile.
    * Profile registry is not set up properly.
    * There is not enough space on your file system.

    If I run the same command in debug mode, I can see the following:

    + /opt/ibm/db2/V9.5/instance/db2iset -a db2inst2
    + '[' 127 -ne 0 ']'
    + display_msg /opt/ibm/db2/V9.5/msg/en_US.iso88591/db2install.cat 295
    'DBI1295E The instance list could not updated.\n'

    So, If I manually run this:

    [root@autctx05rj omk instance]# /opt/ibm/db2/V9.5/instance/db2iset -a
    db2inst2
    /opt/ibm/db2/V9.5/instance/db2iset: symbol lookup error: /opt/ibm/db2/
    V9.5/instance/db2iset: undefined symbol: pdGetCompTraceF lag


    [root@autctx05rj omk instance]# uname -a
    Linux autctx05rjomk 2.6.9-42.0.3.ELhugeme m #1 SMP Mon Sep 25 17:39:50
    EDT 2006 i686 i686 i386 GNU/Linux

    Any ideas ?

    Thanks,
  • stefan.albert

    #2
    Re: Db2 v9.5 - Undefined Symbol while creating an instance

    It looks to me, like your "global registry" is corrupted.
    This is a file living in /var/db2 (in AIX - I don't know if this is
    also th case in linux)
    named "global.reg ".
    This file holds informations about DB2 software installations,
    instances and their DB2level, db2 admin server information and some
    environmental settings.
    You can query/change this file with db2greg command: "db2grep -dump"
    would list the contants in a human readable way (gulp...)
    If this also gives an error - quite bad:
    If you don't need your instances and software on the box: Remove all,
    clear/remove this file and reinstall all again.

    Comment

    Working...