Sunday, July 7, 2019

SEVERE : Jul 7, 2019 8:11:12 PM - ERROR - CLONE-20275 Insufficient space to create /tmp/CLONINGCLIENT-1225975372382435825.

Running Rapid Clone with command:
Running:
perl /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/bin/adclone.pl java=/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/bin/../jre mode=apply stage=/upgrade/R12_R12T1/fs1/EBSapps/comn/clone component=appsTier method=CUSTOM appctxtg=/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/appl/admin/R12T1_crcdevportal.xml showProgress contextValidated=true



FMW Pre-requisite check log file location : /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Running: /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/FMW/t2pjdk/bin/java -classpath /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/engine.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereq.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraPrereqChecks.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstaller.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/OraInstallerNet.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/srvm.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl2.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/Scripts/ext/jlib/ojdl-log4j.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/xmlparserv2.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/prereq/webtier/oui/jlib/share.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/java oracle.apps.ad.clone.util.FMWOracleHomePreReqCheck -prereqCheckFMW -e /upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/appl/admin/R12T1_crcdevportal.xml -stage /upgrade/R12_R12T1/fs1/EBSapps/comn/clone -log /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/FMW/logs/prereqcheck.log

Beginning application tier Apply - Sun Jul  7 20:09:44 2019

/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/xmlparserv2.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/ojdbc6.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/java:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/oui/OraInstaller.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/oui/ewt3.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/oui/share.jar:/upgrade/R12_R12T1/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/ojmisc.jar:/upgrade/R12_R12T1/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/upgrade/R12_R12T1/fs1/EBSapps/comn/clone/jlib/obfuscatepassword.jar  oracle.apps.ad.clone.ApplyAppsTier -e /upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/appl/admin/R12T1_crcdevportal.xml -stage /upgrade/R12_R12T1/fs1/EBSapps/comn/clone    -showProgress -nopromptmsg
Log file located at /upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone/ApplyAppsTier_07072009.log
  |      0% completed
ERROR while running Apply...
Sun Jul  7 20:11:13 2019

 ERROR: Failed to execute /upgrade/R12_R12T1/fs1/EBSapps/comn/clone/bin/adclone.pl

 Please check logfile.



We then check

crcdevportal:/usr/applmgr> cd /upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log> ls
07072009  clone
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log> cd clone/
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone> cd ..
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log> cd clone/
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone> ls
ApplyAppsTier_07072009.log  fmwT2PApply
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone> cd fmwT2PApply/
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone/fmwT2PApply> ls
CLONE2019-07-07_08-09-46PM.error  CLONE2019-07-07_08-09-46PM.log
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone/fmwT2PApply> cat CLONE2019-07-07_08-09-46PM.error
SEVERE : Jul 7, 2019 8:11:12 PM - ERROR - CLONE-20275   Insufficient space to create /tmp/CLONINGCLIENT-1225975372382435825.
SEVERE : Jul 7, 2019 8:11:12 PM - CAUSE - CLONE-20275   Minimum required space was at least "3,350" MB, but only "3,003" MB was available for use.
SEVERE : Jul 7, 2019 8:11:12 PM - ACTION - CLONE-20275   Make sure that the minimum required space is available for use.
SEVERE : Jul 7, 2019 8:11:12 PM - ERROR - CLONE-20233   Restoring Middleware home for sourceid "mwhome1@FMW_Home" has failed.
SEVERE : Jul 7, 2019 8:11:12 PM - CAUSE - CLONE-20233   An internal operation failed.
SEVERE : Jul 7, 2019 8:11:12 PM - ACTION - CLONE-20233   Check the clone log and error file for more details.
SEVERE : Jul 7, 2019 8:11:12 PM - ERROR - CLONE-20237   Restoring the sourceid "mwhome1@FMW_Home" has failed.
SEVERE : Jul 7, 2019 8:11:12 PM - CAUSE - CLONE-20237   An internal operation failed.
SEVERE : Jul 7, 2019 8:11:12 PM - ACTION - CLONE-20237   Check the clone log and error file for more details.
SEVERE : Jul 7, 2019 8:11:13 PM - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Jul 7, 2019 8:11:13 PM - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Jul 7, 2019 8:11:13 PM - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
! crcdevportal:/upgrade/R12_R12T1/fs1/inst/apps/R12T1_crcdevportal/admin/log/clone/fmwT2PApply> cd /tmp



SOLUTION:


CAUSE

The default /tmp directory doesn't have enough free space available to run the copyBinary.sh script and create the temporary files like CLONINGCLIENT202653551162129417.

Customer can't increase the space in the default /tmp directory.
 

SOLUTION

1) Create a new temporary directory in a location of your choice.
  Just make sure that:

  a) Oracle user has the right privileges to write on this directory and,
  b) There is plenty of free space, at least more than 5Gb free.

2) You can create a script to execute the cloning command or set the environment variable at command line.
  For example:
  $ export T2P_JAVA_OPTIONS="-Djava.io.tmpdir=/home/Oracle/testcase/tmp"


On my case

export T2P_JAVA_OPTIONS="-Djava.io.tmpdir=/upgrade/skullone/tmp"

It works


No comments:

Post a Comment