[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
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
相关文章推荐
- ORACLE数据库DBMS_JOB的创建与使用
- oracle-构造结果集
- Oracle操作数据库oracleHelper
- mybatis执行批量更新batch update 的方法(oracle,mysql)
- oracle的io优化--db_writer_processes & dbwr_io_slaves对比
- 新浪 SDK编码规范
- mybatis反向生成表 oracle数据库篇
- [转]DBCP连接池的最简单应用(用于ORACLE数据库)
- sqlserver、mysql、oracle各自的默认端口号
- oracle 11g里边有scott用户,且脚本scott.sql无错 SQL> conn scott 输入口令: ERROR: ORA-01017: invalid username/passwor
- oracle的merge into操作详解
- oracle拼接字符串
- JDBC连接oracle数据库,批量保存大量数据,有关commit总结
- oracle-创建dblink
- django oracle 配置问题
- Oracle数据库用户、表、表空间之间关系
- 连接Oracle11g时报错ORA-12541: TNS: 无监听程序
- Linux系统(X64)安装Oracle11g完整安装图文教程另附基本操作
- Record is locked by another user --Oracle行锁解锁
- Oracle 下载(Oracle10g下载地址--多平台下的32位和64位 )