R12.2 Apps DBA. Powered by Blogger.

Adop Phase=fs_clone Fails with Failed to clone Run Context file to Refresh Patch Context File

No comments :
SYMPTOMS
On 12.2,
when attempting to run adop phase=fs_clone the following error occurs:
*******FATAL ERROR*******
PROGRAM : (/u01/sim2/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME : Mon Jun 9 13:48:41 2014
FUNCTION: main::runFSCloneApply [ Level 1 ]
ERRORMSG: /u01/sim2/fs1/EBSapps/comn/adopclone_ges-ebsapp01/bin/adclone.pl did not go through successfully.
  [UNEXPECTED]Error occurred while executing "perl /u01/sim2/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/sim2/fs1/inst/apps/tst-test/appl/admin/tst-test.xml -patchcontextfile=/u01/sim2/fs2/inst/apps/tst-test/appl/admin/tst-test.xml -promptmsg=hide -console=off -mode=create -sessionid=9 -timestamp=20140609_134433 -outdir=/u01/sim2/fs_ne/EBSapps/log/adop/9/fs_clone_20140609_134433/tst-test"
  [UNEXPECTED]Error occurred while CLONE Patch File System from Run File System using command: "perl /u01/sim2/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/sim2/fs1/inst/apps/tst-test/appl/admin/tst-test.xml -patchcontextfile=/u01/sim2/fs2/inst/apps/tst-test/appl/admin/tst-test.xml -promptmsg=hide -console=off -mode=create -sessionid=9 -timestamp=20140609_134433 -outdir=/u01/sim2/fs_ne/EBSapps/log/adop/9/fs_clone_20140609_134433/tst-test".
  [EVENT] Calling task: "Releasing ports on ges-ebsapp01"; script: "/u01/sim2/fs1/inst/apps/tst-test/admin/install/txkCloneAcquirePort.pl"; args: " -option=close -server=tst-test-ports=5571,7016,7616,7416,7216,7816,6115,6215 -log=/u01/sim2/fs_ne/EBSapps/log/adop/9/fs_clone_20140609_134433/tst-test/txkCloneAcquirePort.log"
  [EVENT] [START 2014/06/09 13:48:42] Releasing ports on ges-ebsapp01
  [EVENT] Calling: /u01/sim2/fs1/inst/apps/tst-test/admin/install/txkCloneAcquirePort.pl
  [EVENT] [END 2014/06/09 13:48:43] Releasing ports on tst-test
CHANGES
 Adsplice was executed in the system to add a custom product but it failed.
CAUSE
The cause was a discrepancy between the custom context variable definition in the adxmlctx.tmp and the context file.  The following entries were found in the adxmlctx.tmp template file as a result of an incompleted adsplice and these entries were not found in the context_file causing the issue:
<oa_customized>
     <c_fss oa_var="c_fss" scope="CUSTOM" oa_type="PROD_TOP" oa_enabled="FALSE" default="/u01/sim2/fs1/EBSapps/appl">%c_fss%</c_fss>
  </oa_customized>
</oa_context>
SOLUTION
Remove the following entries from the adxmlctx.tmp file:
<oa_customized>
     <c_fss oa_var="c_fss" scope="CUSTOM" oa_type="PROD_TOP" oa_enabled="FALSE" default="/u01/sim2/fs1/EBSapps/appl">%c_fss%</c_fss>
</oa_customized>
2. Run autoconfig .
3. Re-run fs_clone.

No comments :

Post a Comment

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