Sie sind auf Seite 1von 6

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.1.0.6


Information in this document applies to any platform.

Goal
This documents explains how to download and install opatch.

The old OPatch id's :

For 9i R2(9.2.x) and 10GR1(10.1.x) -2617419


For 10GR2(10.2.x) and 11g (11.1.0) -4898608

Have been replaced with the new id's:

6880880 Universal Installer: Patch OPatch 9i, 10.1


6880880 Universal Installer: Patch OPatch 10.2
6880880 Universal Installer: Patch OPatch 11.1

Solution
1) Please download the latest OPatch version from Metalink.

From Metalink:

a) Click On PATCHES & UPDATES button.


b) Select {Simple Search} link
c) On {Patch(s) Numbers} type:
6880880 Universal Installer: Patch OPatch 9i, 10.1
6880880 Universal Installer: Patch OPatch 10.2
6880880 Universal Installer: Patch OPatch
11.1                                                                              
d) On {Platform or Language} select your platform
e) Press the Go button.
f) Select the option that corresponds to the Oracle release installed:
6880880 Universal Installer: Patch OPatch 9i, 10.1
6880880 Universal Installer: Patch OPatch 10.2
6880880 Universal Installer: Patch OPatch 11.1
g) Download

 
Or:

From a command prompt:

ftp updates.oracle.com (metalink username and password)


ftp> bin
ftp> cd /6880880
ftp> get <zip file that corresponds to the Oracle release installed>
p6880880_101000_AIX.zip
p6880880_101000_AIX5L-32.zip
p6880880_101000_AIX5L.zip
p6880880_101000_AIX64.zip
p6880880_101000_AXP.zip
p6880880_101000_BS2000.zip
p6880880_101000_HP64.zip
p6880880_101000_HPUX-IA32.zip
p6880880_101000_HPUX-IA64.zip
p6880880_101000_HPUX.zip
p6880880_101000_Hitachi.zip
p688 0880_101000_LINUX.zip
p6880880_101000_LINUX64.zip
p6880880_101000_Linux-IA64.zip
p6880880_101000_Linux-S390.zip
p6880 880_101000_Linux-x86-64.zip
p6880880_101000_Linux-zSer.zip
p6880880_101000_LinuxPower.zip
p6880880_101000_MSVista.zip
p6880880_101000_MSWIN-x86-64.zip
p6880880_101000_MSwin2000.zip
p6880880_101000_MSwinXP.zip
p6880880_101000_MSwinXP64.zi p
p6880880_101000_MVS.zip
p6880880_101000_SOLARIS.zip
p6880880_101000_SOLARIS64.zip
p6880880_101000_Ser2003.zip
p6 880880_101000_Solaris86-64.zip
p6880880_101000_Solarisx86.zip
p6880880_101000_Tru64.zip
p6880880_101000_WINNT.zip
p68 80880_101000_WINNT64.zip
p6880880_102000_AIX.zip
p6880880_102000_AIX5L-32.zip
p6880880_102000_AIX5L.zip
p6880880_1020 00_AIX64.zip
p6880880_102000_AXP.zip
p6880880_102000_BS2000.zip
p6880880_102000_HP64.zip
p6880880_102000_HPUX-IA32.zi p
p6880880_102000_HPUX-IA64.zip
p6880880_102000_HPUX.zip
p6880880_102000_Hitachi.zip
p6880880_102000_LINUX.zip
p68 80880_102000_LINUX64.zip
p6880880_102000_Linux-IA64.zip
p6880880_102000_Linux-S390.zip
p6880880_102000_Linux-x86-64.zip< br>p6880880_102000_Linux-zSer.zip
p6880880_102000_LinuxPower.zip
p6880880_102000_MSVista.zip
p6880880_102000_MSWIN-x86-6 4.zip
p6880880_102000_MSwin2000.zip
p6880880_102000_MSwinXP.zip
p6880880_102000_MSwinXP64.zip
p6880880_102000_MVS.zip
p6880880_102000_SOLARIS.zip
p6880880_102000_SOLARIS64.zip
p6880880_102000_Ser2003.zip
p6880880_102000_Solaris86-64.z ip
p6880880_102000_Solarisx86.zip
p6880880_102000_Tru64.zip
p6880880_102000_WINNT.zip
p6880880_102000_WINNT64.zip
p6880880_111000_AIX.zip
p6880880_111000_AIX5L-32.zip
p6880880_111000_AIX64-5L.zip
p6880880_111000_AIX64.zip
p6880880_ 111000_AXP.zip
p6880880_111000_BS2000.zip
p6880880_111000_HP64.zip
p6880880_111000_HPUX-IA32.zip
p6880880_111000_HPUX-IA64.zip
p6880880_111000_HPUX.zip
p6880880_111000_Hitachi.zip
p6880880_111000_LINUX-S390.zip
p6880880_111000_LINUX-zSer.zip
p6880880_111000_LINUX.zip
p6880880_111000_LINUX64.zip
p6880880_111000_Linux-IA64.zip
p6880880_111000_Linux-x86-64.zip
p6880880_111000_LinuxPower.zip
p6880880_111000_MSVista.zip
p6880880_111000_MSWIN-x86-64.zip
p6880880_111000_MSwin2000.zip
p6880880_111000_MSwinXP.zip
p6880880_111000_MSwinXP64.zip
p6880880_111000_MVS.zip
p6880880_111000_SOLARIS.zip
p6880880_111000_SOLARIS64.zip
p6880880_111000_SOLARISx86.zip
p6880880_111000_Ser2003.zip
p6880880_111000_Solaris86-64.zip
p6880880_111000_TRU64.zip
p6880880_111000_WINNT.zip
p6880880_111000_WINNT64.zip                                                                                         
 
ftp> quit

2) Then upload or move the unzipped zip file to ORACLE_HOME and uncompress it:

Example:
===============================================================
===

% mv p6880880_101000_SOLARIS64.zip $ORACLE_HOME
% cd $ORACLE_HOME
(If an OPatch directory already exist then move
it)                                                                        
% mv Opatch
OPatch_100057                                                                                                   
% unzip p6880880_101000_SOLARIS64.zip
Archive:  p6880880_101000_SOLARIS64.zip
   creating: OPatch/
   creating: OPatch/docs/
  inflating: OPatch/docs/FAQ        
  inflating: OPatch/docs/README.txt 
  inflating: OPatch/docs/Users_Guide.txt 
  inflating: OPatch/docs/bt1.txt    
  inflating: OPatch/docs/bt2.txt    
  inflating: OPatch/docs/tmp        
  inflating: OPatch/emdpatch.pl     
   creating: OPatch/jlib/
  inflating: OPatch/jlib/opatch.jar 
  inflating: OPatch/opatch          
  inflating: OPatch/opatch.bat      
  inflating: OPatch/opatch.pl       
   creating: OPatch/perl_modules/
  inflating: OPatch/perl_modules/Apply.pm 
  inflating: OPatch/perl_modules/AttachHome.pm 
  inflating: OPatch/perl_modules/Command.pm 
  inflating: OPatch/perl_modules/LsInventory.pm 
  inflating: OPatch/perl_modules/Query.pm 
  inflating: OPatch/perl_modules/RollBack.pm 
  inflating: OPatch/perl_modules/Version.pm 
  inflating: OPatch/perl_modules/XML.pm 
  inflating: OPatch/perl_modules/opatchIO.pm 
  inflating: OPatch/README.txt      
   creating: OPatch/ocm/
 extracting: OPatch/ocm/ocm.zip     
   creating: OPatch/ocm/doc/
  inflating: OPatch/ocm/doc/license.txt 
   creating: OPatch/ocm/lib/
  inflating: OPatch/ocm/lib/emocmutl.jar 
   creating: OPatch/ocm/bin/
  inflating: OPatch/ocm/bin/emocmrsp

% cd OPatch
% opatch version

Oracle Interim Patch Installer version 1.0.0.0.58


Copyright (c) 2007 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under


OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com

OPatch Version: 1.0.0.0.58

(This will vary depending on the version installed)

===============================================================
===

3) Now you can set the Opatch directory in your PATH variable so you can execute the
opatch command from anywhere.

Example:
===============================================================
===
For Korn / Bourne shell
% export PATH=$PATH:$ORACLE_HOME/Opatch

For C Shell
% setenv PATH $PATH:$ORACLE_HOME/Opatch

References
Note 224346.1 - Opatch - Where Can I Find the Latest Version of Opatch?
Note 229626.1 - How to apply interim patches and the functionality of opatch on
windows

Help us improve our service. Please email us your comments for this document. .

Das könnte Ihnen auch gefallen