Login  Register

adop phase=prepare failed

Posted by raiq1 on Nov 02, 2023; 8:17am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/adop-phase-prepare-failed-tp12150.html

Dear Erman sir,

We have multinode test environment for shared application file system.

ebs 1  <master>

ebs2  <slave>

dmz  <slave> 


i have just added a new node dmz and run adop patching cycle but it has given the below error.

[oracle@ebs1 ~]$ adop phase=prepare

Enter the APPS password:
Enter the EBS_SYSTEM password:
Enter the WLSADMIN password:

Validating credentials.

Initializing.
    Run Edition context  : /u01/oracle/PROD/fs1/inst/apps/PROD_ebs1/appl/admin/PROD_ebs1.xml
    Patch edition context: /u01/oracle/PROD/fs2/inst/apps/PROD_ebs1/appl/admin/PROD_ebs1.xml
    Patch file system free space: 31.37 GB

Validating system setup.
    Node registry is valid.
    Log: /u01/oracle/PROD/fs1/inst/apps/PROD_ebs1/logs/appl/rgf/TXK/verifyssh.log
sh: which: line 1: syntax error: unexpected end of file
sh: error importing function definition for `which'
    Output: /u01/oracle/PROD/fs1/inst/apps/PROD_ebs1/logs/appl/rgf/TXK/out.xml
    Remote execution is operational.
    [WARNING]   MTCC has not been run. Apply Patch 17537119 and run checkMTpatch.sh.

Checking for existing adop sessions.
    Continuing with existing session [Session ID: 6].
        Session Id            :   6
        Prepare phase status  :   NOT COMPLETED
        Apply phase status    :   NOT COMPLETED
        Cutover  phase status :   NOT COMPLETED
        Abort phase status    :   NOT COMPLETED
        Session status        :   NOT COMPLETED

===========================================================================
ADOP (C.Delta.14)
Session ID: 6
Node: ebs1
Phase: prepare
Log: /u01/oracle/PROD/fs_ne/EBSapps/log/adop/6/20231102_104326/adop.log
===========================================================================

Verifying existence of context files in database.
    [UNEXPECTED] Could not find patch context file from database
    [UNEXPECTED]Patch edition context file not found in database for host dmz
    [UNEXPECTED] Could not find patch context file from database
    [UNEXPECTED]Patch edition context file not found in database for host ebs2

Summary report for current adop session:
    Node ebs2: Not Started
       - Prepare status:    Not Started
    Node dmz: Not Started
       - Prepare status:    Not Started
    Node ebs1: Not Started
       - Prepare status:    Not Started
    For more details, run the command: adop -status -detail


[STATEMENT] Please run adopscanlog utility, using the command

"adopscanlog -latest=yes"

to get the list of the log files along with snippet of the error message corresponding to each log file.


adop exiting with status = 2 (Fail)
[oracle@ebs1 ~]$ adopscanlog -latest=yes

Scanning /u01/oracle/PROD/fs_ne/EBSapps/log/adop/6/ directory ...

/u01/oracle/PROD/fs_ne/EBSapps/log/adop/6/20231102_104326/adop.log:
-------------------------------------------------------------------

Lines #(152-159):
===========================================================================
[EVENT]     Verifying existence of context files in database.
    [UNEXPECTED] Could not find patch context file from database
    [UNEXPECTED]Patch edition context file not found in database for host dmz
    [UNEXPECTED] Could not find patch context file from database
    [UNEXPECTED]Patch edition context file not found in database for host ebs2

[EVENT]     Summary report for current adop session:
[oracle@ebs1

Need your advice and action plan to fix this issue.

Regards,
Raiq