Almost not worthy to write it down, but I’m blogging, so go for it.. Grid Control agent gave some troubles,

patched this with Opatch. But it didn’t help, got wourse.

Decided to rollback the Opatch. Gave me “OPatch failed with error code 73″ , actions or inventory does not exist.

Complete error:

oracle@uthlontw:~/media/agent/6780904> /software/oracle/product/10.2/OPatch/opatch rollback -id 5632264
Invoking OPatch 10.2.0.3.0

Oracle interim Patch Installer version 10.2.0.3.0
Copyright (c) 2005, Oracle Corporation.  All rights reserved..

Oracle Home       : /software/oracle/product/GC10g/agent10g
Central Inventory : /software/oracle/oraInventory
from           : /etc/oraInst.loc
OPatch version    : 10.2.0.3.0
OUI version       : 10.2.0.4.0
OUI location      : /software/oracle/product/GC10g/agent10g/oui
Log file location : /software/oracle/product/GC10g/agent10g/cfgtoollogs/opatch/opatch2009-03-11_16-20-52PM.log

Failed to load the patch object.  Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = /software/oracle/product/GC10g/agent10g/inventory/oneoffs/5632264
Details = PatchObject constructor: Input file “/software/oracle/product/GC10g/agent10g/inventory/oneoffs/5632264/etc/config/actions” or “/software/oracle/product/GC10g/agent10g/inventory/oneoffs/5632264/etc/config/inventory” does not exist.

RollbackSession failed: PatchObject constructor: Input file “/software/oracle/product/GC10g/agent10g/inventory/oneoffs/5632264/etc/config/actions” or “/software/oracle/product/GC10g/agent10g/inventory/oneoffs/5632264/etc/config/inventory” does not exist.
System intact, OPatch will not attempt to restore the system

But:  the files are there , and with the extension .xml !  Renamed the files , deleted the extension, performed the rollback again: no problem.

Very sloppy of the Opatch…

m4s0n501