Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem upgrading DB2 instance

507 views
Skip to first unread message

Edoardo

unread,
May 20, 2011, 8:35:12 AM5/20/11
to
Hi all,

we're having problems upgrading a V9.1 to a v9.7

The scripts for compatibility checks pass but
/opt/ibm/db2/V9.7/instance/db2iupgrade -d -u db2fenc1 db2inst1
fails with the following error message:

db2: symbol lookup error: db2: undefined symbol: sqltGetCompTraceFlag
Update DBM cfg SYSADM_GROUP errcode = 127
DBI1281E The database manager configuration file could not be
initialized.
...

Tracking the script debug log it appears to choke on get_db2dir_ver()
from db2iutil
but if I manually run the command
/opt/ibm/db2/V9.7/bin/db2fupdt -f /home/db2inst1/sqllib/ctrl/.instuse -
p DB2DIR
I get
/opt/ibm/db2/V9.1

I have lost hope

whatever

unread,
May 20, 2011, 1:31:32 PM5/20/11
to

Seems like you have mutiple instances with different versions of DB2
on this machine.
Check if you have a V9.1 instance, and then Proceed as required,
whether to use a different name,

db2rmln" command from /<install_path>/cfg ...etc

Cheers
Shashi Mannepalli

Richard

unread,
May 20, 2011, 4:51:47 PM5/20/11
to
I don't know if it's related but we had some upgrade issues also.

Try the following

cd opt/ibm/db2/V9.7/instance
opt/ibm/db2/V9.7/instance/db2iupgrade -d -u db2fenc1 db2inst1

for some reason we had to be in the 9.7 directory tree before some
commands
from the 9.7 tree would resolve all files correctly.

Edoardo

unread,
May 23, 2011, 8:52:07 AM5/23/11
to

Hi Shashi,

thanks for the hint; tried running the rmln script and hunting down
any stray symlink but - unless I have missed any - the upgrade keeps
failing.
If there isn't anything else to try, I think I will create a V9.7
instance a do a dump/restore.

BTW, I tried following the steps suggested in
http://www.db2china.net/club/viewthread.php?action=printable&tid=8425
but I don't get any.


Best,
Edoardo

whatever

unread,
May 23, 2011, 1:01:38 PM5/23/11
to
> BTW, I tried following the steps suggested inhttp://www.db2china.net/club/viewthread.php?action=printable&tid=8425

> but I don't get any.
>
> Best,
> Edoardo- Hide quoted text -
>
> - Show quoted text -


Do a UNIX Find command on your machine for this file .instuse.

Then do a cat .instuse on that file. That way you can find any
instances lurking around.
Now once u get the path in that file something like this

cd /to the db2dir path /instance
db2ilist

And see what instance is there.

Lastly, try the db2icrt with DEBUG option and see what the output
says, it might help u identify the instance name it is failing with.

Cheers
Shashi Mannepalli

0 new messages