Connecting Tech Pros Worldwide Help | Site Map

Db2 v9.5 - Undefined Symbol while creating an instance

Michel Esber
Guest
 
Posts: n/a
#1: Sep 29 '08
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@autctx05rjomk 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: GetGlobalRegPathname
/opt/ibm/db2/V9.5/bin/db2greg: symbol lookup error: /opt/ibm/db2/V9.5/
bin/db2greg: undefined symbol: GetGlobalRegPathname

??? 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@autctx05rjomk 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: pdGetCompTraceFlag


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

Any ideas ?

Thanks,
stefan.albert
Guest
 
Posts: n/a
#2: Sep 29 '08

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.
Closed Thread