Autoconfig On Db Tier Fails With Error – SP2-1503: Unable to initialize Oracle call interface After DB Upgrade
Oracle Applications 11.5.10.2 on Solaris 5.10 64bit SPARC
Oracle Application Database 10gR2 (10.2.0.4) upgraded to Oracle Database 11.2.0.3 using Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0) [ID 881505.1].
Issue encountered while executing adconfig in the end:
$>./adconfig.sh Enter the full path to the Context file: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/myinstance_myserver.xml Enter the APPS user password: The log file for this session is located at: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/log/myinstance_myserver/07300952/adconfig.log AutoConfig is configuring the Database environment... AutoConfig will consider the custom templates if present. Using ORACLE_HOME location : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1 Classpath : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/jre/lib/rt.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/lib/dt.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdk/lib/tools.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jdbc/lib/ojdbc5.jar:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2.zip:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/java:/oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/jlib/netcfg.jar Using Context file : /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/myinstance_myserver.xml Context Value Management will now update the Context file Updating Context file...COMPLETED Attempting upload of Context file and templates to database...COMPLETED Updating rdbms version in Context file to db112 Updating rdbms type in Context file to 64 bits Configuring templates from ORACLE_HOME ... AutoConfig completed with errors.
adconfig.log
============
============
[AutoConfig Error Report] The following report lists errors AutoConfig encountered during each phase of its execution. Errors are grouped by directory and phase. The report format is:[PROFILE PHASE] AutoConfig could not successfully execute the following scripts: Directory: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/install/myinstance_myserver afdbprf.sh INSTE8_PRF 1 [APPLY PHASE] AutoConfig could not successfully execute the following scripts: Directory: /oracle01/myinstance/r12/db/product/11.2.0/dbhome_1/appsutil/install/myinstance_myserver adcrobj.sh INSTE8_APPLY 1 AutoConfig is exiting with status 2
Cause:
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
Solution:
The issue is related to ORA_TZFILE env variable in 11GR2 this env variable is no longer needed.
In Oracle Database server to fix this issue Unset the env varaible ORA_TZFILE and try to connect.
In Oracle Applications Database to fix this issue Perform the below.
The ORA_TZFILE is set while at 11gR2 this should not be set.
The $ORACLE_HOME/appsutil/template/ad8idbux.env is from the wrong version (ad8idbux.env 120.8)
The wrong file includes the following:
ORA_TZFILE="$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat" export ORA_TZFILE
While for 11gr2 it should be:
if test "%s_database%" = "db112" ; then ORA_TZFILE="" else ORA_TZFILE="$ORACLE_HOME/oracore/zoneinfo/timezlrg.dat" fi export ORA_TZFILE
Source the environment variable and executed autoconfig in Database Node, completed without issue
on your DB Tier:
cd
$ORACLE_HOME/oracore/zoneinfoln -s timezone_14.dat
timezone.datln -s timezlrg_14.dat
timezlrg.dat*where 14 is the DST version you have upgraded to post 11gR2 upgrade.
No comments:
Post a Comment