Thursday, October 5, 2017

Error txkADOPValidation during adop phase=fs_clone

I was going to apply a patch on our EBS R12 and the first step was to run ' adop phase=fs_clone' to sync the run files system with the patch file system.

I got this error

=============================
Inside getAbandonedNodes()...
=============================

SQL Command: SELECT AD_ZD_ADOP.GET_ABANDONED_NODES('ABANDONED')||',' FROM DUAL
tempAbandonedNodes:

==================================
Inside _eliminateAbandonNodes()...
==================================


 Node            Status
 ----------------------------------------------

 miasma                  PATCH context file is missing
ERROR:
Nodes with context files in the FND_OAM_CONTEXT_FILES table on both run and patch file systems: NONE
Nodes without context files in the FND_OAM_CONTEXT_FILES table on either/or run and patch file systems: miasma
Corrective Action:
- If the run file system context file for a node is missing, run AutoConfig on the run file system of that node to sync with the value with the database.
- If the patch file system context file of a node is missing, run AutoConfig on the patch file system of that node with the -syncctx option as follows to sync with the value with the database.
On UNIX:
 sh <AD_TOP>/bin/adconfig.sh contextfile=<CONTEXT_FILE> -syncctx
On Windows:
 <AD_TOP>\bin\adconfig.cmd contextfile=<CONTEXT_FILE> -syncctx
Exiting validations as further tests will break.


From this log file we see that it reports that the context file for the patch file system is missing.

Although when I checked at the OS level it is there.

SOLUTION:

My environment

E-Business Suite Environment Information
  ----------------------------------------
  RUN File System           : /upgrade/R12_R12D1/fs2/EBSapps/appl
  PATCH File System         : /upgrade/R12_R12D1/fs1/EBSapps/appl
  Non-Editioned File System : /upgrade/R12_R12D1/fs_ne


1. source the patch file system by doing "/upgrade/R12_R12D1/EBSapps.env patch"
2. get your contextfile by echo $CONTEXT_FILE
3. The contextfile you need is for patch system. For example my $CONTEX_FILE is
$ echo $CONTEXT_FILE
/upgrade/R12_R12D1/fs2/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml

so I will replace fs2 with fs1 so the context file I will put in would be

/upgrade/R12_R12D1/fs1/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml
4. Then run $AD_TOP/bin/adconfig.sh contextfile=/upgrade/R12_R12D1/fs1/inst/apps/R12D1_miasma/appl/admin/R12D1_miasma.xml -syncctx

5. Retry the adop phase=fs_clone.

YOU DONE IT!!

==================================
Inside _eliminateAbandonNodes()...
==================================


 Node            Status
 ----------------------------------------------

 miasma                  RUN and PATCH context file entries are valid
Nodes with context files in the FND_OAM_CONTEXT_FILES table on both run and patc                                             h file systems: miasma
Nodes without context files in the FND_OAM_CONTEXT_FILES table on either/or run                                              and patch file systems: NONE

================================
Inside _validateJDKTop()...
================================

No comments:

Post a Comment