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

问题:

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



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值