在安装数据库软件时出现以下情况:
解决方法一:
查看 less /uu/orainventory/contentsxml/inventory.xml文件,文件内容如下:
<?xml version="1.0" standalone="yes" ?>
<!-- copyright (c) 1999, 2009, oracle. all rights reserved. -->
<!-- do not modify the contents of this file by hand. -->
<inventory>
<version_info>
<saved_with>11.2.0.1.0</saved_with>
<minimum_ver>2.1.0.6.0</minimum_ver>
</version_info>
<home_list>
<home name="ora11g_gridinfrahome1" loc="/uu/grid" type="o" idx="1" crs="true"> ---->如果文件中没有这个参数则添加这个参数,再重新进行数据库安装
<node_list>
<node name="rac1"/>
<node name="rac2"/>
</node_list>
</home>
</home_list>
</inventory>
解决方法二:
上诉办法不行:则切换用户为 su - grid
>> cd /uu/grid/oui/bin ---->进入到该目录下,运行下列脚本,--更新inventory文件
>> ./runinstaller -silent -ignoresysprereqs -updatenodelist oracle_home=
"/uu/grid/"
local_node=
"rac1"
cluster_nodes=
"{rac1,rac2}"
crs=
true
name type target state host
------------------------------------------------------------
ora.data.dg ora....up.type online online rac1
ora....er.lsnr ora....er.type online online rac1
ora....n1.lsnr ora....er.type online online rac1
ora.asm ora.asm.type online online rac1
ora.eons ora.eons.type online online rac1
ora.gsd ora.gsd.type offline offline
ora....network ora....rk.type online online rac1
ora.oc4j ora.oc4j.type offline offline
ora.ons ora.ons.type online online rac1
ora....sm1.asm application online online rac1
ora....c1.lsnr application online online rac1
ora.rac1.gsd application offline offline
ora.rac1.ons application online online rac1
ora.rac1.vip ora....t1.type online online rac1
ora.rac2.vip ora....t1.type online online rac1
ora.scan1.vip ora....ip.type online online rac1
查询集群状态的时候有值了。
然后重新安装数据库软件就有节点啦。
如对本文有疑问, 点击进行留言回复!!
Oracle 基本概念 Dadabase,schema,user,table...
dbeaver连接Oracle中文乱码的解决方案--druid
Oracle常用语句(时间格式、去重、去特殊符号、查询表空间等)
Navicate 如何导出数据库中的存储过程、事件、视图等?
每日一记:Oracle升级2020年4月份的数据库补丁Database Patch Set Update : 11.2.0.4.200414 (30670774)
Oracle 19.3 dataguard for Redhat 7.6
网友评论