Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Database


    

Blue Forest http://www.lslnet.com at 11:08 on July 18, 2006


Two days of violence depressed! ! ! ! !

Rh7.3 installed in the N-th of DB2 Version 7.1 eee

After two days, he finally found some problems, but there are always a problem if things go wrong.
/usr/IBMdb2/V7.2/bin/ Is in the operating procedures of all, or that everyone used
/usr/IBMdb2/V7.1/lib/libdb2.so.1 Will arise following the procedure error (the first was in error when create instanse found, because the installation procedure will suggest you create instanse first time, If I do not choose to create instanse option, we can complete sucessful. However, if selected on the following errors will be found in db2setup.log) :

/usr/IBMdb2/V7.1/lib/libdb2.so.1 : Symbol _res, version GLIBC_2.0 not
Defined in time reference file libc.so.6 with link

Just use Google
Find that a foreigner found to have encountered the same mistake, but in rh9, he said in rh7.2
There is no problem, a way which is the suggestion from rh7.2 copy. So over with. However, I am now rh7.3
I do not have good padding may not know what?
Sichuan, China) old padding you : Do you have a good prawn bank can give me? Moneytea@xinhuanet.com
I have to collapse!

Report : Search solution to the news group :

GLUG Meeting on 13th July, 4pm at KReSIT, IIT Campusm, Powai. -------------------------------------
Australia, Canada, Sarda wrote :

Previously we installed DB2 Version 7.1 on Red Hat Linux 7.2.

For us Installing Db2 same version onto Red Hat 9 is first time.

From the above and with the errors from your log file. . .

"; Client-u-db2inst1 db2inst1 /usr/IBMdb2/V7.1/instance/db2icrt

"; Output log of the above command :
"; /usr/IBMdb2/V7.1/instance/db2icknm : Relocation error : "; /usr/IBMdb2/V7.1/lib/libdb2.so.1 : Symbol _res. version GLIBC_2.0 not
"; Defined in time reference file libc.so.6 with link
"; DBI1069E Unexpected error. Function = get_instance, Return code = "; 127.


Your problem is almost certain to be with the symbols (glibc). Chances
Are that you will have to get a version compiled against RedHat 9


Specifically (from your log file), one of these seems to be the
Executable (binary) causing the problem.

Client-u-db2inst1 db2inst1 /usr/IBMdb2/V7.1/instance/db2icrt

/usr/IBMdb2/V7.1/instance/db2icknm


==
Might I suggest a quick fix. (Not a fool proff method, more of a
"Hack"). Try at your own risk.


- I have never worked with DB2 and the error could be from
Elsewhere

1. Do an ldd ( "ldd") against these files as in :


"Ldd db2icrt"
"Ldd db2icknm"

This would be the most important IMHO
"Ldd /usr/IBMdb2/V7.1/lib/libdb2.so.1"
This file seems to be linked against something specific in the libc of 7.2 which it is not in that of finding 9


See what files are missing (dependencies) and copy the reqd.
Files from redhat 7.2 into nine.
That may do the trick.

_DO_ _NOT_ OVERWRITE ANY FILES OF REDHAT 9 though. otherwise you could end up with broken system. and definetly do _NOT_ touch the existing libc of RHL 9.

Also in case any files are indeed missing, you may have to try out a few locations since. you may not be told where the files are expected to be found.


This is not certain to fix the issue but it just might be a way out.
This is a "hack" and standard disclaimers apply here :-)


C 'ya
ERLE



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com