I needed to run a clone and was running into a really head scratcher. As is Oracle\'s way they sometimes enjoy giving us DBA's a bit of detective work to do. As usual I kept knocking my head into various brick walls instead of tracking back through the logs. Eventually I came up with the problem
Start to configure the run filesystem. You can do a dualfs from AD-TXK Delta 7 but for now I just needed to get this up and running:
perl adcfgclone.pl appsTier
START: Creating FMW Home.
Running /u03/APPLUAT/UAT/fs1/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome /u03/APPLUAT/UAT/fs1/EBSapps/comn/util/jdk64 -al /u03/APPLUAT/UAT/fs1/EBSapps/comn/clone/FMW/FMW_Home.jar -tl /u03/APPLUAT/UAT/fs1/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl /u03/APPLUAT/UAT/fs1/inst/apps/UAT_erpapp05/admin/log/clone/fmwT2PApply -silent true -debug true -executeSysPrereqs false
Script Executed in 21933 milliseconds, returning status 255
ERROR: Script failed, exit code 255
Oracle has left me a cryptic error and I come up with this note on MOS: Timeout Error Encountered for pasteBinary.sh While Running "adop phase=fs_clone" (Doc ID 1599424.1). Quite excited I run is again but again it fails. Again not reading the logs I think it has something to do with a possible firewall on the system. Also not the case and after some searching the logs reveal this is the error:
cd /u03/APPLUAT/UAT/fs1/inst/apps/UAT_erpapp05/admin/log/clone/fmwT2PApply
cat CLONE2016-01-03_08-28-11AM.error
SEVERE : Jan 3, 2016 8:28:19 AM - ERROR - CLONE-20218 Cloning is not successful.
SEVERE : Jan 3, 2016 8:28:19 AM - CAUSE - CLONE-20218 An internal operation failed.
SEVERE : Jan 3, 2016 8:28:19 AM - ACTION - CLONE-20218 Provide the clone log and error file for investigation.
java.io.FileNotFoundException: /u03/APPLUAT/UAT/fs1/FMW_Home/CLONE20160103082659250/oraclehomes/ORACLEHOME_APPSEBS_CLONE20160102115537662-oraclehome2@Oracle_EBS-app1/applications/oacore/html/WEB-INF/classes/_pages/__iecresgrptype.class (Stale file handle)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:212)
at java.io.FileOutputStream.(FileOutputStream.java:104)
at oracle.as.clone.util.JarUtilExtractForOracleHome.extractSrcIdEntriesFromHomeJar(JarUtilExtractForOracleHome.java:216)
at oracle.as.clone.util.JarUtilExtractForOracleHome.extractFullJar(JarUtilExtractForOracleHome.java:75)
at oracle.as.clone.util.JarUtil.extractFullJar(JarUtil.java:178)
at oracle.as.clone.request.ApplyCloneRequest.extractFullArchiveUnderMwHome(ApplyCloneRequest.java:318)
at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:133)
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 : /u03/APPLUAT/UAT/fs1/FMW_Home/CLONE20160103082659250/oraclehomes/ORACLEHOME_APPSEBS_CLONE20160102115537662-oraclehome2@Oracle_EBS-app1/applications/oacore/html/WEB-INF/classes/_pages/__iecresgrptype.class (Stale file handle)
Solution
Because this is a clone of the same instance the mount points have become stale. Most of the times you'll get an error straight out the bat when working on something like this. So I remounted the instance and the clone happily continued.umount /u03
mount /u03
Comments
Post a Comment