补丁Exception occured : PatchObject constructor: Input file...does not exist

到补丁包的目录下检测补丁冲突,虽然success了,但是明显是有报错的
[oracle@lzl liu]$ cd 20760997/
[oracle@lzl 20760997]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/11.2
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11.2/cfgtoollogs/opatch/opatch2017-07-30_00-42-52AM.log

Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" not executed
Unable to create Patch Object.
Exception occured : PatchObject constructor: Input file "/home/oracle/liu/20760997/etc/config/actions" or "/home/oracle/liu/20760997/etc/config/inventory" does not exist.

OPatch succeeded.
从这里可以看到/etc/config,第一眼以为是os上的/etc目录,其实应该是patch中/etc/config目录
[oracle@lzl config]$ pwd
/home/oracle/liu/20760997/20760997/etc/config

目录调整:
[oracle@lzl 20760997]$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir /home/oracle/liu/20760997/20760997/
Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/11.2
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11.2/cfgtoollogs/opatch/opatch2017-07-30_01-20-45AM.log

Invoking prereq "checkconflictamongpatcheswithdetail"

Prereq "checkConflictAmongPatchesWithDetail" passed.

再次检测冲突
[oracle@lzl 20760997]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Invoking OPatch 11.2.0.1.7

Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation.  All rights reserved.

PREREQ session

Oracle Home       : /u01/app/oracle/product/11.2
Central Inventory : /u01/app/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 11.2.0.1.7
OUI version       : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11.2/cfgtoollogs/opatch/opatch2017-07-30_01-20-52AM.log

Invoking prereq "checkconflictagainstohwithdetail"

Prereq "checkConflictAgainstOHWithDetail" passed.

OPatch succeeded.
正常通过

参考MOS文档
opatch prereq CheckConflict fails with Exception occured : PatchObject constructor:Input file does not exist (文档 ID 788181.1)

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/31461640/viewspace-2142782/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/31461640/viewspace-2142782/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值