INSTALLING PATCHES ON ORACLE HTTP SERVER(OHS) 11.1.1.9.0 USING OPATCH UTILITY PATCH#21663064

  1. FIRST OF ALL YOU NEED TO KNOW WHAT VERSION OF OHS CURRENTLY INSTALLED IN YOUR ENVIROMENT AND TO DO THAT RUN THE FOLLOWING COMMAND.

GO TO ORACLE_HOME/OPATCH  AND  RUN THE FOLLOWING COMMAND

cd  /u01/Oracle_Web/OPATCH/   RUN  <./opatch lsinventory>  AS SHOWN IN THE SCREEN SHOT.   I HAVE CIRCLED THE OHS VERSION IN GREEN

1

 

2. NEXT YOU NEED TO FIND OUT WHAT PATCHES ARE AVAILABLE  FOR 11.1.1.9.0 FROM ORACLE SUPPORT WEBSITE.

2

3.  FOR THIS VERSION HERE IS WHAT IS AVAILABLE.  I AM RUNNING OHS ON  RED HAT LINUX 64 BIT THEREFORE I HAVE SELECTED 64 BIT PATCH

2

4.  CLICK ON PATCH 21663064 FOR  64 BIT LINUX  AND START DOWNLOADING

4

5. I HAVE KEPT DOWNLOADED PATCH IN /u01/patches  AND UNZIP IT USING  unzip command.  After unzip command completed another folder with the name of 21663064 being created.

5

6. NOW LET’S INSTALL THIS PATCH AND TO DO THIS…  cd 21663064   and run command <opatch apply>  Make sure when you run this command ORACLE_HOME/OPATCH IS IN YOUR PATH

6

Enter yes when you get prompted for ” Is the local system ready for patching [y|n]  …  Once done you will get a message “OPatch succeeded.”  AS  SHOWN BELOW

8

9.  TO DOUBLE CHECK IF PATCH INSTALLED WAS SUCESSFUL YOU CAN LOOK INOT THE LOGS OR YOU CAN ALSO RUN <opatch lspatches>  COMMAND AS SHOW BELOW.  YOU WILL SEE THE INSTALLED PATCH IN THE LIST WHICH I HAVE CIRCLED IT WITH GREEN.

 

10

10.  NOW ROLLING BACK PATCHES QUITE SIMPLE.   RUN THE FOLLOWING COMMAND WITH INSTALLED PATCH NUMBER  </u01/Oracle_Web/OPatch/opatch rollback -id 21663064>

11

11) NOW YOUR PATCH SHOULD BE SUCCESSFULLY ROLLED BACK AND YOU CAN CHECK IT WITH RUNNING  SAME COMMAND <opatch lspatches>

12

NOTICE PATCH 21663064 IS NOT IN THE LIST ANYMORE AND HAS BEEN REMOVED.