您的位置:首页 > 数据库 > Oracle

[INS-40406] 未检测到现有的 Oracle Grid Infrastructure 软件

2016-05-27 22:20 1706 查看
问题:

11.2.0.3升级到11.2.0.4,报错:



解决:

# cat /etc/oraInst.loc
inventory_loc=/u01/oraInventory

inst_group=oinstall

# pwd
/u01/oraInventory/ContentsXML

# more inventory.xml 
<?xml version="1.0" standalone="yes" ?>

<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.

All rights reserved. -->

<!-- Do not modify the contents of this file by hand. -->

<INVENTORY>

<VERSION_INFO>

   <SAVED_WITH>11.2.0.4.0</SAVED_WITH>

   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>

</VERSION_INFO>

<HOME_LIST>

<HOME NAME="OraDb11g_home1" LOC="/u01/app/product/11.2.0/dbhome_1" TYPE="O" IDX="1"/>

<HOME NAME="Ora11g_gridinfrahome1" LOC="/g01/app/11.2.0/grid" TYPE="O" IDX="2"
CRS="true"
/>   添加CRS="true"

<HOME NAME="OraDb11g_home2" LOC="/u01/app/product/11.2.0.4/dbhome_1" TYPE="O" IDX="3"/>

<HOME NAME="Ora11g_gridinfrahome2" LOC="/g01/app/11.2.0.4/grid" TYPE="O" IDX="4"/>

</HOME_LIST>

<COMPOSITEHOME_LIST>

</COMPOSITEHOME_LIST>

</INVENTORY>

# more /etc/oratab 
#Backup file is  /g01/app/11.2.0/grid/srvm/admin/oratab.bak.sdw1 line added by Agent

#

# This file is used by ORACLE utilities.  It is created by root.sh

# and updated by either Database Configuration Assistant while creating

# a database or ASM Configuration Assistant while creating ASM instance.

# A colon, ':', is used as the field terminator.  A new line terminates

# the entry.  Lines beginning with a pound sign, '#', are comments.

#

# Entries are of the form:

#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:

#

# The first and second fields are the system identifier and home

# directory of the database respectively.  The third filed indicates

# to the dbstart utility that the database should , "Y", or should not,

# "N", be brought up at system boot time.

#

# Multiple entries with the same $ORACLE_SID are not allowed.

#

#

stest:/u01/app/product/11.2.0/dbhome_1:N

#+ASM:/g01/app/11.2.0/grid:N            # line added by Agent
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: