Friday, 20 May 2016

adop utility cannot be used when a previous patching cycle is incomplete

Checking for existing adop sessions.
        Session Id            :   2
        Prepare phase status  :   NOT APPLICABLE
        Apply phase status    :   ATLEAST ONE PATCH IS ALREADY APPLIED
        Cutover  phase status :   NOT APPLICABLE
        Abort phase status    :   NOT APPLICABLE
        Session status        :   FAILED
    [UNEXPECTED]The adop utility cannot be used when a previous patching cycle is incomplete
    [UNEXPECTED]Ensure there is no existing patching cycle before trying to apply more patches
    [UNEXPECTED]Unrecoverable error occurred. Exiting current adop session.

[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)

$adop phase=abort

$adop phase=cleanup cleanup_mode=full

Run the following statement to find out the session that is in running state:
SQL>select adop_session_id from ad_adop_sessions where status='R';

Set the status to 'C' (Completed) for that session, to re-try the phase that was interrupted:

SQL>update ad_adop_sessions set status='C' where status='R;

SQL>commit;

No comments:

Post a Comment