Applying Patches
Last modified by Jeff McDonald on 2021/11/26 15:15
New and improved steps in patching...
Update OPatch
Download the latest version of OPatch for your product...
Apply the patch...
java -jar <PATCH_HOME>/6880880/opatch_generic.jar -silent oracle_home=<ORACLE_HOME_LOCATION>
Environment Variables
Set the ORACLE_HOME environment variable and add the "OPatch" directory to your PATH...
export ORACLE_HOME=/opt/oracle/occas71 export PATH=$PATH:$ORACLE_HOME/OPatch
Create Inventory File
To create an inventory file, type...
opatch lsinventory
The inventory file can be found in the directory location: $ORACLE_HOME/cfgtoollogs/opatch/lsinv
Oracle Support
Search for patches in Oracle Support. Before downloading, click on "Analyze for Conflicts".
Upload the inventory file. Download the appropriate patches. Use the 'wget' script.
To use the 'wget' script, enter your Oracle support login ID & password. It may appear to hang, but really that means it's downloading the patches.
Apply Patches
Unzip the downloaded patches. Use 'opatch' to apply them...
opatch napply -silent -id 28512225,31544340