adclone.pl

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

adclone.pl

Roshan
Hi,

when running adcfgclone.pl for application, it is stopping at 0%. It is giving me the error below in the CLONE log file:

SEVERE : Mar 26, 2016 8:24:41 AM - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Mar 26, 2016 8:24:41 AM - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Mar 26, 2016 8:24:41 AM - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
java.lang.NullPointerException
        at oracle.as.install.engine.modules.install.util.InstallUtils.setAdditionalOracleHomeProperty(InstallUtils.java:333)
        at oracle.as.clone.util.OracleHomeDepRefUtil.setAdditionalOracleHomePropertyUsingInstallUtils(OracleHomeDepRefUtil.java:493)
        at oracle.as.clone.util.OracleHomeDepRefUtil.setOHProperties(OracleHomeDepRefUtil.java:474)
        at oracle.as.clone.util.OracleHomeDepRefUtil.setOracleHomeProperties(OracleHomeDepRefUtil.java:424)
        at oracle.as.clone.mwhome.cloner.OracleHomeApplyCloner.updateOracleHomeInfo(OracleHomeApplyCloner.java:1904)
        at oracle.as.clone.mwhome.cloner.NormalOracleHomeApplyCloner.doPostApplyClone(NormalOracleHomeApplyCloner.java:127)
        at oracle.as.clone.request.ApplyCloneRequest.performFirstPostoperation(ApplyCloneRequest.java:248)
        at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:219)
        at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
        at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
        at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)
SEVERE : null
Reply | Threaded
Open this post in threaded view
|

Re: adclone.pl

ErmanArslansOracleBlog
Administrator
This is not sufficient for diagnosing.
Send me all the clone related log files.
Reply | Threaded
Open this post in threaded view
|

Re: adclone.pl

Roshan
Reply | Threaded
Open this post in threaded view
|

Re: adclone.pl

ErmanArslansOracleBlog
Administrator
I have analyzed the log files and collected these;

pasteBinary.sh exit code 255
FINE : Mar 26, 2016 8:18:14 AM - CLONE-22042   Path represented by "/u01/oracle/oraInventory/ContentsXML/inventory.xml" did not exist.

I also checked the jar file and saw these:

setOHProperties(string propName, string propValue, string oracleHome, string astring ohLocFromWhereEngineJarWillBeLoaded)

InstallUtils.setAdditionalOracleHomeProperty(propName, propValue, oracleHome);

Java methods return null pointer exceptions..

I suggest you to copy the inventory that is pointed by /etc/oraInst.loc to the directory path where it needs to be and retry.
Reply | Threaded
Open this post in threaded view
|

Re: adclone.pl

Roshan
Thanks! I am now able to proceed. The clone completed. I will test the report issue and let you know since it is a clone of production
Reply | Threaded
Open this post in threaded view
|

Re: adclone.pl

Roshan
The clone has been completed successfully. I am able view the reports using Tools-Copy. I think there was an issue of cloning the test instance.