R12.2 Apps DBA. Powered by Blogger.

Timeout Error Encountered for pasteBinary.sh While Running "adop phase=fs_clone"

No comments :
SYMPTOMS
On Oracle E-Business Suite (EBS) 12.2.2,
when attempting to execute "adop phase=fs_clone",
the following error occurs:
Enabling EBS_LOGON trigger
Error while executing [filesystem]/fs2/inst/apps/[context_name]/appltmp/alter_ebs_logon_trigger.sql
Failed to enable EBS_LOGON trigger
*******FATAL ERROR*******
PROGRAM : ([filesystem]/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME    : Mon Nov 11 15:47:51 2013
FUNCTION: main::runFSCloneApply [ Level 1 ]
ERRORMSG: [filesystem]/fs1/EBSapps/comn/clone/bin/adclone.pl did not go through successfully.
         [UNEXPECTED]Error occurred while executing <perl [filesystem]/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=[filesystem]/fs1/inst/apps/[context_name]/appl/admin/[context_name].xml -patchcontextfile=[filesystem]/fs2/inst/apps/[context_name]/appl/admin/[context_name].xml -promptmsg=hide -console=off -mode=create -sessionid=5 -timestamp=[timestamp] -outdir=[filesystem]/fs_ne/EBSapps/log/adop/5/fs_clone_[timestamp]/[context_name]>
         [UNEXPECTED]Error occurred while CLONE Patch File System from Run File System using command: <perl [filesystem]/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=[filesystem]/fs1/inst/apps/[context_name]/appl/admin/[context_name].xml -patchcontextfile=[filesystem]/fs2/inst/apps/[context_name]/appl/admin/[context_name].xml -promptmsg=hide -console=off -mode=create -sessionid=5 -timestamp=[timestamp] -outdir=[filesystem]/fs_ne/EBSapps/log/adop/5/fs_clone_[timestamp]/[context_name]>.
         [UNEXPECTED]fs_clone phase completed with errors/warnings. Please check logfiles
         Log file: [filesystem]/fs_ne/EBSapps/log/adop/5/adop_[timestamp].log
adop exiting with status = 2 (Fail)
On further investigation, it is seen in the FSCloneApplyAppsTier_[timestamp].log file:
# Calling ApplyAppsTier...
# Creating the FMW Home from ApplyAppsTier
Creating FMW Home.
Running [filesystem]/fs1/EBSapps/comn/clone/FMW/pasteBinary.sh -javaHome [filesystem]/fs1/EBSapps/comn/clone/FMW/t2pjdk -al [filesystem]/fs1/EBSapps/comn/clone/FMW/FMW_Home.jar -tl [filesystem]/fs2/FMW_Home -invPtrLoc /etc/oraInst.loc -ldl [filesystem]/fs1/EBSapps/comn/clone/FMW/logs -silent true -executeSysPrereqs false
Script Executed in 7200015 milliseconds, returning status -1
Script timed out.
The issue can be reproduced at will with the following steps:
1. Execute "adop phase=fs_clone".
The issue has the following business impact:
Due to this issue, users cannot EBS 12.2.2 upgrade.
CAUSE
The issue is caused by the following setup:
pasteBinary is run within a TimedProcess:
TimedProcess pasteBinaryProc = new TimedProcess(l_pasteBinarycmd, 7200000);
SOLUTION
To implement the solution, please perform the following:
1. Open a new terminal.
2. Execute:
      export TIMEDPROCESS_TIMEOUT=-1
3. Execute:
      adop phase=fs_clone
NOTE: The script may take some time depending on the server resources (CPU and RAM).

No comments :

Post a Comment

Note: only a member of this blog may post a comment.