GI OPatch升级 The opatch Component check failed. This patch is not applicable for...
Oracle11gr2RAC(11204)打补丁11.2.0.4.8,系统为:SuSE11sp3 X86_64
通过/u01/app/11.2.0/grid/OPatch/opatch auto /tmp/21523375 -ocmrf /tmp/ocm.rsp 同时对ORACLE_HOME,GI_HOME同时升级。出现如下报错:
jason1:/u01/app/11.2.0/grid/OPatch # /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/patch11203.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-01-20_12-38-42.log
This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2016-01-20_12-38-42.report.log
2016-01-20 12:38:42: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
The opatch Component check failed. This patch is not applicable for /u01/app/oracle/product/11.2.0/dbhome_1
The opatch Component check failed. This patch is not applicable for /u01/app/oracle/product/11.2.0/dbhome_1
Conflict check failed for oracle home /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-01-20_12-38-42.log for details
opatch auto failed.
jason1:/u01/app/11.2.0/grid/OPatch #
查看opatchauto2016-01-20_12-38-42.log日志,发现如下报错。
2016-01-20 12:39:40: Running as user oracle: /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckComponents -ph /tmp/21523375/21352635 -oh /u01/app/oracle/product/11.2.0/dbhome_1 -customLogDir /u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core
2016-01-20 12:39:40: s_run_as_user2: Running /bin/su oracle -c ' /u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckComponents -ph /tmp/21523375/21352635 -oh /u01/app/oracle/product/11.2.0/dbhome_1 -customLogDir /u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core '
2016-01-20 12:39:41: Removing file /tmp/file9jNagp
2016-01-20 12:39:41: Successfully removed file: /tmp/file9jNagp
2016-01-20 12:39:41: /bin/su exited with rc=1
2016-01-20 12:39:41: The opatch Component check failed. This patch is not applicable for /u01/app/oracle/product/11.2.0/dbhome_1
2016-01-20 12:39:41: The component check failed with following error
2016-01-20 12:39:41: Input custom log directory "/u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core" does not exists or not a valid directory.
OPatch failed with error code 1
..............................省略.................................................
根据日志提示切换到oracle用户下执行以下语句
/u01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch prereq CheckComponents -ph /tmp/21523375/21352635 -oh /u01/app/oracle/product/11.2.0/dbhome_1 -customLogDir /u01/app/11.2.0/grid/cfgtoollogs/opatchauto/core
报错提示没有权限,查看该目录权限,发现只有grid用户拥有权限,修改权限。
jason1:/u01/app/11.2.0/grid # ll -ld cfgtoollogs
drwx------ 7 grid oinstall 4096 Jan 20 12:40 cfgtoollogs
jason1:/u01/app/11.2.0/grid # chmod 777 cfgtoollogs/
jason1:/u01/app/11.2.0/grid # ll -ld cfgtoollogs/
drwxrwxrwx 7 grid oinstall 4096 Jan 20 12:44 cfgtoollogs/
jason1:/u01/app/11.2.0/grid #
修改为目录权限后,再次执行打补丁成功。同样方法查看jason2节点,修改对应目录权限
jason2:/u01/app/11.2.0/grid # ll -ld cfgtoollogs
drwx------ 7 grid oinstall 4096 Jan 20 12:40 cfgtoollogs
jason2:/u01/app/11.2.0/grid # chmod 777 cfgtoollogs/
jason2:/u01/app/11.2.0/grid # ll -ld cfgtoollogs/
drwxrwxrwx 7 grid oinstall 4096 Jan 20 12:44 cfgtoollogs/
jason2:/u01/app/11.2.0/grid #
opatch成功!
转载于:https://blog.51cto.com/369day/1737248
GI OPatch升级 The opatch Component check failed. This patch is not applicable for...相关推荐
- PSU的GI升级,ERROR: This patch is not applicable to GI home.
对 grid 和 oracle 的 $ORACLE_HOME/.patch_storage 目录进行赋权,否则可能会报错: ERROR: This patch is not applicable to ...
- 一次误操作导致的gi psu升级失败
一次误操作导致的gi psu升级失败 oracle使用opatch auto的方式安装gi psu时需要一个节点一个节点来,昨晚的升级中,因为误操作而是两节点同时安装gi psu,最终在补丁安装完成后 ...
- 深度学习问题解决:Check failed: stream-parent()-GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogra
前言 深度学习不仅理论很难,同时在使用的时候也有各种各样的坑. 正文 2018-07-05 14:39:19.028426: E T:\src\github\tensorflow\tensorflow ...
- 解决npm 的 shasum check failed for错误
使用npm安装一些包失败,类似如下报错情况: C:\Program Files\nodejs>npm update npm npm ERR! Windows_NT 10.0.14393 npm ...
- Java (1.7) could not be located. OPatch cannot proceed! OPatch returns with error code = 1
An error occurred after upgrade Opatch Opatch升级到12.2.0.1.23完成, 执行opatch会报错 opatch version ./opatch: ...
- windows7下解决caffe check failed registry.count(type) == 1(0 vs. 1) unknown layer type问题
在Windows7下调用vs2013生成的Caffe静态库时经常会提示Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer t ...
- mxnet dmlc-core\src\io\local_filesys.cc: Check failed: allow_null
mxnet加载模型设计文件,报错了 sym = mx.sym.load(args.symbol_path) local_filesys.cc:209: Check failed: allow_null ...
- caffe 报错 Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encounteredcaffe
caffe 报错 Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered 训练时候 ...
- Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
pycharm调用cuda时报错: Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERRO ...
最新文章
- 用DataReader还是DataSet?
- 数梦工场联手阿里云 推出大数据一体机
- 计算相机采集帧率C实现
- 服务器负载均衡的部署方式
- 第二节 -- python的基础语法
- ETL异构数据源Datax_数据准备_03
- HTML列表标记符有哪些,在HTML中,表格标记符为( )
- FMCW毫米波雷达原理
- Intel 64/x86_64/IA-32/x86处理器指令集 - CPUID (2) - 起源
- 【Flink】flink1.11报错No ExecutorFactory found to execute the application
- strnpy函数的用法
- java解压缩和shell_shell 文件的归档和压缩
- 【心电信号】基于matlab GUI心电信号数字滤波处理【含Matlab源码 1067期】
- 使用 Metasploit 利用 MySQL 默认空密码或弱密码漏洞 (CVE-2002-1809, CNNVD-200212-263, CVE-1999-0502)
- python 爬虫 美女_Python3爬取美女妹子图片
- 打造立体文案矩阵库之二:直复式营销文案
- 医学图像分割之肝脏分割(2D)
- 杀毒软件巨头荣光不复 瑞星信息去年亏损7300万元
- C/C++项目:魂斗罗游戏
- Elasticsearch常见报错和处理方法
热门文章
- coreos 搭建PHP,Linux_用Mac在CoreOS上搭建WordPress的教程,作者以自己的Mac笔记本为例, - phpStudy...
- android meminfo,Android中dumpsys meminfo与/proc/meminfo获取空闲内存不一致的问题
- editplus查找文件中的字符串
- mysql字符型数字 按大小排序,类似if判断函数
- VB 一行代码的诀窍
- 获取网关IP和MAC 的VB源码
- Linux操作系统Ifconfig命令详细解析
- 任何时候都不要轻易满仓
- 前腾讯AI Lab主任张潼加盟创新工场,出任港科大创新工场联合实验室主任
- 从没见过干净图片,英伟达AI就学会了去噪大法 | ICML论文