Apply the latest PSU (11.2.0.4.1) – optional
At the time of writing this post, the latest Patch Set Update (PSU) was released in January 2014, that being patch 17478514 for PSU level 11.2.0.4.1.
Download the appropriate PSU from MOS, along with the latest 11.2 OPatch release:
p17478514_112040_Linux-x86-64.zip p6880880_112000_Linux-x86-64.zip
Unzip the OPatch utility to your new ORACLE_HOME, and verify the version number:
export PATH=$PATH:$ORACLE_HOME/OPatch unzip -o /tmp/p6880880_112000_Linux-x86-64.zip -d $ORACLE_HOME opatch version
Unzip the PSU contents to a staging area:
mkdir $ORACLE_HOME/Patches unzip /tmp/p17478514_112040_Linux-x86-64.zip -d $ORACLE_HOME/Patches
Check for any potential patch conflicts (which for a new installation, there shouldn’t be!):
opatch prereq CheckConflictAgainstOHWithDetail -ph ./ -invPtrLoc $ORACLE_HOME/oraInst.loc
Apply the PSU patch:
cd $ORACLE_HOME/Patches/17478514 opatch apply -invPtrLoc $ORACLE_HOME/oraInst.loc ... Email address/User Name: You have not provided an email address for notification of security issues. Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: y Please shutdown Oracle instances running out of this ORACLE_HOME on the local system. (Oracle Home = '/u01/app/oracle/product/11.2.0.4') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Patching component oracle.rdbms, 11.2.0.4.0... ... OPatch found the word "warning" in the stderr of the make command. Please look at this stderr. You can re-run this make command. Stderr output: ins_emagent.mk:113: warning: overriding commands for target `nmosudo' ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo' /u01/app/oracle/product/11.2.0.4/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo' /u01/app/oracle/product/11.2.0.4/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo'
As per MOS note 1448337.1, you can safely ignore OPatch warnings if they’re like the ones above.
Check the inventory to verify the patch has been registered correctly:
$ORACLE_HOME/OPatch/opatch lsinventory -bugs_fixed | grep -i -E 'DATABASE PSU|DATABASE PATCH SET UPDATE' 17478514 17478514 Wed Jan 29 15:39:36 GMT 2014 DATABASE PATCH SET UPDATE 11.2.0.4.1 (INCLUDES CPU...
转载于:https://blog.51cto.com/binuu/1734649