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




You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

7 Responses to “Upgrading Oracle Clusterware: [INS-40406] The installer detects no existing Oracle Grid Infrastructure software on the system”

  1. Oracle dba Says:

    [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.

  2. Oracle dba Says:

    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:

  3. usn Says:

    Is the specified Oracle Home in the oraInventory?

  4. Oracle dba Says:

    Following are the contents which are present in
    inventory.xml

    10.2.0.1.0
    2.1.0.6.0

  5. Oracle dba Says:

    10.2.0.1.0
    2.1.0.6.0

  6. Oracle dba Says:

    How to paste XML file here…???
    I want to paste inventory.xml file content.

  7. usn Says:

    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

Leave a Reply