Abort Phase
If for some reason either the prepare or apply phase failed or gave problems, you can abort the patching cycle.
After running abort, you must always run a full cleanup
adop phase=cleanup cleanup_mode=full
This will remove any columns that were added by the patch but are no longer needed because of the abort. If they are not removed, they may cause problems in a later patching cycle.
If for some reason either the prepare or apply phase failed or gave problems, you can abort the patching cycle.
After running abort, you must always run a full cleanup
adop phase=cleanup cleanup_mode=full
This will remove any columns that were added by the patch but are no longer needed because of the abort. If they are not removed, they may cause problems in a later patching cycle.
Scenario
You
have encountered an error while preparing instance in the prepare phase or an
error occurred while applying a patch during the patching cycle or customer has
asked to exclude a patch and reapply the rest of the patches.
$
adop phase=abort
Enter
the APPS password:
Enter
the SYSTEM password:
Enter
the WLSADMIN password:
Please wait. Validating credentials...
RUN file system context file: /inst122i/applmgr/fs1/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
PATCH file system context file: /inst122i/applmgr/fs2/inst/apps/INST122I_testserver01/appl/admin/INST122I_testserver01.xml
*************
Start of session *************
version: 12.2.0
started at: Sun Nov 17 2013 03:38:58
APPL_TOP
is set to /inst122i/applmgr/fs1/EBSapps/appl
Cleanup is not done in earlier session
[START 2013/11/17 03:39:45] adzdoptl.pl run
ADOP Session ID: 9
Phase: cleanup
Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/9/adop_20131117_033835.log
[START 2013/11/17 03:40:11] abort phase
[EVENT] [START 2013/11/15 22:25:34] Performing
abort phase steps
[PROCEDURE] [START 2013/11/15 22:25:40]
Calling AD_ZD_ADOP.ABORT
[PROCEDURE] [END 2013/11/15 22:28:58] AD_ZD_ADOP.ABORT
[EVENT]
[START 2013/11/15 22:28:59] Running ABORT ddls in ddl handler table
Calling: adpatch options=hotpatch,nocompiledb
interactive=no console=no workers=4 restart=no abandon=yes defaultsfile=/inst122i/applmgr/fs2/EBSapps/appl/admin/INST122I/adalldefaults.txt
patchtop=/inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver
logfile=abort.log driver=uabort.drv
ADPATCH Log directory: /inst122i/applmgr/fs_ne/EBSapps/log/adop/7/abort_20131115_221940/INST122I_testserver01/log
[PROCEDURE] Running: adpatch options=hotpatch,nocompiledb interactive=no
console=no workers=4 restart=no abandon=yes defaultsfile=/inst122i/applmgr/fs2/EBSapps/appl/admin/INST122I/adalldefaults.txt
patchtop=/inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/patch/115/driver
logfile=abort.log driver=uabort.drv stdin=yes
[EVENT] [END
2013/11/15 22:29:35] Running ABORT ddls in ddl handler table
[PROCEDURE] [START 2013/11/15 22:29:36]
Cancelling ADZDPATCH concurrent program
[STATEMENT] Concurrent Request
Number: 476524
[PROCEDURE] [END 2013/11/15 22:29:41] Cancelling ADZDPATCH
concurrent program
[EVENT] [END
2013/11/15 22:29:47] Performing
abort phase steps
[START
2013/11/15 22:29:54] Generating AD_ZD_LOGS Report
[PROCEDURE] [START 2013/11/15 22:29:55]
Generating Report to spool all logs from ad_zd_logs
[EVENT] Report: /inst122i/applmgr/fs2/EBSapps/appl/ad/12.0.0/sql/ADZDSHOWLOG.sql
[EVENT] Output: /inst122i/applmgr/fs_ne/EBSapps/log/adop/7/abort_20131115_221940/INST122I_testserver01/adzdshowlog.out
[PROCEDURE] [END 2013/11/15 22:29:58] Generating Report to
spool all logs from ad_zd_logs
[END
2013/11/15 22:29:59] Generating AD_ZD_LOGS Report
[END
2013/11/17 04:06:05] adzdoptl.pl run
adop phase=abort - Completed Successfully
Log file: /inst122i/applmgr/fs_ne/EBSapps/log/adop/9/adop_20131117_033835.log
adop
exiting with status = 0 (Success)
$
Post Abort Activity
adop phase=cleanup cleanup_mode=full