1)升级OPatch到11.2.0.3.0(老版本的为11.2.0.1.7不适合安装补丁)
-bash-3.00$ unzip p6880880_112000_SOLARIS64.zip

Archive:    p6880880_112000_SOLARIS64.zip

     creating: OPatch/

     creating: OPatch/oplan/

    inflating: OPatch/oplan/README.html    

    inflating: OPatch/oplan/README.txt    

     creating: OPatch/oplan/jlib/

    inflating: OPatch/oplan/jlib/oplan.jar    

    inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar    

    inflating: OPatch/oplan/jlib/automation.jar    

    inflating: OPatch/oplan/jlib/OsysModel.jar    

    inflating: OPatch/oplan/jlib/EMrepoDrivers.jar    

     creating: OPatch/oplan/jlib/apache-commons/

    inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar    

     creating: OPatch/oplan/jlib/jaxb/

    inflating: OPatch/oplan/jlib/jaxb/activation.jar    

    inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar    

    inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar    

    inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar    

    inflating: OPatch/oplan/jlib/osysmodel-utils.jar    

    inflating: OPatch/oplan/jlib/CRSProductDriver.jar    

    inflating: OPatch/oplan/oplan            

     creating: OPatch/docs/

    inflating: OPatch/docs/FAQ                

    inflating: OPatch/docs/Users_Guide.txt    

    inflating: OPatch/docs/Prereq_Users_Guide.txt    

     creating: OPatch/jlib/

    inflating: OPatch/jlib/opatch.jar    

    inflating: OPatch/jlib/opatchsdk.jar    

    inflating: OPatch/jlib/oracle.opatch.classpath.jar    

    inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar    

    inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar    

     creating: OPatch/opatchprereqs/

     creating: OPatch/opatchprereqs/opatch/

    inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml    

    inflating: OPatch/opatchprereqs/opatch/rulemap.xml    

    inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml    

     creating: OPatch/opatchprereqs/oui/

    inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml    

    inflating: OPatch/opatchprereqs/prerequisite.properties    

    inflating: OPatch/opatch                    

    inflating: OPatch/opatch.bat            

    inflating: OPatch/opatch.pl                

    inflating: OPatch/opatch.ini            

    inflating: OPatch/opatchdiag            

    inflating: OPatch/opatchdiag.bat    

    inflating: OPatch/emdpatch.pl            

    inflating: OPatch/README.txt            

     creating: OPatch/ocm/

     creating: OPatch/ocm/bin/

    inflating: OPatch/ocm/bin/emocmrsp    

     creating: OPatch/ocm/doc/

     creating: OPatch/ocm/lib/

    inflating: OPatch/ocm/lib/emocmclnt-14.jar    

    inflating: OPatch/ocm/lib/emocmclnt.jar    

    inflating: OPatch/ocm/lib/emocmcommon.jar    

    inflating: OPatch/ocm/lib/http_client.jar    

    inflating: OPatch/ocm/lib/jcert.jar    

    inflating: OPatch/ocm/lib/jnet.jar    

    inflating: OPatch/ocm/lib/jsse.jar    

    inflating: OPatch/ocm/lib/log4j-core.jar    

    inflating: OPatch/ocm/lib/osdt_core3.jar    

    inflating: OPatch/ocm/lib/osdt_jce.jar    

    inflating: OPatch/ocm/lib/regexp.jar    

    inflating: OPatch/ocm/lib/xmlparserv2.jar    

extracting: OPatch/ocm/ocm.zip            ls



    inflating: OPatch/ocm/ocm_platforms.txt    

     creating: OPatch/crs/

     creating: OPatch/crs/log/

extracting: OPatch/crs/log/dummy        

    inflating: OPatch/crs/auto_patch.pl    

    inflating: OPatch/crs/crsconfig_lib.pm    

    inflating: OPatch/crs/crsdelete.pm    

    inflating: OPatch/crs/crspatch.pm    

    inflating: OPatch/crs/installPatch.excl    

    inflating: OPatch/crs/oracss.pm        

    inflating: OPatch/crs/patch112.pl    

    inflating: OPatch/crs/s_crsconfig_defs    

    inflating: OPatch/crs/s_crsconfig_lib.pm    

-bash-3.00$mv OPatch/ $ORACLE_HOME/11.2.0.3
2)应用补丁
-bash-3.00$ $ORACLE_HOME/11.2.0.3/OPatch/opatch apply -local

Oracle Interim Patch Installer version 11.2.0.3.0

Copyright (c) 2012, Oracle Corporation.    All rights reserved.





Oracle Home             : /data3/oracle/product/11.2.0.3

Central Inventory : /data3/oraInventory

     from                     : /data3/oracle/product/11.2.0.3/oraInst.loc

OPatch version        : 11.2.0.3.0

OUI version             : 11.2.0.3.0

Log file location : /data3/oracle/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-10-30_21-14-24PM_1.log



Verifying environment and performing prerequisite checks...

OPatch continues with these patches:     13343438    13696216    13923374    14275605    



Do you want to proceed? [y|n]

y

User Responded with: Y

All checks passed.

Provide your email address to be informed of security issues, install and

initiate Oracle Configuration Manager. Easier for you if you use your My

Oracle Support Email address/User Name.

Visit http://www.oracle.com/support/policies.html for details.

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]:    

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 = '/data3/oracle/product/11.2.0.3')





Is the local system ready for patching? [y|n]

y

User Responded with: Y

Backing up files...

Applying sub-patch '13343438' to OH '/data3/oracle/product/11.2.0.3'



Patching component oracle.rdbms.rsf, 11.2.0.3.0...



Patching component oracle.rdbms, 11.2.0.3.0...



Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...



Verifying the update...

Applying sub-patch '13696216' to OH '/data3/oracle/product/11.2.0.3'



Patching component oracle.rdbms.rsf, 11.2.0.3.0...



Patching component oracle.rdbms, 11.2.0.3.0...



Patching component oracle.sdo.locator, 11.2.0.3.0...



Patching component oracle.sysman.console.db, 11.2.0.3.0...



Patching component oracle.sysman.oms.core, 10.2.0.4.4...



Verifying the update...

Applying sub-patch '13923374' to OH '/data3/oracle/product/11.2.0.3'

ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.3.0 ]    not present in the Oracle Home or a higher version is found.



Patching component oracle.rdbms.rsf, 11.2.0.3.0...



Patching component oracle.rdbms, 11.2.0.3.0...



Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...



Patching component oracle.network.rsf, 11.2.0.3.0...



Patching component oracle.network.listener, 11.2.0.3.0...



Patching component oracle.sysman.console.db, 11.2.0.3.0...



Verifying the update...

Applying sub-patch '14275605' to OH '/data3/oracle/product/11.2.0.3'

ApplySession: Optional component(s) [ oracle.precomp.lang, 11.2.0.3.0 ]    not present in the Oracle Home or a higher version is found.



Patching component oracle.network.client, 11.2.0.3.0...



Patching component oracle.network.rsf, 11.2.0.3.0...



Patching component oracle.precomp.common, 11.2.0.3.0...



Patching component oracle.rdbms, 11.2.0.3.0...



Patching component oracle.rdbms.dbscripts, 11.2.0.3.0...



Patching component oracle.rdbms.rman, 11.2.0.3.0...



Patching component oracle.rdbms.rsf, 11.2.0.3.0...



Patching component oracle.rdbms.util, 11.2.0.3.0...



Verifying the update...



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:

ld: warning: symbol `_start' has differing types:

                (file /data3/oracle/product/11.2.0.3/lib/prod/lib/v9/crt1.o type=FUNC; file /data3/oracle/product/11.2.0.3/lib//libserver11.a(skds.o) type=OBJT);





Composite patch 14275605 successfully applied.

OPatch Session completed with warnings.

Log file location: /data3/oracle/product/11.2.0.3/cfgtoollogs/opatch/opatch2012-10-30_21-14-24PM_1.log



OPatch completed with warnings.

-bash-3.00$
3)查看opatch版本情况
bash-3.00$ .$ORACLE_HOME/product/11.2.0.3/OPatch/opatch lsinventory

Invoking OPatch 11.2.0.3.0

Oracle Interim Patch Installer version 11.2.0.3.0

Copyright (c) 2009, Oracle Corporation.    All rights reserved.

Oracle Home             : $ORACLE_HOME/product/ora920

Central Inventory : /data/oraInventory

     from                     : /var/opt/oracle/oraInst.loc

OPatch version        : 11.2.0.3.0

OUI version             : 11.2.0.3.4

OUI location            : $ORACLE_HOME/product/ora920/oui

Log file location : $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/opatch2012-09-24_16-10-50PM.log

Patch history file: $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : $ORACLE_HOME/product/ora920/cfgtoollogs/opatch/lsinv/lsinventory2012-09-24_16-10-50PM.txt

--------------------------------------------------------------------------------

Installed Top-level Products (1):

Oracle Database 11g                                                                                                    11.2.0.3.4

There are 1 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------

OPatch succeeded.