cancel
Showing results for 
Search instead for 
Did you mean: 

SQL2071N An error occurred while accessing the shared library

Former Member
0 Kudos

Hi Team,

After I have upgraded the Fixpack from 5 to 8 in DB2 V9.7,Not able to start the database

Got error like below

2013-09-02-11.21.39.228937+060 I373094A541        LEVEL: Error

PID     : 39583836             TID  : 1           PROC : db2vend (db2logmgr.meth1 - 4652

INSTANCE: db2tpd               NODE : 000

EDUID   : 1                    EDUNAME: db2vend (db2logmgr.meth1 - 4652

FUNCTION: DB2 UDB, database utilities, sqluFencedVendorProcessInit, probe:113

MESSAGE : SQL2071N  An error occurred while accessing the shared library

          "/commvault/opt/simpana/Base64/libDb2Sbt.so". Reason code: "1".

DATA #1 : ZRC, PD_TYPE_ZRC, 4 bytes

0x860F000A

Running below

2013-09-02-11.21.39.228937+060 I373094A541        LEVEL: Error

PID     : 39583836             TID  : 1           PROC : db2vend (db2logmgr.meth1 - 4652

INSTANCE: db2tpd               NODE : 000

EDUID   : 1                    EDUNAME: db2vend (db2logmgr.meth1 - 4652

FUNCTION: DB2 UDB, database utilities, sqluFencedVendorProcessInit, probe:113

MESSAGE : SQL2071N  An error occurred while accessing the shared library

          "/commvault/opt/simpana/Base64/libDb2Sbt.so". Reason code: "1".

DATA #1 : ZRC, PD_TYPE_ZRC, 4 bytes

0x860F000A

Anyone can help there

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I had to backout the fixpack installation.

DB works fine

Just curious whether this happend due to new installation path or so.

Any idea please

JPReyes
Active Contributor
0 Kudos

"/commvault/opt/simpana/Base64/libDb2Sbt.so". Reason code: "1".

That sound like an issue with the Commvault config more than a SAP issue.

Can you check that the library is accessible?

Regards, Juan

Former Member
0 Kudos

# ldd /commvault/opt/simpana/Base64/libDb2Sbt.so
/commvault/opt/simpana/Base64/libDb2Sbt.so needs:
Cannot find libDb2JobUnit.so
Cannot find libDb2_Util.so
         ./libCvLib.so
         ./libCVAppMgr.so
         /usr/lib/threads/libc.a(shr_64.o)
         /usr/lib/libC.a(shr_64.o)
         /usr/lib/libC.a(shr2_64.o)
         /usr/lib/libC.a(shr3_64.o)
         /usr/lib/libC.a(ansi_64.o)
         ./libxerces-c-26.so
         /usr/lib/libiconv.a(shr4_64.o)
         /usr/lib/libpthread.a(shr_xpg5_64.o)
         ./libCvSession.so
         ./libCvXMLMessagesBase.so
         ./libCvXMLMessages.so
         /unix
         /usr/lib/libcrypt.a(shr_64.o)
         /usr/lib/libC.a(shrcore_64.o)
         /usr/lib/libC.a(ansicore_64.o)
         /usr/lib/libpthreads.a(shr_xpg5_64.o)
         ./libMessages.so
         ./libCVEncrypt.so
         ./libCvSocket.so

lots of libraries are missing

Former Member
0 Kudos

Is the problem due to the fact that I have installed the software in new path

I mean

Installed it to a new path to keep the old software copy intact

so

db2 v9.7 fp5 and fp8 paths are different

JPReyes
Active Contributor
0 Kudos

Did you follow the procedure on the upgrade guide?

Former Member
0 Kudos

Yes I have followed that

Frank-Martin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

no idea how the commvault software works but lit me try to help anyways :

You have most probably configured DB2 to use commvalut for archiving. E.g.:

(LOGARCHMETH1) = VENDOR:/commvault/opt/simpana/Base64/libDb2Sbt.so

Commvault forum posts ( e.g. http://forum.commvault.com/forums/thread/20686.aspx ) show that the commvalut lib needs dependent libs from the same directory. Check if the following libs exist that you did not find above.

/commvault/opt/simpana/Base64/libDb2JobUnit.so

/commvault/opt/simpana/Base64/libDb2_Util.so

This implies that LD_LIBRARY_PATH needs to include /commvault/opt/simpana/Base64/ for the commvault lib to be loaded.

Have you made sure that LD_LIBRARY_PATH is set correctly for the user that runs db2start. Maybe you made a change to the default db2 login scripts that got overwritten during the FP install.

Regards

               Frank

Frank-Martin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Maybe in addition you want to add /commvault/opt/simpana/Base64/ to DB2 registry variable DB2LIBPATH ...

Regards

                 Frank

Former Member
0 Kudos

/commvault/opt/simpana/Base64/libDb2JobUnit.so

/commvault/opt/simpana/Base64/libDb2_Util.so

Both exists