重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4667|回复: 0
打印 上一主题 下一主题

[升级] 11g psu 执行报冲突检查失败:ERROR: Conflict-Check has failed

[复制链接]
跳转到指定楼层
楼主
发表于 2015-11-5 23:01:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
rhel6.3 x86-64
oracle 11g r2 11.2.0.4
执行psu 11.2.0.4.8,

一执行:

/u01/app/grid/product/11.2.0/grid/OPatch/opatch auto /u01/setup/patch/21523375 -ocmrf /home/grid/ocm.rsp

执行一会,就报错了:
2015-11-05 17:38:12: Status of component/conflict check  for /u01/app/grid/product/11.2.0/grid is 1
2015-11-05 17:38:12:  Conflict check passes for oracle home  /u01/app/grid/product/11.2.0/grid
2015-11-05 17:38:12: Conflict check failed
2015-11-05 17:38:12: ERROR: Conflict-Check has failed . Please refer to /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2015-11-05_17-37-31.log for details


检查:/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto2015-11-05_17-37-31.log ,发现以下错误:

2015-11-05 17:38:01: Running as user oracle: /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckComponents -ph /u01/setup/patch/21523375/21352649/custom
/server/21352649 -oh /u01/app/oracle/product/11.2.0/db_1 -customLogDir /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto/core

2015-11-05 17:38:01: s_run_as_user2: Running /bin/su oracle -c ' /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch prereq CheckComponents -ph /u01/setup/patch/2152
3375/21352649/custom/server/21352649 -oh /u01/app/oracle/product/11.2.0/db_1 -customLogDir /u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto/core '
2015-11-05 17:38:01: Removing file /tmp/filelkZPUi
2015-11-05 17:38:01: Successfully removed file: /tmp/filelkZPUi
2015-11-05 17:38:01: /bin/su exited with rc=1
2015-11-05 17:38:01: The opatch Component check failed. This patch is not applicable for /u01/app/oracle/product/11.2.0/db_1
2015-11-05 17:38:01: The component check failed with following error
2015-11-05 17:38:01: Input custom log directory "/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto/core" does not exists or not a valid directory.

OPatch failed with error code 1

明明是root用户执行的,这里却是用 oracle用户来执行,通过oracle用户,检查 "/u01/app/grid/product/11.2.0/grid/cfgtoollogs/opatchauto/core"  ,确实会报权限不够


检查发现,ls -ld /u01/app/grid/product/11.2.0/grid/cfgtoollogs 权限为 700,修改为775 后,再去执行psu,问题解决。


chmod 775 /u01/app/grid/product/11.2.0/grid/cfgtoollogs



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-29 03:55 , Processed in 0.088309 second(s), 24 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表