[INS-40406] The installer detects no existing Oracle Grid Infrastructure ...

xz43發表於2013-10-23
由於之前升級GI過程沒成功,手動介紹了,本以為刪除升級過程建立的新目錄就OK了,沒想到再次升級執行到第一步就報錯

[INS-40406] The installer detects no existing Oracle Grid Infrastructure software on the system.

Cause - The installer was unable to detect any existing Oracle Clusterware or Oracle ASM installation to upgrade.  Action - You can choose either to install a new Oracle Grid Infrastructure installation (Oracle Clusterware and Oracle ASM) on this node, and add the node to an existing cluster, or you can install a new Oracle Grid Infrastructure installation and make the node part of a new cluster. If you want to add the node to an existing cluster, then review Oracle Clusterware Administration and Deployment Guide and follow the add node procedure. If you want to create a new cluster, then select the option for a new installation.  

安裝程式未檢測到任何要升級的現有 Oracle Clusterware 或 Oracle ASM 安裝。這就奇怪了,如是檢查配置檔案

$ cat /etc/oraInst.loc 
inventory_loc=/app/grid/oraInventory
inst_group=oinstall

如是進入該目錄
$ cd /app/grid/oraInventory/ContentsXML/

檢視 inventory.xml  檔案,發現之前升級過程已修改了這個檔案
# cat inventory.xml 
<!-- Copyright (c) 1999, 2011, Oracle. All rights reserved. --&gt
<!-- Do not modify the contents of this file by hand. --&gt
   11.2.0.3.0
   2.1.0.6.0
   
     
     
   
   
     
     
   
   
     
     
   
如是刪除後面那段多餘的,並把上面grid1 後面加上CRS="true",還有上面的改回11.2.0.1.0 儲存退出(RAC的幾個節點都要修改該配置檔案)。
退出升級後再次執行,這一步成功透過。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9399028/viewspace-774884/,如需轉載,請註明出處,否則將追究法律責任。

相關文章