Login  Register

ADOP Prepare Phase Fails with FATAL ERROR

classic Classic list List threaded Threaded
8 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

ADOP Prepare Phase Fails with FATAL ERROR

Rabia
16 posts
Hi Erman,
I hope you are doing well.

I need your support regarding an issue encountered while executing the ADOP (Online Patching) prepare phase in Oracle E-Business Suite R12.2. The process failed with a FATAL ERROR, and the relevant details are as follows:


ERROR
-----------------------

*******FATAL ERROR*******
PROGRAM : (/d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME : Wed Jan 29 09:57:46 2025
FUNCTION: main::getCtxValue [ Level 1 ]
ERRORMSG: The value </d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/ora/10.1.2/ORCL_srv2.env> for s_tools_home_file in /d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml isn't a file.
[ERROR] Error occurred while executing <perl /d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/app_tier/ORCL/fs1/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -patchcontextfile=/d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -promptmsg=hide -console=off -mode=create -sessionid=22 -timestamp=20250129_095355 -outdir=/d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/22/prepare_20250129_095355/ORCL_srv2>
[ERROR] Error occurred while CLONE PATCH FS with RUN FS using command: <perl /d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/app_tier/ORCL/fs1/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -patchcontextfile=/d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -promptmsg=hide -console=off -mode=create -sessionid=22 -timestamp=20250129_095355 -outdir=/d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/22/prepare_20250129_095355/ORCL_srv2>.
[STATEMENT] fs_clone phase completed with errors/warnings. Please check logfiles
[ERROR] Error while runPendingClone sub-routine is called
[STATEMENT] [START 2025/01/29 09:57:48] Check and Stop Patch Admin Server
[STATEMENT] There is a pending clone session for /d01/app_tier/ORCL/fs2.
[STATEMENT] Skipping Check and Stop Patch Admin Server Step.
[STATEMENT] [END 2025/01/29 09:57:50] Check and Stop Patch Admin Server
[STATEMENT] Prepare phase completed with errors/warnings. Please check logfiles
[STATEMENT] PREPARE Phase END TIME: 29-01-2025 09:57:53
[STATEMENT] [START 2025/01/29 09:57:54] Unlocking sessions table
[STATEMENT] [END 2025/01/29 09:57:55] Unlocking sessions table
[STATEMENT] Log file: /d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/22/adop_20250129_095355.log

adop exiting with status = 1 (Fail)



Each attempt to run the prepare phase results in errors. I would appreciate your guidance on resolving this issue
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

Rabia
16 posts
This is Error logfile

adop_20250129_095355.log
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

ErmanArslansOracleBlog
Administrator
5727 posts
Check the MOS Note -> Adop Prepare Phase Failed Due to Error Occurred While Executing txkADOPPreparePhaseSynchronize.pl (Doc ID 2092560.1)
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

Rabia
16 posts
This solution did not work.







Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

ErmanArslansOracleBlog
Administrator
5727 posts
autoconfig + fs_clone may fix this..

Indirect reference -> Why Does ADOP Report a Incorrect Pending Clone Session During Upgrade From 12.2 To 12.2.4? (Doc ID 1947707.1)

Ref Error:

ERRORMSG: /../<SID>/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

  [ERROR] Error occurred while executing

  [ERROR] Error occurred while CONFIG_CLONE PATCH FS with RUN FS using command: .
  [STATEMENT] fs_clone phase completed with errors/warnings. Please check logfiles
  [ERROR] Error while runPendingConfigClone sub-routine is called
  [STATEMENT] [START 2014/10/19 16:08:53] Check and Stop Patch Admin Server
  [STATEMENT] There is a pending clone session for /../<SID>/fs2.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

Rabia
16 posts
Hi Erman,

I followed the solution that you provided but still facing same issue.

No pending session exists.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

Rabia
16 posts
In reply to this post by ErmanArslansOracleBlog
[oracle@srv2 scripts]$ adop phase=fs_clone

Enter the APPS password:
Enter the SYSTEM password:
Enter the WLSADMIN password:

 Please wait. Validating credentials...


Enter the RUN file system context file name [/d01/app_tier/ORCL/fs1/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml]:


Enter the PATCH file system context file name [/d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml]:
[STATEMENT] [END   2025/03/24 10:46:15] Performing verification of parameters
[STATEMENT] [START 2025/03/24 10:46:16] Checking for the required ENV setup
[STATEMENT] [END   2025/03/24 10:46:16] Checking for the required ENV setup

************* Start of  session *************
 version: 12.2.0
 started at: Mon Mar 24 2025 10:46:16

APPL_TOP is set to /d01/app_tier/ORCL/fs1/EBSapps/appl
[STATEMENT] [START 2025/03/24 10:46:16] Determining admin node
[STATEMENT] [END   2025/03/24 10:46:18] Determining admin node
[STATEMENT] [START 2025/03/24 10:46:20] Acquiring lock on sessions table
[STATEMENT] [END   2025/03/24 10:46:21] Acquiring lock on sessions table
[STATEMENT] [START 2025/03/24 10:46:21] Checking for any pending sessions
[STATEMENT] [START 2025/03/24 10:46:25] Staging the current session
[STATEMENT] [END   2025/03/24 10:46:29] Staging the current session
[STATEMENT] [START 2025/03/24 10:46:31] Unlocking sessions table
[STATEMENT] [END   2025/03/24 10:46:32] Unlocking sessions table
[STATEMENT] [START 2025/03/24 10:46:32] adzdoptl.pl run
  [STATEMENT] Session ID: 26
  [STATEMENT] Phase: fs_clone
  [STATEMENT] Log file: /d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/adop_20250324_104556.log
  [STATEMENT] [START 2025/03/24 10:46:36] fs_clone phase
    [STATEMENT] [START 2025/03/24 10:46:38] Performing FS CLONE Steps
      [STATEMENT] [START 2025/03/24 10:46:40] CLONE PATCH FS with RUN FS
        [STATEMENT] Calling: /d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl
        [STATEMENT] Output directory: /d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/fs_clone_20250324_104556/ORCL_srv2

Program :  started @ Mon Mar 24 10:46:43 2025

*** Log File = /d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/fs_clone_20250324_104556/ORCL_srv2/TXK_SYNC_create_Mon_Mar_24_10_46_43_2025/txkADOPPreparePhaseSynchronize_Mon_Mar_24_10_46_43_2025.log


Could not locate relevant xmlparser classes at "/d01/app_tier/ORCL/fs2/FMW_Home/webtier".
Verify the context file is valid.

Restart adclone.pl after performing required corrections.
*******FATAL ERROR*******
PROGRAM : (/d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME    : Mon Mar 24 10:46:50 2025
FUNCTION: main::checkCloneContext [ Level 1 ]
ERRORMSG: Cloning of context file FAILED. Cannot proceed further. Check log file for details.

        [ERROR]     Error occurred while executing <perl /d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/app_tier/ORCL/fs1/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -patchcontextfile=/d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -promptmsg=hide -console=off -mode=create -sessionid=26 -timestamp=20250324_104556 -outdir=/d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/fs_clone_20250324_104556/ORCL_srv2>
        [ERROR]     Error occurred while CLONE PATCH FS with RUN FS using command: <perl /d01/app_tier/ORCL/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/d01/app_tier/ORCL/fs1/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -patchcontextfile=/d01/app_tier/ORCL/fs2/inst/apps/ORCL_srv2/appl/admin/ORCL_srv2.xml -promptmsg=hide -console=off -mode=create -sessionid=26 -timestamp=20250324_104556 -outdir=/d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/fs_clone_20250324_104556/ORCL_srv2>.
        [ERROR]     fs_clone phase completed with errors/warnings. Please check logfiles
        [STATEMENT] [START 2025/03/24 10:46:53] Unlocking sessions table
        [STATEMENT] [END   2025/03/24 10:46:54] Unlocking sessions table
        [STATEMENT] Log file: /d01/app_tier/ORCL/fs_ne/EBSapps/log/adop/26/adop_20250324_104556.log

adop exiting with status = 2 (Fail)
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: ADOP Prepare Phase Fails with FATAL ERROR

ErmanArslansOracleBlog
Administrator
5727 posts
We need to see the log..

There may be something like "Creating the new APPL_TOP Context file from" there in the log.. What happens after that, we need to see..

At the moment, this is generic as it is.