cancel
Showing results for 
Search instead for 
Did you mean: 

Opatch tool

Former Member
0 Kudos

I have a question about Opatch? Can anybody tell me the installation steps of Opatch and how to use this tool in oracle?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi. Read this Note 306408 - OPatch: Oracle tool for patch installation.

Answers (1)

Answers (1)

andreas_herzog
Active Contributor
0 Kudos

which oracle version are you using?

opatch should be installed automatically by the oracle runinstaller...you may have to patch it...you then have to apply the path to the opatch directory + install perl v.5.8

for example (AIX and Oracle 10.2):

edit the corresponding .dbenv-file (on unix user ora<sid>, on windows user <sid>adm) by appending the line:

> set path = ( $path $ORACLE_HOME/OPatch ) #for c-shell

or:

> PATH=$PATH:$ORACLE_HOME/OPatch; export PATH #for standard shell

exit and login again to make the changes effective...then use the opatch tool in the following way:

test version:

> opatch version

check for patches applied:

> opatch lsinventory

apply interim patches:

> opatch apply <opatch number/directory> -force -silent

GreetZ, AH

fidel_vales
Employee
Employee
0 Kudos

Hello Andreas,

you mentioned:

> opatch should be installed automatically by the oracle runinstaller

This is only true for oracle 10g. For oracle 9i it has to be downloaded and installed.

Relevant notes with explanation on how to update/patch and use

306408 OPatch: Oracle tool for patch installation

629588 Current versions of OPatch and OUI

839182 Oracle database 10g: OPatch

andreas_herzog
Active Contributor
0 Kudos

yup that's true...but all my examples dealt with oracle 10.2

GreetZ, AH