Thursday, February 9, 2012

Issue >> ERROR : The ias home "" is not registered in the inventory

Apps : 11.5.10.2 (One Node)
DB : 10.2.0.4 64bit (One Node)
Activity : Jan'12 CPU patching on IAS Oracle Home
Patch to be applied : 5700129



Issue : While applying CPU patching we faced issue. Extracted few lines which are related to the issue.

Executing command : grep /kirang/product/iAS /kirang/product/oraInventory/ContentsXML/inventory.xml | wc -l
Command result : 0
ERROR : The ias home "" is not registered in the inventory at /kirang/product/oraInventory
ERROR : The file /kirang/product/oraInventory/ContentsXML/inventory.xml should have an entry for


Observed the "/kirang/product/oraInventory/ContentsXML/inventory.xml" and found that it has Development entries



Cause of the Issue :
++++++++++++

This customer having DEV,TEST instances along with Productions. There has been a refresh from DEV to Test and left some DEV traces on Test.
"inventory.xml" is one of the file which still having Dev Instance entries.


Since our work is on Test and its unable to map the $IAS_ORACLE_HOME.


Solution :
+++++++++

1) Take backup of "/kirang/product/oraInventory/ContentsXML/inventory.xml"

2) Change the Dev entries to Test

changed entries from Dev to Test...
rwxr-xr-x 1 apkirang aakirang 399 Feb 9 13:45 /kirang/product/oraInventory/ContentsXML/inventory.xml_bkp
-rwxrwxrwx 1 apkirang aakirang 399 Feb 9 13:45 /kirang/product/oraInventory/ContentsXML/inventory.xml
[AMD64] apkirang@kiranginni > diff /kirang/product/oraInventory/ContentsXML/inventory.xml /kirang/product/oraInventory/ContentsXML/inventory.xml_bkp
10c10
<
---
>
[AMD64] apkirang@kiranginni >




Thanks
Kiran G

No comments:

Post a Comment