Problem:
While cloning
recently upgraded EBS environment from 11.5.10.2 to R12.1.3 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/11.2.0/perl/bin/perl -I
/clone/oracle/product/11.2.0/perl/lib/5.8.3 -I
/clone/oracle/product/11.2.0/perl/lib/site_perl/5.8.3 -I
/clone/oracle/product/11.2.0/appsutil/perl
/clone/oracle/product/11.2.0/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/11.2.0/appsutil/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.
References:
Rapidwiz
12.1.1 Fails To Execute Ouicli.Pl During Apps 10.1.3 Techstack Autoconfig (Doc
ID 1328464.1)
Rapid Clone
Ouicli.pl Fails: "Finished OUI CLI cloning for s_db_oh with return code:
16777215" (Doc ID 802464.1)
OUICLI.PL
Fails While Running Adcfgclone On Oracle EBS R12 If Global Inventory Does Not
Exist (Doc ID 458653.1)
HTH
Thanks for
reading ..!!
Any
suggestions or enhancements are most welcome.
Thanks Ankur,
ReplyDeletei got tip from your post and resolved my issue.
I my case i created blank directory"oraInventory" in oracle_home and change the same path in oraInst.loc file and rerun .
This resolve my issue.
thanks
jatin