Para fazer atualização do Oracle é necessário fazer login no suporte, para efetuar o downloads dos patchs
Faça o download da última versão do OPatch no My Oracle Support (MOS), referencia:
Patch 6880880
Ou URL:
https://updates.oracle.com/download/6880880.html
2) In the “Platform” field select the relevant platform that corresponds to the Oracle product.
3) Click the Download button
2) Upload the opatch.zip file to your OS host and unzip it:
Example:
% mv p6880880_101000_SOLARIS64.zip $ORACLE_HOME
% cd $ORACLE_HOME
(If a former OPatch directory already exist, then rename it)
% mv Opatch OPatch_100057_OLD
% 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
3)
You can launch OPatch tool by using the absolute path :
ex.:
Or you can set the OPatch directory in your PATH variable so you can execute the OPatch command (opatch <args>) from anywhere without using the absolute path.
ex.:
For Korn / Bourne shell:
% export PATH=$PATH:$ORACLE_HOME/OPatch
For C Shell:
% setenv PATH $PATH:$ORACLE_HOME/OPatch
Pré-requisitos para instalação do Oracle 11gR2 11.2.0.2:
instalar patch de 9655006 para a casa 11.2.0.1 GI antes de atualizar para 11.2.0.2 de 11.2.0.1. Veja Bug 9413827 em MOS.
Crie um diretorio pathes no home do Oracle
como usuario oracle do linux
mkdir $ORACLE_HOME/patches
descompacte o patch 9655006 nesse diretorio. Sera criado mais duas pastas….
vamos testar Dependencias….
cd $ORACLE_HOME/OPatch
./opatch prereq CheckConflictAgainstOHWithDetail -phBaseDir $ORACLE_HOME/patches/
pare o banco com o sqlplus
SQL> shutdown immediate