Upgrade Oracle opatch Version

Upgrade Oracle opatch Version

Get Social!

opatch-upgrade-requiredopatch is Oracle’s tool for patching software such as OBIEE and ODI and is used in conjunction with patch downloads from Oracle Support.

Versions of the opatch tool change over time, often in line with releases of other Oracle software. If you try to use an out of date opatch binary for a newer patch file, you’ll get the below error.

#opatch napply -silent /u01/binaries/patch -id 20188679

OPatch Version :
  OUI  Version :
The OPatch version is not applicable for current OUI version.

Since OUI Version starts with 11.2, Please go to 'My Oracle Support' and get right OPatch 11.2.*.*.* based on patch 6880880, release version and appropriate platform.

OPatch failed with error code 1

You need to upgrade your version of opatch to the OUI Version indicated, which in this example is

To upgrade your version of opatch search on Oracle Support for patch number 6880880 and click one of the results – there are several results titled something similar to ‘OPatch patch of version for Oracle software releases 11.1.0.x (JUN 2015) (Patch)‘. You can click on any of the results with a similar name to the above as they all take you to the same page.

opatch-download-verisonOn the top left of the page, select the Release of opatch you need along with the the Platform you will be using opatch on and then click Download.

Copy the downloaded patch file to your target machine and unzip the file.

unzip 'p6880880*.zip'

Installing the updated opatch binary is simple – move the old OPatch directory and replace it with the new one we just downloaded.

For this example, we’re replacing the OPatch folder for an OBIEE installation located at /u01/app/oracle/product/fmw/Oracle_BI1/. Depending on your install path and application, your path may be different however the OPatch directory is usually found in the ORACLE_HOME directory.

mv /u01/app/oracle/product/fmw/Oracle_BI1/OPatch /u01/app/oracle/product/fmw/Oracle_BI1/OPatch_V11_1x

Copy the unzipped OPatch folder to the ORACLE_HOME directory:

 cp -r OPatch /u01/app/oracle/product/fmw/Oracle_BI1/

Check the version of the opatch binary:

cd /u01/app/oracle/product/fmw/Oracle_BI1/OPatch
./opatch version
OPatch Version:

OPatch succeeded.





9-Nov-2016 at 2:45 pm

Worked beautifully. Thanks for posting.


1-Feb-2019 at 1:39 pm


Leave a Reply

Visit our advertisers

Quick Poll

Do you use ZFS on Linux?

Visit our advertisers