cancel
Showing results for 
Search instead for 
Did you mean: 

SAP installation stuck with SP2-1503 :Unable to initialize Oracle call Interface

Former Member
0 Kudos

Hi All,

Currently I am trying to install SAP NW 7.00 SR3 system with Oracle database 10.2 as part of preparation to migration/upgrade to EHP7 version.

Facing issue during sapinst during Performing ORA post load activities

SP2-1503 : Unable to initailize Oracle Call Interface

SP2-0152 : Oracle may not be functioning properly

Few observation:

1. sqlplus working fine with ORA<SID> and <SID>adm

2. R3trans -d call successful

Regards,

Ashraf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sriram,

Please find in last post and let me know if any other logs required.

Regards,

Ashraf

Sriram2009
Active Contributor
0 Kudos

Hi.

1. Could you share the log file attachment "ora_sql_results.log"

2. Check the SAP Note for the error message " CJS-00084"

1952578 - Error 45 initializing SQL*Plus


Regards

SS

Former Member
0 Kudos

Hi SS,

Output of ora_sql_results.log

================================================================================

2016-03-27, 12:52:03 SAPINST ORACLE start logging for

SHUTDOWN IMMEDIATE;

exit;

Output of SQL executing program:

SP2-1503: Unable to initialize Oracle call interface

SP2-0152: ORACLE may not be functioning properly

SAPINST: End of output of SQL executing program /oracle/EDC/102_64/bin/sqlplus.

SAPINST found errors.

SAPINST The current process environment may be found in sapinst_ora_environment.log.

2016-03-27, 12:52:03 SAPINST ORACLE stop logging

Former Member
0 Kudos

Also,

Checked the suggested SAP note , not applicable here.

Sriram2009
Active Contributor
0 Kudos

Hi

Thanks for your info, Could you share the log file sapinst_ora_environment.log

Regards

SS

Former Member
0 Kudos

Hi SS,

Please find attached.

more sapinst_ora_environment.log

2016-03-27, 12:52:03 SAPINST Current process environment:

DISPLAY=:2.0

EDITOR=vi

HOME=/

LD_LIBRARY_PATH=/tmp/sapinst_exe.7836.1459054058/jre/lib/sparcv9/native_threads/:/tmp/sapinst_exe.7836.1459054058/jre/lib/sparcv9/server/:/tmp/sapinst_exe.7836.14590540

58:/tmp/sapinst_exe.7836.1459054058:/usr/openwin/lib:/usr/openwin/lib

LOGNAME=root

MAIL=/var/mail//root

MANPATH=:/usr/share/man:/usr/sunvts/man:/opt/SUNWexplo/man:/opt/SUNWsneep/man:/opt/CTEact/man:/usr/share/man:/usr/sunvts/man:/opt/SUNWexplo/man:/opt/SUNWsneep/man:/opt/

CTEact/man

OLDPWD=/

OPENWINHOME=/usr/openwin

PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/sun4v/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin:/usr/X11/b

in:/usr/X/bin:/usr/X11R6/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/sun4v/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin:/opt/CTEact/bin

PS1=root@mpasun46 #

PS2=root@mpasun46 >

PWD=/sapcds/SWPM

SAPINST_EXEDIR_CD=/sapcds/SWPM/.

SAPINST_EXE_DIR=/tmp/sapinst_exe.7836.1459054058

SAPINST_JRE_HOME=/tmp/sapinst_exe.7836.1459054058/jre

SELFEXTRACTOR_EXECUTABLE_NAME=/sapcds/SWPM/./sapinst

SHELL=/sbin/sh

SHLVL=3

SSH_CLIENT=10.202.29.94 51924 22

SSH_CONNECTION=10.202.29.94 51924 10.202.29.93 22

SSH_TTY=/dev/pts/4

SYSLIB_SWITCH_ONLY_EFFECTIVE_ACCOUNT=FALSE

TERM=xterm

TZ=Singapore

USER=root

VNCDESKTOP=mpasun46:2 (root)

WINDOWID=6291469

_=/tmp/sapinst_exe.7836.1459054058/sapinstexe

SAPINST: End of current process environment.

Further environment variables that where set (possibly overwriting the previous ones):

ORACLE_HOME=/oracle/EDC/102_64

ORACLE_SID=EDC

SAPINST: End of environment log.

Sriram2009
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi SS,

Right now , I am using Database version 10.2.0.1 and Oracle client 11.2.0.4 V3. As SWPM doesn't support SAP Kernel below 7.20 , so I have to go with SAP Kernel 7.21 Ext.

Initially , started sapinst with Oracle client 10.2 only but during import ABAP phase R3load executable was looking for file libclntsh.so.11.1 which was part of Oracle client 11.2.0.4. Before putting new client , checked the compatibility and found it downward compatible.

I have tried again by stopping oracle database and listener , putting client back to 10202 but still same issue.

Regards,

Ashraf

Sriram2009
Active Contributor
0 Kudos

Hi Ashraf.

Just do the full system restart and then try again in the same phase.

BR

SS

Former Member
0 Kudos

Hi SS,

Do you mean to say restart from OS level as well or only sapinst and Oracle processes restart ?

Regards,

Ashraf

Sriram2009
Active Contributor
0 Kudos

Hi

Yes, at OS level.

BR

SS

manish_singh13
Active Contributor
0 Kudos

Hi Ashraf,

Any specific reason that you are using Oracle Database version 10.2.0.1 and have not upgraded Patch Set?

Also have you followed SAP Installation Guide regarding Oracle 10g installation?

Thanks,

MPS

Former Member
0 Kudos

Hi Manisha,

As part of homogenous migration of system , there was requirement to have system with legacy environment, so that we can restore from existing database backup which is on Oracle 10g.

Regards,

Ashraf

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi SS,

Thanks for guiding.

Steps taken:

1. Started installation again with Oracle RDBMS package 10g and client 10.2.

2. During import ABAP phase , where R3load requires oracle client 11 , created softlink for libclntsh.so.11.1 to libclntsh.so.10.1

3. Installation finished without any further big issues, few permission issues came.

Regards,

Ashraf

Sriram2009
Active Contributor
0 Kudos

Hi Ashraf

Could you share the full sapinst.log

Regards

SS

Former Member
0 Kudos

INFO 2016-03-27 12:49:28.360 (root/sapinst)

Working directory changed to /tmp/sapinst_exe.7836.1459054058.

INFO 2016-03-27 12:49:28.386 (root/sapinst)

Working directory changed to /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL.

WARNING 2016-03-27 12:49:28.552 (root/sapinst) id=ind-rel.ind-os.ora.sqlStatementFailed

SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.

ERROR 2016-03-27 12:49:28.728 (root/sapinst) id=ind-rel.ind-os.ora.sqlStatementFailed errno=CJS-00084

SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.

ERROR 2016-03-27 12:49:28.735 (root/sapinst) id=modlib.jslib.caughtException errno=MUT-03025

Caught ESAPinstException in module call: SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation..

ERROR 2016-03-27 12:49:28.942 (root/sapinst) id=controller.stepExecuted errno=FCO-00011

The step setOraclePasswords with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_Postload|ind|ind|ind|ind|postload|0|NW_Postload_ORA|ind|ind|ind|ind|ora|0|setOraclePasswords was executed with status ERROR ( Last error reported by the step: SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.).

INFO 2016-03-27 12:50:07.711 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/INSTANA.XML.

INFO 2016-03-27 12:50:07.716 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/INSTANA.XML.

INFO 2016-03-27 12:50:08.695 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/instslana.xml.

INFO 2016-03-27 12:50:08.700 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/instslana.xml.

INFO 2016-03-27 12:52:02.777 (root/sapinst)

An error occurred and the user decided to retry the current step: &quot;|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_Postload|ind|ind|ind|ind|postload|0|NW_Postload_ORA|ind|ind|ind|ind|ora|0|setOraclePasswords&quot;.

INFO 2016-03-27 12:52:02.781 (root/sapinst)

Working directory changed to /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL.

INFO 2016-03-27 12:52:03.316 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/ora_query3_tmporaedc0_1.sql.

INFO 2016-03-27 12:52:03.322 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/ora_query3_tmporaedc0_1.sql.

WARNING 2016-03-27 12:52:03.514 (root/sapinst) id=ind-rel.ind-os.ora.sqlStatementFailed

SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.

ERROR 2016-03-27 12:52:03.710 (root/sapinst) id=ind-rel.ind-os.ora.sqlStatementFailed errno=CJS-00084

SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.

ERROR 2016-03-27 12:52:03.714 (root/sapinst) id=modlib.jslib.caughtException errno=MUT-03025

Caught ESAPinstException in module call: SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation..

ERROR 2016-03-27 12:52:03.941 (root/sapinst) id=controller.stepExecuted errno=FCO-00011

The step setOraclePasswords with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_Postload|ind|ind|ind|ind|postload|0|NW_Postload_ORA|ind|ind|ind|ind|ora|0|setOraclePasswords was executed with status ERROR ( Last error reported by the step: SQL statement or script failed. DIAGNOSIS: Error message: Executable /oracle/EDC/102_64/bin/sqlplus returns 1.. SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.).

INFO 2016-03-27 12:52:42.669 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/INSTANA.XML.

INFO 2016-03-27 12:52:42.673 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/INSTANA.XML.

INFO 2016-03-27 12:52:43.656 (root/sapinst)

Removed file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/instslana.xml.

INFO 2016-03-27 12:52:43.661 (root/sapinst)

Creating file /tmp/sapinst_instdir/NW700/AS-ABAP/ORA/CENTRAL/instslana.xml.