3 Replies Latest reply on Apr 8, 2014 1:47 PM by User327385

    Rebuild patch file system in Oracle Apps 12.2.3


      I have been working on a test environment of Oracle Apps 12.2.3, mainly in the adop area. I encountered an error while running adop phase=prepare and adop phase=fs_clone.


      I've tracked this issue down to missing files in the fs2 (patch edition) file system. In fact, almost everything is missing, including the APPL_TOP directory. I believe I removed the patch directory while fixing other issues encountered while executing adop.


      Is it possible to delete the obsolete filesystem while running adop before there has been a chance to populate the new filesystem? For example, during a patching session your patch fails to install or cutover, so you abort the filesystem and run adop phase=cleanup cleanup_mode=full.


      Is it possible to rebuild the patch filesystem using adop? I thought this was a possibility but have been unable to use adop to do this because it fails in execution. Running adop phase=prepare will fail because of the missing files in the patch edition and adop phase=actualize_all will fail because it cannot be run if it is not in a patching cycle.


      Thanks in advance!

        • 1. Re: Rebuild patch file system in Oracle Apps 12.2.3

          We discovered what the issue was. We have several test environments on our servers and each has it's own oraInventory in oraInst.loc. A change was made to the oraInst.loc and it was no longer pointing to the necessary oraInventory locations. This was causing adop phase=fs_clone to fail because it couldn't find the correct homes. You can replicate this at any time by changing the oraInst.loc and running adop phase=fs_clone or adop phase=prepare. Once we reverted to the correct oraInventory, fs_clone worked and populated all the directory correctly, automatically. There was no reference to this requirement in the documentation so we had trouble tracking the problem down.

          • 2. Re: Rebuild patch file system in Oracle Apps 12.2.3

            Same issue. Afer fixing the oraInst.loc still PATCH file system is not getting re-populated. Still APPL_TOP is not available. adop phase=fs_clone failing with


            *******FATAL ERROR*******
            PROGRAM : (/u01/R12.2/appl122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
            TIME    : Tue Apr  8 14:17:46 2014
            FUNCTION: main::moveDirectory [ Level 1 ]
            ERRORMSG: Directory /u01/R12.2/appl122/fs2/EBSapps/appl does not exist.

                      [UNEXPECTED]Error occurred while executing "perl /u01/R12.2/appl122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/R12.2/appl122/fs1/inst/apps/VIS122_bb02/appl/admin/VIS122_bb02.xml -patchcontextfile=/u01/R12.2/appl122/fs2/inst/apps/VIS122_bb02/appl/admin/VIS122_bb02.xml -promptmsg=hide -console=off -mode=create -sessionid=9 -timestamp=20140408_141546 -outdir=/u01/R12.2/appl122/fs_ne/EBSapps/log/adop/9/fs_clone_20140408_141546/VIS122_bb02"
                      [UNEXPECTED]Error occurred while CLONE Patch File System from Run File System using command: "perl /u01/R12.2/appl122/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/R12.2/appl122/fs1/inst/apps/VIS122_bb02/appl/admin/VIS122_bb02.xml -patchcontextfile=/u01/R12.2/appl122/fs2/inst/apps/VIS122_bb02/appl/admin/VIS122_bb02.xml -promptmsg=hide -console=off -mode=create -sessionid=9 -timestamp=20140408_141546 -outdir=/u01/R12.2/appl122/fs_ne/EBSapps/log/adop/9/fs_clone_20140408_141546/VIS122_bb02".
                      [UNEXPECTED]fs_clone phase completed with errors/warnings. Please check logfiles
                      Log file: /u01/R12.2/appl122/fs_ne/EBSapps/log/adop/9/adop_20140408_141546.log

            • 3. Re: Rebuild patch file system in Oracle Apps 12.2.3

              Hi user3487396,


              If you look at the error message you're getting, you'll see that the fs2/EBSapps/appl does not exist. We saw this same issue when our fs2/EBSapps and fs2/FMW_Home directories were missing. The following directories are required at a minimum in order to run fs_clone:







              fs2=patch filesystem

              Just create these directories and it should run.