Apply Oracle July CPU patch

Last month, I Posted about Oracle CPU Patches also called as Critical patch Update or security Patch Update.
You can access that Post or Overview of CPU from below link

Today & in my future posts I am going to cover How to Apply these patches in your Applications. You might be having following applications
Oracle Application Server ( 9i , 10g )
Oracle Collaboration Suite ( 9i or 10g )
Oracle E-Business Suite ( 11i )
Standalone Database (8i, 9i, 10g)

The Steps Mentioned in today’s post are specific to Jul 2006 CPU patches for Application Server . This Oct. ( Mid of Month ) Oracle is going to release CPU for Oct 2006 and I’ll Update you as and when they are out.

Common things to remember in almost all of CPU Patches

Order of CPU Patch
First Database
Then Application Tier

Previous CPU Patches
E-Business Suite Patches are non cumulative
Application Server, Database or Collaboration Suite CPU patches are cumulative .

1. Applying JUL CPU for 10g Application Server ( Ver.
1.1 Assumptions while applying patch
Steps mentioned here are for 10g R2 Application Server version
Portal Schema Content is stored in separate Database Version
OID & SSO Database is stored in Database Version
Infrastructure Tier is on separate Host then Middle Tier
Middle Tier & Infrastructure Tier both are on version
In my application architecture , I have three oracle homes , two on machine1 ( oh_1 for database , oh_2 for infrastructure home with another database , third oracle home on machine2 ( oh_3 application Server Middle Tier)
Don’t forget to backup before applying patch as fall back plan
Reference are taken from metalink note # 372930.1

1.2 Order of patches
Based on my configuration my order of patch application will be first database patch on oh_1 for db on machine1
Then apply Infrastructure patch on oh_2 on machine1
Finally apply middle tier patch on oh_3 on machine2

1.3 Exact Steps for applying patches
1.3.1 Apply Database patch
– Login to machine1 under oracle_home1 & need to apply database patch for db version and patch number is 5225798 (This is for Unix) if you are on windows you need 5239698 for 32 bit Windows. If you are on patch # is 5225797 & so on … ( Check Note # mentioned above for exact patch Number )
– Download patch & shutdown services
– Lets assume you have downloaded patch to /u01/patch/cpu/jul06/5225798 then go to this directory & follow readme.txt ( Steps mentioned here from readme.txt)
opatch apply (If you encounter opatch not found then include it in path like export PATH=$PATH/$ORACLE_HOME/OPatch as opatch is in $OH/OPatch Directory)
You should see OPatch succeeded

cd $ORACLE_HOME/cpu/CPUJul2006
sqlplus “/as sysdba”
SQL> startup ( Start database )
SQL> spool catcpu.log (to store output of catcpu.sql in log file)
SQL> @catcpu.sql

and this complete your patch on standalone PORTAL repository database.
Same way you have to apply Jul CPU patch on standalone database .

* If your database version is different than then patch number will vary so check note# mentioned above .

How to Apply CPU patch on Application Server Infrastructure Tier, Middle Tier ..
How to Apply CPU patch on Collaboration Suite Infrastructure & Middle Tier ..
How to apply CPU July patch on E-Business Suite …
Coming in Next Post …….

Share This Post with Your Friends over Social Media!

About the Author AppsDBA

Leave a Comment:

Angrydot says October 11, 2006

Excellent post. Good to see “down in the trenches” Oracle stuff.

One issue I came across – our mid-tier and infra structure tiers are on MS Windows and we needed to logon with the same Windows account that performed the original SW install in order to update/upgrade Oracle Application Server.

Thankfully this account was still there even though the user had long gone.

Anonymous says October 12, 2006

Hi Atul,
Its very useful site for the newbees like me in Apps. Thanks a lot. Keep it Up.

Atul Kumar says October 13, 2006

Hi Angrydot,
I was just wondering if you were not using user who installed Application Server then how were you starting stopping services ?
As what user ?

agostino_neto says November 16, 2006

I supposed that when you are talking of

Atul Kumar says November 17, 2006

Yes Neto,
These are specific to for portal database but these apply to any other database as well.

If you don’t know architecture , ask for architecture diagram from person maintaining it


agostino_neto says November 18, 2006

Apart from asking what the architecture is can we find the architecture ourselves?

Anonymous says November 29, 2006

I want to know How to upgrade Portal to 10.1.2 and from where to start with ? like DB and then iAS etc.

Can you please let me know about this. DB version is showing like:
SQL> select * from v$version;

Oracle9i Enterprise Edition Release – Production
PL/SQL Release – Production
CORE Production
TNS for Solaris: Version – Production
NLSRTL Version – Production

then, what’s the correct version?


Atul Kumar says November 29, 2006

If you could explain me your Application Server architecture , I can explain you how to upgarde .

Though basics steps are

First upgarde Infrastructure Tier & then
Middle Tier

You can check steps at

for Upgrade

rajat says December 15, 2006

hi ,

Will you please tell me CPU critical patch list which i can apply in Oracle 11.5.10 and the steps

Atul Kumar says December 15, 2006

Please follow metalink Note # 391564.1 E-Business Suite Critical Patch Update October 2006 Note

Add Your Reply