ERROR:

SEVERE : Sep 8, 2021 16:51:36 – ERROR – CLONE-20435 Some of the Oracle Homes are excluded during copy operation.
SEVERE : Sep 8, 2021 16:51:36 – CAUSE – CLONE-20435 The following Oracle Homes were excluded during copy operation.
[/wwi/erp/apps/fs1/FMW_Home/webtier, /wwi/erp/apps/fs1/FMW_Home/oracle_common] , 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 operation.
3. Canonical path of Oracle Home registered with OraInventory was not child of Middleware Home.
SEVERE : Sep 8, 2021 16:51:36 – ACTION – CLONE-20435 Make sure that all possible causes mentioned in above CAUSE section are taken care.
SEVERE : Sep 8, 2021 16:51:36 – ERROR – CLONE-20218 Cloning is not successful.
SEVERE : Sep 8, 2021 16:51:36 – CAUSE – CLONE-20218 An internal operation failed.
SEVERE : Sep 8, 2021 16:51:36 – 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)

SOLUTION:

To resolve the issue test the below steps in a non-business critical instance where the problem can be reproduced and then migrate accordingly:

1. Take backup of the instance and the existing “oraclehomeproperties.xml” file located under the ORACLE_HOME local inventory.

eg: /u01/oracle/fs1/FMW_Home/webtier/inventory/ContentsXML

2. Check the path mentioned for PROPERTY NAME=”MIDDLEWARE_HOME” in the file. This should point to the FMW_HOME on the same filesystem.

For example If the file is located in /u01/oracle/fs1/FMW_Home/webtier/inventory/ContentsXML/oraclehomeproperties.xml, then the value of PROPERTY NAME=”MIDDLEWARE_HOME” should be “/u01/oracle/fs1/FMW_Home”

3. If the path mentioned is incorrect, edit the file to point to correct path.

4. Save the changes.

5. Rerun the failed FS_CLONE/ADPRECLONE/PL command.

6. Confirm the fs_clone or adpreclone.pl command now complete successfully without error.

REFERENCE:

Doc ID 2219333.1

Recent Posts

Start typing and press Enter to search