473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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@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,
Sep 29 '08 #1
1 6024
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.
Sep 29 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Stu | last post by:
I am trying to build the xerces shared library with 2.3.0 version of their source code on an AIX 5.1 32 bit machine with the following version of the g++ compiler /usr/local/bin/g++ -v Reading...
2
by: Manuel Maria Diaz Gomez | last post by:
Hi Everybody, maybe you can give me a hint about this. I implemented a simple singleton Factory that will (among other things) keep a registry of objects. Objects register themself in the...
0
by: pervinder | last post by:
Hi, I have a c++ application which depends on some other libs which uses stlport When i build the application, it works fine on sun/linux/hp platform. (provided the .a for the dependency libs) ...
6
by: Puzzled | last post by:
This is a weird problem, but perhaps someone else has seen it before (I hope!) If I use a fully qualified include call include ( 'http://localhost/subtree/filename.php') I get an 'undefined...
4
by: r.nikhilk | last post by:
Hi, We are porting C++ applications from 32 bit to 64 bit on AIX platform. (The current version of AIX is 5.3 and xlC verison is 8.0). We are able to compile the applications by including the...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
1
by: yamitmehta | last post by:
When I compile to code using g++arm of VxWorks 5.5 and put it on my board i get the follwing undefined symbols:- Cpool and Csingleton are template classes. CPool has the static member...
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
1
by: saurabhverma78 | last post by:
Hello, I am creating an executable using g++. I am gettinng the symbol '_ZNSaIcEC1Ev' undefined in my executable. This symbol is there in a static library being used to build this executable. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.