cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Installation error at IMPORT ABAP Phase

Former Member
0 Kudos

Dear All,

I am installing SAP ECC6.0 with oracle 10g on Redhat 5.

Every thing is ok but when installation reached at IMPORT ABAP phase, i am getting issue like.

R3load.exe.log

/usr/sap/SID/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory

Sapinst log

ERROR 2016-01-07 22:21:03.637

FCO-00011  The step testDatabaseConnection with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step :Process call '/usr/sap/sid/SYS/exe/run/R3load -testconnect' exits with error code 127. For details see log file(s) R3load.exe.log.).

An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection".

INFO 2016-01-07 22:27:14.926

Creating file /tmp/sapinst_instdir/.lastInstallationLocation.

INFO 2016-01-07 22:27:15.516

Creating file /tmp/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/__instana_tmp.xml.

Please help.

With Regards

Santosh

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185239
Active Contributor
0 Kudos

Dear Santosh,

You need to install the oracle client and you need to prepare the softlink properly.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi,

How to create softlink.

Please help

Former Member
0 Kudos

Hi Santosh,

Use ln command to create a softlink

Syntax: ln -s target source

target – The existing file/directory you would like to link to point to.

source – The file/folder to be created, copying the contents of the target. The link itself

Regards,

Prithviraj.

Former Member
0 Kudos

Hi,

while executing   

ldd dboraslib.so

        linux-vdso.so.1 =>  (0x00007fff771fd000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00002ab5a7f50000)

        librt.so.1 => /lib64/librt.so.1 (0x00002ab5a8155000)

       libclntsh.so.11.1 => not found

        libc.so.6 => /lib64/libc.so.6 (0x00002ab5a835e000)

        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ab5a86b7000)

        libm.so.6 => /lib64/libm.so.6 (0x00002ab5a89b7000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ab5a8c3a000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ab5a8e49000)

        /lib64/ld-linux-x86-64.so.2 (0x00000034f9c00000)

How can i resolve libclntsh.so.11.1 => not found.

With Regards

Santosh

JamesZ
Advisor
Advisor
0 Kudos

Hi Santosh,

You can run the same ldd command from other system which is working fine. Then you can see
which location libclntsh.so.11.1 could be. Then verify the environment variable.

Below is my testing result:

However generally the client should be installed as note 819829. Also the corresponding environment variables should be followed.

Best regards,
James

Former Member
0 Kudos

Hi,

Thanks.

env | grep /client/10x_64

LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/oracle/client/10x_64/instantclient

But i am unable to find libclntsh.so.11.1 at any location.

Please help.

JamesZ
Advisor
Advisor
0 Kudos

What is the result from your other same systems (if you have).

Can you let me know your kernel version?  I think the problem maybe the kernel is only compatible with client 11g.


So you may able to solve this issue by installing 11g client by following note 819829.

Former Member
0 Kudos

Hi,

Oracle 10 g installed while installing sap.

Listner is starting, Oracle is open.

only in import abap phase not able to test database.

regards

Santosh

JamesZ
Advisor
Advisor
0 Kudos

Hi Santosh,

yes, the root cause is R3load/dbsl is trying to load lib/.so file which belongs to 11g client. So you need to verify if the SAP kernel is used for this installation is compatible for 10g client.

Or for your case, you can install 11g client which works with 10g oracle server as well.

Best regards,
James

Former Member
0 Kudos

Hi James,

Thanks

While i am executing ldd dboraslib.so with user sidadm i am getting

ldd dboraslib.so

        linux-vdso.so.1 =>  (0x00007fff395fd000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00002b5a313f1000)

        librt.so.1 => /lib64/librt.so.1 (0x00002b5a315f6000)

        libclntsh.so.11.1 => not found

        libc.so.6 => /lib64/libc.so.6 (0x00002b5a317ff000)

        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b5a31b58000)

        libm.so.6 => /lib64/libm.so.6 (0x00002b5a31e58000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b5a320db000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b5a322ea000)

        /lib64/ld-linux-x86-64.so.2 (0x00000034f9c00000)



With root user



ldd dboraslib.so

        linux-vdso.so.1 =>  (0x00007fffd5592000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00002ae230b94000)

        librt.so.1 => /lib64/librt.so.1 (0x00002ae230d99000)

        libclntsh.so.11.1 => /lib64/libclntsh.so.11.1 (0x00002ae230fa2000)

        libc.so.6 => /lib64/libc.so.6 (0x00002ae2337e2000)

        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ae233b3b000)

        libm.so.6 => /lib64/libm.so.6 (0x00002ae233e3b000)

        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ae2340be000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ae2342cd000)

        /lib64/ld-linux-x86-64.so.2 (0x00000034f9c00000)

        libnnz11.so => not found

        libnsl.so.1 => /lib64/libnsl.so.1 (0x00002ae2344e8000)




Please check.

Former Member
0 Kudos

Hi,

Perform these steps

OptionDescription
Using the genezi utility

Goto the instant client directory and run 'genezi -v':
OS> cd /oracle/client/11x_64/instantclient
OS> ./genezi -v

You should receive a version info like 'Client Shared Library 64-bit - 11.2.0.3.0'

If you receive an error like 'error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory', check your environment variable LD_LIBRARY_PATH (LIBPATH, SHLIB_PATH).

Regards,

Prithviraj.

JamesZ
Advisor
Advisor
0 Kudos

Hi Santosh,


libclntsh.so.11.1 is oracle instant client library file, which should accessed from client lib.

Please update 11g client as the note 819829, and I am confident the client update will solve this issue.

Best regards,
James

Former Member
0 Kudos

Hi ,

Thanks.

./genezi -v command giving output

Client Shared Library 64-bit - 10.2.0.5.0

System name:    Linux

Release:        2.6.18-274.el5

Version:        #1 SMP Fri Jul 8 17:36:59 EDT 2011

Machine:        x86_64

but still on same error.

Former Member
0 Kudos

Hi Santosh,

1. The error reported for file not found is for Oracle client 11g.

2. ./genezi -v command giving output displays oracle client of 10g version

3. Your environment variable is pointing at

env | grep /client/10x_64

LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/oracle/client/10x_64/instantclient

Don't you think its messy. there are some missing steps/configuration.

Please update your oracle client to 11g from scratch as mentioned earlier using sap note 819829 - Oracle Instant Client Installation and Configuration on Unix

Regards,

Prithviraj.

Former Member
0 Kudos

Hi Prithviraj,

Thanks.

Actually i am installing SAP ECC6.0 with oracle 10.2.0.5 on redhat 5.

All the environment variable are-

export PATH=/instantclient_10_2:$PATH

export JAVA_HOME=/usr/java/jdk1.5.0_16

export PATH=$JAVA_HOME/bin:$PATH

export dbms_type=ORA

export DIR_LIBRARY=/usr/sap/SID/SYS/exe/run:/oracle/client/10x_64/instantclient

export LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/oracle/client/10x_64/instantclient

export LIBPATH=/usr/lib:/lib:/usr/sap/SID/SYS/exe/run:/oracle/client/10x_64/instantclient_10205

if any wrong value or more to set.

Please suggest.

regards

Santosh

Former Member
Former Member
0 Kudos

Hi,

Now i am going with 11g.

database software installation is completed but when i am starting listner

lsnrctl: error while loading shared libraries: /oracle/SID/112_64/lib/libnnz11.so: file too short

I am getting this error.

Please help.

JamesZ
Advisor
Advisor
0 Kudos

Can you give us with the screenshot about lsnrctl start failed? Please note oracle listener should be started via user orasid.

Former Member
0 Kudos

Hi,

lsnrctl started now i am getting error on

Starting Startup Agent sapstartsrv

/usr/sap/SID/ASCS01/exe/sapstartsrv: /lib64/libuuid.so.1: no version information available (required by /usr/sap/SID/ASCS01/exe/sapstartsrv)

/usr/sap/SID/ASCS01/exe/sapstartsrv: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /usr/sap/SID/ASCS01/exe/sapstartsrv)

even libc.so.6 is available-

/oracle/SID/112_64/lib/stubs/libc.so.6

/lib64/libc.so.6

/lib/i686/nosegneg/libc.so.6

/lib/libc.so.6

With regards

Santosh

former_member186845
Active Participant
0 Kudos

Hello Santosh,

Could you please clarify the SAP Kernel version you are using? Is it SAP Kernel 7.21 EXT? If so, please note that your system will not work. This kernel is not supported for Red Hat 5.x.

You can have further details in SAP notes:

1574751 - Linux: libc.so.6: version `GLIBC_2.7' not found

1494794 - Linux Requirements for 7.20 EXT and higher kernel

Additionally, such combination is not supported, as described in PAM.

Therefore, it will be necessary to replace your current kernel to SAP Kernel 7.21. You can do that by following the steps described in SAP note:

19466 - Downloading SAP kernel patches

Regards,

Henrique Girardi

SAP Product Support

Former Member
0 Kudos

Hi Santosh,

Make sure you have oracle client installed correctly with environment variable LD_LIBRARY_PATH has pointing to the file libclntsh.so.10.1

something like LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path found>/libclntsh.so

Check sapnote 819829 - Oracle Instant Client Installation and Configuration on Unix

Regards,

Prithviraj.

Former Member
0 Kudos

Hi Prithvi,

Thanks.

But same issue "error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory"

Former Member
0 Kudos

Hi,

Now R3load.exe.log saying for

/usr/sap/SID/SYS/exe/run/R3load: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory

Former Member
0 Kudos

Hi,

Did you go through the sapnote especially the sections below

Installing the Oracle Instant Client in an SAP Environment


Verifying the Oracle Instant Client Version


Also paste the Lib path value here.

Regards,

Prithviraj.

Former Member
0 Kudos

Hi,

Please check

bash_profile

export LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/oracle/client/10x_64/instantclient

Former Member
0 Kudos

Now i started once again and goted

FSL-02007  Unable to set access rights of /oracle/client/10x_64/instantclient_10204/instantclient_10204.

Former Member
0 Kudos

Hi,

Please update,