To roll back a patch that was applied to an Oracle Fusion Middleware Oracle home, use the opatch rollback
command.
Example 1-3 shows how to use the opatch rollback
command to roll back a patch that was applied to an Oracle Fusion Middleware Oracle home.
This example assumes that the OPatch directory is already included in the PATH variable on the host computer.
Example 1-3 Using the OPatch rollback Command to Roll Back a Patch
> opatch rollback -id 15941858 Oracle Interim Patch Installer version 13.3.0.0.0 Copyright (c) 2013, Oracle Corporation. All rights reserved. Oracle Home : /opt/Oracle/products/fmw12c Central Inventory : /opt/Oracle/oraInventory from : /var/opt/Oracle/oraInst.loc OPatch version : 13.3.0.0.0 OUI version : 13.3.0.0.0 Log file location : /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/15941858_Jun_10_2013_13_12_20/rollback2013-06-10_13-12-10PM_1.log OPatch detects the Middleware Home as "/opt/Oracle/products/fmw12c" RollbackSession rolling back interim patch '15941858' from OH '/opt/Oracle/products/fmw12c' Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/opt/Oracle/products/fmw12c') Is the local system ready for patching? [y|n] y User Responded with: Y Patching component oracle.wls.core.app.server, 12.2.1.0.0... RollbackSession removing interim patch '15941858' from inventory Log file location: /opt/Oracle/products/fmw12c/cfgtoollogs/opatch/15941858_Jun_10_2013_13_12_20/rollback2013-06-10_13-12-10PM_1.log OPatch succeeded.