RHEL6.8_X86_RAC平台升级补丁报错(11204.7)
报错1
2016-09-23 05:27:33: The apply patchoutput is Oracle Interim Patch Installer version 11.2.0.3.10
Copyright (c) 2016, Oracle Corporation. All rights reserved.
Oracle Home :/u01/app/oracle/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
from :/u01/app/oracle/product/11.2.0/dbhome_1/oraInst.loc
OPatch version : 11.2.0.3.10
OUI version : 11.2.0.4.0
Log file location :/u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch3016-09-23_05-27-26AM_1.log
Verifying environment and performingprerequisite checks...
Prerequisite check "CheckActiveFilesAndExecutables"failed.
The details are:
Following executables are active :
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1
UtilSession failed: Prerequisite check"CheckActiveFilesAndExecutables" failed.
Log file location:/u01/app/oracle/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch3016-09-23_05-27-26AM_1.log
OPatch failed with error code 73
2016-09-23 05:27:33: patch/tmp/20996923/20760982 apply failed for home /u01/app/oracle/product/11.2.0/dbhome_1
解决:升级之前把所有的sqlplus关掉,不然报错。
报错2
[root@db1 tmp]#/u01/app/11.2.0/grid/OPatch/opatch auto /tmp/21523375 -ocmrf /tmp/ocm.rsp
Executing/u01/app/11.2.0/grid/perl/bin/perl/u01/app/11.2.0/grid/OPatch/crs/patch21203.pl -patchdir /tmp -patchn 21523375-ocmrf /tmp/ocm.rsp -paramfile/u01/app/11.2.0/grid/crs/install/crsconfig_params
This is the main log file:/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-09-24_15-02-14.log
This file will show your detectedconfiguration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-09-24_15-02-14.report.log
2016-09-24 15:02:14: StartingClusterware Patch Setup
Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_params
The opatch Component check failed. Thispatch is not applicable for /u01/app/oracle/product/11.2.0/dbhome_1
The opatch Component check failed. Thispatch is not applicable for /u01/app/oracle/product/11.2.0/dbhome_1
Conflict check failed for oraclehome /u01/app/oracle/product/11.2.0/dbhome_1
Conflict check failed
ERROR: Conflict-Check has failed .Please refer to/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-09-24_15-02-14.log for details
opatch auto failed.
[root@ckrydb1 tmp]#
解决方法
按照提示查看日志,发现以下目录oracle用户无权限,修改对应目录权限,确保两节点该目录均有权限。
[root@db1 grid]# ls -ldcfgtoollogs/
drwx------ 7 grid oinstall 4096 Sep 2415:08 cfgtoollogs/
[root@db1 grid]# chmod 775cfgtoollogs
[root@db1 grid]#
[root@db1 grid]# ls -ldcfgtoollogs/
drwxrwxr-x 7 grid oinstall 4096 Sep 2415:08 cfgtoollogs/
[root@db1 grid]#
报错3
RMAN恢复数据库启动数据库至nomount状态报错
RMAN-04014: startup failed: ORA-00845:MEMORY_TARGET not supported on this system
解决:memory_target 不能大于/dev/shm