Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / September 2008

Tip: Looking for answers? Try searching our database.

Db2 v9.5 - Undefined Symbol while creating an instance

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michel Esber - 29 Sep 2008 02:05 GMT
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 - 29 Sep 2008 12:40 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.