Upgrading Oracle Clusterware: [INS-40406] The installer detects no existing Oracle Grid Infrastructure software on the system
Upgrading Oracle Grid Infrastructure 11.2 (it’s just another marketing name for the Oracle Clusterware, formerly known as Cluster Ready Services CRS) usually is easy: The runInstaller offers an upgrade mode, and discovers nodes and versions without further effort.
But what, if not? The message will be “[INS-40406] The installer detects no existing Oracle Grid Infrastructure software on the system” and runInstaller just refuses to continue.
Finally I found out, that the culprit may be in the
“$ORACLE_BASE/../oraInventory/ContentxXML/inventory.xml” file. The Clusterware home may not be flagged as CRS there (CRS=”true” missing):
<HOME NAME="Ora11g_gridinfrahome2" LOC="/u01/app/11.2.0/grid"
TYPE="O" IDX="6" CRS="true">
<NODE_LIST>
<NODE NAME="bs-klugdb1"/>
<NODE NAME="bs-klugdb2"/>
</NODE_LIST>
To repair it, the GI runInstaller has an UpdateNodeList parameter, so the command in this case looked like:
./runInstaller -updateNodeList
ORACLE_HOME="/u01/app/11.2.0/grid" CRS=true
Well, that’s it. Easy if you know, and worth 3 hours of nighttime research, if not.
Have a good uptime
Martin
July 19th, 2012 at 10:52 am
[oracle@vmlinux1 bin]$ ./runInstaller -updateNodeList ORACLE_HOME=”/u01/app/oracle/product/crs” CRS=true
Starting Oracle Universal Installer…
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /etc/oraInventory
The Oracle home ‘/u01/app/oracle/product/crs’ could not be detached as it does not exist.
‘UpdateNodeList’ failed.
July 19th, 2012 at 10:53 am
While upgrading RAC 10.2.0.5 to 11.2.0.3 we are facing the same error(INS-40406) but:
In our case CRS=true is there in inventory.xml file
And getting the above error while running ./runInstaller:
July 19th, 2012 at 3:59 pm
Is the specified Oracle Home in the oraInventory?
July 20th, 2012 at 6:53 am
Following are the contents which are present in
inventory.xml
10.2.0.1.0
2.1.0.6.0
July 20th, 2012 at 6:55 am
10.2.0.1.0
2.1.0.6.0
July 20th, 2012 at 7:03 am
How to paste XML file here…???
I want to paste inventory.xml file content.
August 8th, 2012 at 7:58 am
Unfortunately this blog has a suboptimal comment editor. I’m working on it, but in the meantime you can try to paste a screenshot.
Sorry
Usn