Sunday 30 March 2014

opatch prereq CheckConflictAgainstOHWithDetail -ph ./

Issue: Error while checking the Conflict of the opatch
[oracle@TEST 17478415]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.  All rights reserved.
PREREQ session
Oracle Home       : /data/oracle/db/tech_st/11.2.0
Central Inventory : /data/oracle/db/tech_st/11.2.0/admin/oui/CLONE_test/oraInventory
   from           : /data/oracle/db/tech_st/11.2.0/oraInst.loc
OPatch version    : 11.2.0.3.5
OUI version       : 11.2.0.3.0
Log file location : /data/oracle/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-03-27_08-27-56AM_1.log
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail"not executed
Unable to create Patch Object.
Exception occured : PatchObject constructor: Input file "/data/oracle/17478415/etc/config/actions" or "/data/oracle/17478415/etc/config/inventory" does not exist.


Solution:
[oracle@TEST 17478415]$ export PATH=$PATH:/usr/ccs/bin
[oracle@TEST1 17478415]$ export PATH=$PATH:/data/oracle/db/tech_st/11.2.0/OPatch
[oracle@TEST 17478415]$ opatch prereq CheckConflictAmongPatchesWithDetail -phBaseDir /data/oracle/17478415
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation.  All rights reserved.
PREREQ session
Oracle Home       : /data/oracle/db/tech_st/11.2.0
Central Inventory : /data/oracle/db/tech_st/11.2.0/admin/oui/CLONE_test/oraInventory
   from           : /data/oracle/db/tech_st/11.2.0/oraInst.loc
OPatch version    : 11.2.0.3.5
OUI version       : 11.2.0.3.0
Log file location : /data/oracle/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2014-03-27_08-34-55AM_1.log
Invoking prereq "checkconflictamongpatcheswithdetail"
Prereq "checkConflictAmongPatchesWithDetail" passed.
OPatch succeeded.

No comments:

Post a Comment