升级11.2.0.3.7单实例grid和db的时候db没有报错但是在升级grid的时候却报了如下的错误:
[root@11gasm ~]# /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch auto /u01/patch -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /u01 -patchn patch -ocmrf /u01/app/11.2.0/grid/OPatch/ocm/bin/ocm.rsp -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
/u01/app/11.2.0/grid/crs/install/crsconfig_params
/u01/app/11.2.0/grid/crs/install/s_crsconfig_defs
This is the main log file: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2013-08-28_22-04-48.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2013-08-28_22-04-48.report.log
2013-08-28 22:04:48: Starting Oracle Restart Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Enter 'yes' if you have unzipped this patch to an empty directory to proceed (yes/no):yes
patch /u01/patch/16619898/custom/server/16619898 apply successful for home /u01/app/oracle/product/11.2.0/db_1
Successfully unlock /u01/app/11.2.0/grid
patch /u01/patch/16619898 apply failed for home /u01/app/11.2.0/grid
CRS-4123: Oracle High Availability Services has been started.
从提示上来看也不算是明显的错误只能查看日志“/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2013-08-28_22-04-48.log“了其中的错误如下:
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2013-08-28_21-39-40PM_1.log
Verifying environment and performing prerequisite checks...
Prerequisite check "CheckSystemSpace" failed.
The details are:
Required amount of space(6598.426MB) is not available.
UtilSession failed:
Prerequisite check "CheckSystemSpace" failed.
Log file location: /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2013-08-28_21-39-40PM_1.log
OPatch failed with error code 73
现在问题应该很明显了应该是空间不足了,在进一步的去看日志”/u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2013-08-28_21-39-40PM_1.log“如下:
[Aug 28, 2013 9:39:44 PM] Required amount of space(6598.426MB) is not available.
[Aug 28, 2013 9:39:44 PM] Prerequisite check "CheckSystemSpace" failed.
The details are:
Required amount of space(6598.426MB) is not available.
[Aug 28, 2013 9:39:44 PM] OUI-67073:UtilSession failed:
Prerequisite check "CheckSystemSpace" failed.
结果增加/u01所在的盘的空间搞定。