cancel
Showing results for 
Search instead for 
Did you mean: 

path for db2 library 'libdb2.so' could not be determined

former_member220077
Participant
0 Kudos

Any ideal why i would get this error, working on upgrading a system, it was working, then SUM shut it down and now it won't restart.    i have tried lots of things and no luck.  R3trans works fine.

CLASSPATH=:/db2/db2lxd/sqllib/java/db2java.zip:/db2/db2lxd/sqllib/java/runtime.zip:.:/db2/db2lxd/sqllib/java/db2java.zip:/db2/db2lxd/sqllib/java/runtime.zip:.

LD_LIBRARY_PATH=/usr/sap/LXD/SYS/exe/run:/usr/sap/LXD/SYS/exe/uc/linuxppc64

dev_w0

..retrieving configuration parameters

C  ..done

C  *** ERROR => path for db2 library 'libdb2.so' could not be determined

[dbdb6.c      11762]

C  *** ERROR in getConfigurationAndEnvironmentHandle[/bas/741_REL/src/dbs/db6/dbdb6.c, 13610] CON = -1 (BEGIN)

C  &+     DbSlConnectDB6: Unable to load DB2 libraries. Connect failed.                            

C  &+                                                                                              

C  &+                                                                                              

C  *** ERROR in getConfigurationAndEnvironmentHandle[/bas/741_REL/src/dbs/db6/dbdb6.c, 13610] (END)

M  ***LOG R19=> ThDbConnect, db_connect ( DB-Connect 000256) [thDatabase.c 75]

M  in_ThErrHandle: 1

M  *** ERROR => ThInit: db_connect (step TH_INIT, thRc ERROR-DB-CONNECT_ERROR, action STOP_WP, level 1) [thxxhead.c   2280]

M

Accepted Solutions (1)

Accepted Solutions (1)

Manas_Vincit
Active Participant
0 Kudos

Hi David ,

Please check in Instance Kernel Directory /usr/sap/<SID>/<INSTANCE>/exe .

there should be db6_clidriver exists and where all lib files related to Db2 exists. if not then copy in from global/db6/<LINUX> .and try .

Thanks

Manas Behra

Former Member
0 Kudos

Behra's method worked for me when i was upgrading BW Netweaver 7,0 to Netweaver 7.41

Much appreciated,

Shumba

Manas_Vincit
Active Participant
0 Kudos

Hi,

Good to Know , Thanks.

Manas

Answers (1)

Answers (1)

stanley_chen2
Explorer
0 Kudos

Hi All,

I installed db2 runtime client and copy libdb2.so to /usr/sap/<SID>/<INSTANCE>/exe  from /opt/ibm/db2/V9.7/lib64. (linux x86_64)

Then check db02-> dbconnection, it seems fine.