Rapid Clone Ouicli.pl Fails: "Finished OUI CLI cloning for s_db_oh with return code: 16777215"
Oracle Applications Manager - Version 12.0.6 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Mar-2013***
SYMPTOMS
Symptom #1:
While cloning a 12.0.6 environment using the Rapid Clone option "dbtechstack", the following error occurs when Rapid Clone runs "ouicli.pl":
. . .
$ cd/appsutil/clone/bin
$ perl adcfgclone.pl dbTechStack
/appsutil/jre/bin/java -classpath
/appsutil/java://oui/jlib/OraInst
aller.jar://appsutil/java/xmlparserv2.jar
oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e
/appsutil/ITDEV9_ias3.xml -nolink -oaVar s_db_oh -homestub db -log
/appsutil/log/ITDEV9_ias3/ohclone.log
Finished OUI CLI cloning for s_db_oh with return code: 16777215
AutoConfig could not successfully execute the following scripts:
ouicli.pl INSTE8_APPLY 255
. . .
Symptom #2:
Checking the "ohclone.log" referenced from the "ouicli.pl" output, it has not been recently updated or does not exist at all.
Symptom #3:
Running "perl ouicli.pl" from "$ORACLE_HOME/appsutil/clone", the script exists very quickly and shows the same "return code: 16777215".
CAUSE
The perl program "ouicli.pl" is unable to locate the JDK installation. This could be due to any of the following reasons:
1) There is no JDK/JRE installed under the "/appsutil/jre/bin" directory.
2) There is a problem, such as file corruption, with the JDK.
3) The value of "s_adjvaprg" in the Context File is set to an invalid location.
SOLUTION
1. Ensure there is a working "java" executable under "/appsutil/jre/bin":
$ cd $ORACLE_HOME/appsutil/jre/bin
$ ./java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
If the version information is returned, the JDK/JRE is working. This "java" executable file should be referenced directly in the Context File, as noted in step #2.
2. Check the value of "s_adjvaprg" in the Context File:
$ cd $ORACLE_HOME/appsutil/
$ grep s_adjvaprg *.xml (assumes there is only 1 ".xml" file)
/d01/R1211/db/tech_st/11.1.0/appsutil/jre/bin/java
Note that the value of "s_adjvaprg" points to the full path to the java executable and includes the name of the executable, "java", as well.
3. If there is no "java" under "/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/
4. If any changes have been made, now re-try the "adcfgclone.pl" command.
Oracle Applications Manager - Version 12.0.6 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Mar-2013***
SYMPTOMS
Symptom #1:
While cloning a 12.0.6 environment using the Rapid Clone option "dbtechstack", the following error occurs when Rapid Clone runs "ouicli.pl":
. . .
$ cd
$ perl adcfgclone.pl dbTechStack
aller.jar:/
oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e
Finished OUI CLI cloning for s_db_oh with return code: 16777215
AutoConfig could not successfully execute the following scripts:
ouicli.pl INSTE8_APPLY 255
. . .
Symptom #2:
Checking the "ohclone.log" referenced from the "ouicli.pl" output, it has not been recently updated or does not exist at all.
Symptom #3:
Running "perl ouicli.pl" from "$ORACLE_HOME/appsutil/clone", the script exists very quickly and shows the same "return code: 16777215".
CAUSE
The perl program "ouicli.pl" is unable to locate the JDK installation. This could be due to any of the following reasons:
1) There is no JDK/JRE installed under the "
2) There is a problem, such as file corruption, with the JDK.
3) The value of "s_adjvaprg" in the Context File is set to an invalid location.
SOLUTION
1. Ensure there is a working "java" executable under "
$ cd $ORACLE_HOME/appsutil/jre/bin
$ ./java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
If the version information is returned, the JDK/JRE is working. This "java" executable file should be referenced directly in the Context File, as noted in step #2.
2. Check the value of "s_adjvaprg" in the Context File:
$ cd $ORACLE_HOME/appsutil/
$ grep s_adjvaprg *.xml (assumes there is only 1 ".xml" file)
Note that the value of "s_adjvaprg" points to the full path to the java executable and includes the name of the executable, "java", as well.
3. If there is no "java" under "
$ cp -r $ORACLE_HOME/jdk/ $ORACLE_HOME/appsutil/jre/
4. If any changes have been made, now re-try the "adcfgclone.pl" command.
No comments:
Post a Comment