Monday, September 14, 2009

Opatch - Inventory check failed

# Applying a patch with opatch, but it fails to register the patch in the inventory.

Verifying the update...
Inventory check failed: Patch ID 6705822 is NOT registered in Oracle Home inventory.

# The logfile shows the following :-

WARNING: Home:/opt/oracle/product/10.2.0/db_2 has conflicting information present in the inventory at /opt/oracle/oraInventory/Contents
WARNING: Please delete the /opt/oracle/oraInventory/Contents directory to avoid inventory update failures

# fix was to rename the Contents directory, and run clone.pl to recreate it.