How to Update Opatch Utility of GI Home

Due to GI_HOME restricted access, you might get following errors when you extract opatch utility to GI_HOME:

checkdir error:  cannot create /u01/app/12.2.0.1/grid/OPatch

                 Permission denied

                 unable to process OPatch/config/opatch.properties.

Here is one of the appropriate way for extracting opatch utility :

1)  Make a backup of current opatch utility:

$ cd /u01/app/12.2.0.1/grid/
$ tar -cvf /tmp/opatch_old.tar ./OPatch

2) Empty OPatch directory:

$cd /u01/app/12.2.0.1/grid/OPatch

$ rm *.*

3) Extract opatch utility of patch id 6880880 to GI home ( /u01/app/12.2.0.1/grid ):

$ unzip p6880880_122010_Linux-x86-64.zip  -d /u01/app/12.2.0.1/grid

$ which opatch
/u01/app/12.2.0.1/grid/OPatch/opatch

$ opatch version

OPatch Version: 12.2.0.1.13
OPatch succeeded.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.