Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Encountered Error While Running appsTier Preclone in R12.2

$
0
0
I was encountered error while running preclone on appsTier on Production(Source Instance) of Oracle Applications R12.2. The errors message was:
 START: Creating FMW archive.  
Running /u01/app/TEST/R12apps/fs1/FMW_Home/oracle_common/bin/copyBinary.sh -javaHome /u01/app/TEST/R12apps/fs1/EBSapps/comn/clone/FMW/t2pjdk -al /u01/app/TEST/R12apps/fs1/EBSapps/comn/clone/FMW/FMW_Home.jar -smw /u01/app/TEST/R12apps/fs1/FMW_Home -ldl /u01/app/TEST/R12apps/fs1/inst/apps/OCM_orasol06/admin/log/clone/fmwT2PStage -invPtrLoc /var/opt/oracle/oraInst.loc -silent true -debug true
Script Executed in 3047 milliseconds, returning status 255
ERROR: Script failed, exit code 255
I check the directory $INST_TOP/admin/log/clone and found the file CLONE2016-12-26_02-56-36_1139966449.error with following error:
WARNING : Dec 26, 2016 02:56:37 - WARNING - CLONE-20316    Oracle Home(s) under the Middleware Home have not been included.
WARNING : Dec 26, 2016 02:56:37 - CAUSE - CLONE-20316 Oracle Home(s) registered with the Oracle Inventory were not present inside the Middle
ware Home.
WARNING : Dec 26, 2016 02:56:37 - ACTION - CLONE-20316 Ensure that the Oracle Home(s) present inside the Middleware Home are registered with
the Oracle Inventory or provide the correct custom inventory.
SEVERE : Dec 26, 2016 02:56:37 - ERROR - CLONE-20435 Some of the Oracle Homes are excluded during copy operation.
SEVERE : Dec 26, 2016 02:56:37 - CAUSE - CLONE-20435 The following Oracle Homes were excluded during copy operation.
[/u01/app/TEST/R12apps/fs1/FMW_Home/Oracle_EBS-app1, /u01/app/TEST/R12apps/fs1/FMW_Home/oracle_common, /u01/app/TEST/R12apps/fs1/FMW_Home/webtier] , and
possible causes were:
1. All the Oracle Homes were not registered with one OraInventory.
2. If all Oracle Homes were registered with a single custom OraInventory, then corresponding inventory pointer file was not provided to T2P op
eration.
3. Canonical path of Oracle Home registered with OraInventory was not child of Middleware Home.
SEVERE : Dec 26, 2016 02:56:37 - ACTION - CLONE-20435 Make sure that all possible causes mentioned in above CAUSE section are taken care.
SEVERE : Dec 26, 2016 02:56:37 - ERROR - CLONE-20218 Cloning is not successful.
SEVERE : Dec 26, 2016 02:56:37 - CAUSE - CLONE-20218 An internal operation failed.
SEVERE : Dec 26, 2016 02:56:37 - ACTION - CLONE-20218 Provide the clone log and error file for investigation.
java.lang.Exception: Some of the Oracle Homes are excluded during copy operation.
at oracle.as.clone.cloner.builder.CreateClonerBuilder.showMessageIfAnyOHIgnored(CreateClonerBuilder.java:1356)
at oracle.as.clone.cloner.builder.CreateClonerBuilder.getMWAndOHCreateClonerObjects(CreateClonerBuilder.java:226)
at oracle.as.clone.cloner.builder.CreateClonerBuilder.getCreateClonerObjects(CreateClonerBuilder.java:147)
at oracle.as.clone.cloner.builder.CreateClonerBuilder.getClonerObjects(CreateClonerBuilder.java:133)
at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:91)
at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:236)
at oracle.as.clone.client.CloningClient.main(CloningClient.java:124)
~
The error clearly points to a problem with the oracle inventory, and when I checked there was no data about the related Oracle homes. So I had to register them manually as pointed in note "R12.2 How To Re-attach Oracle Homes To The Central Inventory (Doc ID 1586607.1)".
We need to re-attach Oracle Homes:
/u01/app/TEST/R12apps/fs1/FMW_Home/oracle_common/oui/bin/runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME="/u01/app/TEST/R12apps/fs1/FMW_Home/oracle_common" ORACLE_HOME_NAME="VIS_TOOLS__u01_common_fs1_EBSapps_10_1_2" CLUSTER_NODES="{}"

/u01/app/TEST/R12apps/fs1/FMW_Home/webtier/oui/bin/runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME="/u01/app/TEST/R12apps/fs1/FMW_Home/webtier" ORACLE_HOME_NAME="VIS_TOOLS__u01_webtier_fs1_EBSapps_10_1_2" CLUSTER_NODES="{}"

/u01/app/TEST/R12apps/fs1/FMW_Home/Oracle_EBS-app1/oui/bin/runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME="/u01/app/TEST/R12apps/fs1/FMW_Home/Oracle_EBS-app1" ORACLE_HOME_NAME="VIS_TOOLS__u01_ebsapp1_fs1_EBSapps_10_1_2" CLUSTER_NODES="{}"

/u01/app/TEST/R12apps/fs1/EBSapps/10.1.2/oui/bin/runInstaller -silent -attachHome -invPtrLoc /var/opt/oracle/oraInst.loc ORACLE_HOME="/u01/app/TEST/R12apps/fs1/EBSapps/10.1.2" ORACLE_HOME_NAME="VIS_TOOLS__u01_VIS_fs1_EBSapps_10_1_2"
After that I could run the adpreclone appsTier without any problem.

Happy EBS Troubleshooting !

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>