Rapid Clone Ouicli.pl Fails: "Finished OUI CLI cloning
Oracle Applications Manager - Version 12.0.4
Information in this document applies to any platform.
SYMPTOMS
Symptom #1:
While cloning a 12.0.4 environment using the Rapid Clone option "dbTier", the following error occurs when Rapid Clone runs "ouicli.pl":
$ cd /appsutil/clone/bin
$ perl adcfgclone.pl dbTier
/appsutil/jre/bin/java -classpath
/appsutil/java://oui/jlib/OraInst
aller.jar://appsutil/java/xmlparserv2.jar
oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e
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 error
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)
$ORACLE_HOME/12102/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.
executed again
perl adcfgclone.pl dbTier
Successfully completed
Oracle Applications Manager - Version 12.0.4
Information in this document applies to any platform.
SYMPTOMS
Symptom #1:
While cloning a 12.0.4 environment using the Rapid Clone option "dbTier", the following error occurs when Rapid Clone runs "ouicli.pl":
$ cd /appsutil/clone/bin
$ perl adcfgclone.pl dbTier
/appsutil/jre/bin/java -classpath
/appsutil/java://oui/jlib/OraInst
aller.jar://appsutil/java/xmlparserv2.jar
oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e
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 error
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)
$ORACLE_HOME/12102/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.
executed again
perl adcfgclone.pl dbTier
Successfully completed
No comments:
Post a Comment