RC-50013: Fatal: Instantiate driver did not complete successfully
Problem:
While cloning recently upgraded EBS environment from [Release 11 to 12.1]
using Rapid Clone with dbTechStack option, the following error occurs:
using Rapid Clone with dbTechStack option, the following error occurs:
RC-50013: Fatal: Instantiate driver did not complete successfully
Contents of log file:
[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: <filename> <phase> <return code where appropriate> [APPLY PHASE] AutoConfig could not successfully execute the following scripts: Directory: /clone/oracle/product/12101/perl/bin/perl -I /clone/oracle/product/12101/perl/lib/5.14.1 -I /clone/oracle/product/12101/perl/lib/site_perl/5.14.1 -I /clone/oracle/product/12101/appsutil/perl /clone/oracle/product/12101/appsutil/clone ouicli.pl INSTE8_APPLY 255 AutoConfig is exiting with status 1 RC-50013: Fatal: Instantiate driver did not complete successfully. /clone/oracle/product/12101appsutil/driver/regclone.drv |
Cause:
As the log file states that autoconfig failed as it could not execute the following perl script "ouicl.pl"
The possible reason could be:
1. Either the script is not found at the location
2. If the script is present, try to run the script manually.
3. If it fails with the same error then the perl program "ouicli.pl" is unable to locate the JDK installation.
Solution:
· If the script "ouicli.pl" is not found under clone directory, I would suggest to copy appsutil from source to target system and unzip appsutil under< ORACLE_HOME>
$ unzip -o appsutil.zip
· Check if the JDK/JRE installed under the "<RDBMS ORACLE_HOME>/appsutil/jre/bin" directory. If there is no "java" under "<RDBMS ORACLE_HOME>/appsutil/jre/bin", you will need to replace the "jre" directory and all sub-directories with a full JDK/JRE installation. Generally, you can find this under "$ORACLE_HOME/jdk"
$ cp -r $ORACLE_HOME/jdk/ $ORACLE_HOME/appsutil/jre/
· Now check that the java" executable under "<RDBMS ORACLE_HOME>/appsutil/jre/bin" is working fine.
· If the java executable is working fine, make sure it is referenced directly in the Context File for DB tier. Check it with the below command:
$ cd $ORACLE_HOME/appsutil
$ grep s_adjvaprg< CONTEXT_NAME>.xml
<ADJVAPRG oa_var="s_adjvaprg" osd="UNIX">/<ORACLE_HOME>/appsutil/jre/bin/java</ADJVAPRG>
· Again run the cloning process,
perl adcfgclone.pl dbTechStack
ApplyDatabase Completed Successfully.
No comments:
Post a Comment