Search This Blog

Monday, November 08, 2004

Applying Opatch on linux for IAS 9.0.4.1

Download the patch from metalink or ARU

p2617419_10102_GENERIC.zip

extract this patch in a directory say $HOME
unzip -d . p2617419_10102_GENERIC.zip

Set the Environment variables
export PATH=$PATH:$HOME/OPatch
export LD_ASSUME_KERNEL=2.4.19

Set the environment variables for the home where you want to
apply the patch set for example ORACLE_HOME , PATH and LD_LIBRARY_PATH etc , and then run the command

opatch lsinventory

After thie copy the patch file for example say ,
p3985227_9041_GENERIC.zip

unzip -d . p3985227_9041_GENERIC.zip
cd 3985227

and then run the command
opatch apply

To check the one-off patches applied run the command ,

opatch lsinventory


Opatch on Windows ,

Download the patch from metalink or ARU
p2617419_10102_GENERIC.zip

and extract this in to a directory say ,
d:\ set PATH=d:\Opatch;%PATH%

set ORACLE_HOME=d:\ias9041

opatch lsinventory -detail
And then go to the directory say ,
cd f:\temp1\3952464
and run the command ,
opatch.bat apply
After this check the output of the command ,
opatch lsinventory -detail

To apply the patch on a Stand Alone OC4J use the following steps ,

set PERL5LIB=d:\ias9041\perl\5.6.1\lib
set ORACLE_HOME=c:\oc4j9041
cd f:\temp1\3952464
and run the command ,

d:\ias9041\perl\5.6.1\bin\MSWin32-x86\perl.exe d:\OPatch\opatch.pl apply -no_inventory -jdk d:\jdk14\bin -oh c:\oc4j9041 -verbose

No comments: