cancel
Showing results for 
Search instead for 
Did you mean: 

DBcheck ends after /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.11.1'.

Former Member
0 Kudos

Hello,

after installing EHP2 on SCM 7.0, we're getting following error in DB13:

30.07.2012    04:00:24    Job started

30.07.2012    04:00:24    Step 001 started (program RSDBAJOB, variant &0000000000038, user ID DDIC)

30.07.2012    04:00:24    Execute logical command BRCONNECT On host ctiaudci

30.07.2012    04:00:24    Parameters: -jid CHECK20110630040000 -u / -c -f check

30.07.2012    04:00:25    /usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.11.1'.

30.07.2012    04:00:25    Process died due to signal 9

30.07.2012    04:00:25    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: unknown

30.07.2012    04:00:25    Job cancelled after system exception ERROR_MESSAGE

Environment settings for <SID>adm user are:

HOME=/usr/sap/AUD/home

PATH=/oracle/AUD/112_64/bin:/opt/java1.4/bin:/sapdb/programs/bin:.:/usr/sap/AUD/home:/usr/sap/AUD/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/gvsd/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/graphics/common/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/caliper/bin:/opt/resmon/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/perf/bin:/usr/contrib/kwdb/bin:/opt/prm/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/sentinel/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/langtools/bin:/opt/gwlm/bin:/opt/ignite/bin:/opt/omni/bin:/opt/propplus/bin:/opt/cfg2html

LOGNAME=audadm

SHELL=/usr/bin/csh

TERM=xterm

COLUMNS=158

LINES=61

MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/ldapux/share/man/%L:/opt/ldapux/share/man:/opt/ipf/man:/opt/ldapux/ypldapd/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/samba/cfsm_man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man:/opt/graphics/common/man:/opt/amgr/man/%L:/opt/amgr/man:/opt/sec_mgmt/share/man:/opt/caliper/man/%L:/opt/caliper/man:/opt/resmon/share/man/%L:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/perf/man/%L:/opt/perf/man:/usr/contrib/kwdb/share/man:/opt/prm/man/%L:/opt/prm/man:/opt/perl_32/man:/opt/perl_64/man:/opt/sfm/share/man:/opt/swm/share/man/%L:/opt/swm/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/ssh/share/man:/opt/sentinel/man/%L:/opt/sentinel/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/openssl/fips/0.9.7/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/icod/man/%L:/opt/icod/man:/opt/iexpress/curl/man:/opt/iexpress/lsof/man:/opt/iexpress/rsync/man:/opt/iexpress/sudo/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/omni/lib/man:/opt/resmon/share/man:/opt/propplus/share/man:/opt/psb/healthtest/share/man:/opt/openssl/fips/0.9.8/man

TZ=UTC-0

RFCEXEC_SEC_FILE_PATH=/sapmnt/AUD/profile

SAPSYSTEMNAME=AUD

DIR_LIBRARY=/usr/sap/AUD/SYS/exe/run

SHLIB_PATH=/usr/sap/AUD/SYS/exe/run:/sapdb/programs/lib:/oracle/client/11x_64/instantclient

JAVA_HOME=/opt/java1.4

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=AUD

dbs_ora_schema=SAPSR3

ORACLE_SID=AUD

DB_SID=AUD

ORACLE_BASE=/oracle

TNS_ADMIN=/usr/sap/AUD/SYS/profile/oracle

ORACLE_HOME=/oracle/AUD/112_64

NLS_LANG=AMERICAN_AMERICA.UTF8

SAPDATA_HOME=/oracle/AUD

Outputs of chatr and ldd commands:

cd /usr/lib/hpux64

ldd -r dld.so

dld.so:

ldd: "dld.so" is not a shared executable.

chatr dld.so

dld.so:

         64-bit ELF executable

         shared library dynamic path search:

             LD_LIBRARY_PATH    enabled  first

             SHLIB_PATH         enabled  second

             embedded path      enabled  third  /usr/lib/hpux64:/opt/langtools/lib/hpux64

         shared library binding:

             deferred

         global hash table disabled

         shared library mapped private disabled

         runtime checks disabled

         shared library segment merging disabled

         shared vtable support disabled

         explicit unloading disabled

         linkage table protection disabled

         segments:

             index type     address      flags size

                 8 text 0000000000000000 z---c-    D (default)

                 9 data 0000000080000000 ---m--    D (default)

         kernel assisted branch prediction enabled

         lazy swap allocation for dynamic segments disabled

         nulptr dereferences trap disabled

         address space model: default

         caliper dynamic instrumentation disabled

Problem persist even if I set LD_LIBRARY_PATH to $ORACLE_HOME/lib.

We're running SAP NetWeaver 7.3, oracle 11.2.0.2.0 with latest SAP bundle patch and HP-UX B.11.31 U ia64.

Any help will be appreciated.

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member189725
Active Contributor
0 Kudos

Can you please update the oracle client to 11.2.0.3 and check if that works.

Regards

Ratnajit

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Ruchit, hello Ratnajit,

after switching to the oracle client 11.2.0.3 and the newest dboraslib.so (included in lib_dbsl_225-20006704.sar) I was able to start the system. I'm able to start DB check within DB13 now. Previous error was gone, but now I have this one:

BR0301E SQL error -1031 at location BrDbdiffRead-1, SQL statement:

'PREPARE stmt_5 FROM'

'SELECT OBJNAME FROM "SAPSR3".DBDIFF WHERE DBSYS IN ('ORACLE', ' ') AND OBJTYPE = 'TABL' AND DIFFKIND IN ('02', '61', '99') ORDER BY OBJNAME'

ORA-01031: insufficient privileges

BR0806I End of BRCONNECT processing: cejclskl.chk 2012-07-31 06.14.29

BR0280I BRCONNECT time stamp: 2012-07-31 06.14.29

BR0804I BRCONNECT terminated with errors

I'm going to "google" something for this. If you have any hint also for this, please let me know.

Thank you in advance.

Regards,

Patrik

Former Member
0 Kudos

I solved this problem with:

sqlplus /nolog @sapdba_role <SAPSCHEMA_ID>

Solution is described in SAP note 134592.

Regards,

Patrik

Former Member
0 Kudos

Hello Ruchit,

as you can see above, environment settings for <SID>adm user are pointing to the instant client 11. We're using SAP kernel 720_EXT patch 300. But I have to mentioned following. After EHP2 installation was system running with SAP kernel 720_EXT patch 120. I decided to upgrade kernel to the newest version. But I wasn't able to start system afterward. Startsap command finished with error: DB startup failed. Problem was, that DB was started but R3trans wasn't able to connect to the database. The only way how to solve this error was to use dboraslib.so from the previous version of kernel. So I'm using SAP kernel 720_EXT patch 300 but dboraslib.so is from the kernel 720_EXT patch 120.

Regards,

Patrik

Former Member
0 Kudos

Hi Patrick,

Try to upgrade dboraslib.so once again now as well and then try.

Regards.

Ruchit.

former_member189725
Active Contributor
0 Kudos

SCM 7.0 EHP2 on NW 7.3 does not support NW 720 kernel as per the PAM , the only kernel supported in 720_EXT .

Please check this link

https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=D_DETAILS&002006825000000...

Your OS and DB releases are all good . Just that you need to move to kernel 720_EXT

Regards

Ratnajit

Former Member
0 Kudos

Hello Ratnajit,

you've been to fast

Please my answer below.

I'm using EXT kernel.

Regards,

Patrik

Former Member
0 Kudos

Hello Ratnajit, hello Juan,

I installed oracle instant client 11.2.0.3 Here are the outputs of commands mentioned in the SAP note 819829:

ldd dboraslib.so

dboraslib.so:

        libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1

        libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1

        libclntsh.so.10.1 =>    /oracle/client/10x_64/instantclient/libclntsh.so.10.1

        libnnz10.so =>  /oracle/client/10x_64/instantclient/libnnz10.so

        libc.so.1 =>    /usr/lib/hpux64/libc.so.1

        libxti.so.1 =>  /usr/lib/hpux64/libxti.so.1

        libnnz10.so =>  /oracle/client/10x_64/instantclient/libnnz10.so

        librt.so.1 =>   /usr/lib/hpux64/librt.so.1

        libnss_dns.so.1 =>      /usr/lib/hpux64/libnss_dns.so.1

        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1

        libm.so.1 =>    /usr/lib/hpux64/libm.so.1

        libpthread.so.1 =>      /usr/lib/hpux64/libpthread.so.1

        libunwind.so.1 =>       /usr/lib/hpux64/libunwind.so.1

        libnsl.so.1 =>  /usr/lib/hpux64/libnsl.so.1

        libdl.so.1 =>   /usr/lib/hpux64/libdl.so.1

        libuca.so.1 =>  /usr/lib/hpux64/libuca.so.1

R3trans -x

This is R3trans version 6.23 (release 720 - 15.05.12 - 20:12:03).

unicode enabled version

R3trans finished (0000).

cd /oracle/client/11x_64/instantclient_11203

./genezi -v

/usr/lib/hpux64/dld.so: Unable to find library 'libclntsh.so.11.1'.

Killed

Problem wasn't solved.

Regards,

Patrik

Former Member
0 Kudos

Hello Patrik,

Clearly it is pointing to old oracle client as per ldd output. Have u set the environment variables correctly after applying the note for both sh and csh shells ?

Regards.

Ruchit.

Former Member
0 Kudos

Also what is ur kernel release? If not using 720_EXT you might want to have a look at note: 1449619.

Section#2.

Regards.

Ruchit.

JPReyes
Active Contributor
0 Kudos