[oracle@oracle 18031668]$ ls
17478514 18031668 p6880880_112000_Linux-x86-64.zip patchmd.xml README.html README.txt
[oracle@oracle 18031668]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11g
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11g/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch2014-06-28_22-22-09PM_1.log
Verifying environment and performing prerequisite checks...
Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = /u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/
Details = PatchObject constructor: Input file "/u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/etc/config/actions" or "/u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/etc/config/inventory" does not exist.
NApply could not load patch from location ‘/u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/‘
UtilSession failed: PatchObject constructor: Input file "/u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/etc/config/actions" or "/u01/app/oracle/product/11g/.patch_storage/patch_unzip/OPatch/etc/config/inventory" does not exist.
Log file location: /u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch2014-06-28_22-22-09PM_1.log
OPatch failed with error code 73
这个地方出毛病了,原因就在这个压缩包上。把它mv走就可以了
[oracle@oracle 18031668]$ ls
17478514 18031668 p6880880_112000_Linux-x86-64.zip patchmd.xml README.html README.txt
[oracle@oracle 18031668]$ mv p6880880_112000_Linux-x86-64.zip ..
[oracle@oracle 18031668]$ ls
17478514 18031668 patchmd.xml README.html README.txt
[oracle@oracle 18031668]$ opatch apply
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11g
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11g/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch2014-06-28_22-23-18PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 17478514 18031668
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]: y
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = ‘/u01/app/oracle/product/11g‘)
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying sub-patch ‘17478514‘ to OH ‘/u01/app/oracle/product/11g‘
Patching component oracle.rdbms, 11.2.0.4.0...
Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Patching component oracle.sdo, 11.2.0.4.0...
Patching component oracle.sysman.agent, 10.2.0.4.5...
Patching component oracle.xdk, 11.2.0.4.0...
Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
Patching component oracle.sdo.locator, 11.2.0.4.0...
Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
Patching component oracle.xdk.rsf, 11.2.0.4.0...
Patching component oracle.rdbms.rman, 11.2.0.4.0...
Verifying the update...
Applying sub-patch ‘18031668‘ to OH ‘/u01/app/oracle/product/11g‘
Patching component oracle.rdbms, 11.2.0.4.0...
Patching component oracle.rdbms.rsf, 11.2.0.4.0...
Patching component oracle.ldap.rsf, 11.2.0.4.0...
Patching component oracle.rdbms.crs, 11.2.0.4.0...
Patching component oracle.precomp.common, 11.2.0.4.0...
Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
Patching component oracle.rdbms.rman, 11.2.0.4.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:
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/11g/sysman/lib/ins_emagent.mk:113: warning: overriding commands for target `nmosudo‘
/u01/app/oracle/product/11g/sysman/lib/ins_emagent.mk:52: warning: ignoring old commands for target `nmosudo‘
Composite patch 18031668 successfully applied.
OPatch Session completed with warnings.
Log file location: /u01/app/oracle/product/11g/cfgtoollogs/opatch/opatch2014-06-28_22-23-18PM_1.log
OPatch completed with warnings.
[oracle@oracle admin]$ cd $ORACLE_HOME/rdbms/admin
[oracle@oracle admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Sat Jun 28 22:36:44 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @catbundle.sql psu apply
原文地址:http://xiaoyiyi.blog.51cto.com/1351449/1431996