阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Oracle 11g RAC启动报错ORA-01102: cannot mount database in EXCLUSIVE mode

96次阅读
没有评论

共计 1959 个字符,预计需要花费 5 分钟才能阅读完成。

启动 Oracle 11g RAC 数据库时出现以下错误。只能启动其中一个节点, 另一个节点启动不了。可能是以前修改 cluster_database 这个参数引起的。在 Oracle RAC 架构这个参数必须设置为 TRUE。

错误信息:
ORA-01102: cannot mount database in EXCLUSIVE mode

解决方法:
rac1 节点:
SQL> show parameter cluster_database;
NAME                                TYPE        VALUE
———————————— ———– ——————————
cluster_database                    boolean    FALSE
cluster_database_instances          integer    1
SQL> alter system set cluster_database=true scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  830930944 bytes
Fixed Size                  2257800 bytes
Variable Size            566234232 bytes
Database Buffers          260046848 bytes
Redo Buffers                2392064 bytes
Database mounted.
Database opened.
SQL> select open_mode from v$database;
OPEN_MODE
——————–
READ WRITE
SQL> show parameter cluster_database;
NAME                                TYPE        VALUE
———————————— ———– ——————————
cluster_database                    boolean    TRUE
cluster_database_instances          integer    2
SQL>

rac2 节点:
[oracle@rac2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 29 10:14:16 2016
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-01102: cannot mount database in EXCLUSIVE mode  – 没有修改参数前报错, 修改后启动成功
SQL> startup
ORACLE instance started.

Total System Global Area  830930944 bytes
Fixed Size                  2257800 bytes
Variable Size            599788664 bytes
Database Buffers          226492416 bytes
Redo Buffers                2392064 bytes
Database mounted.
Database opened.
SQL> select open_mode from v$database;
OPEN_MODE
——————–
READ WRITE
SQL> show parameter cluster_database;
NAME                                TYPE        VALUE
———————————— ———– ——————————
cluster_database                    boolean    TRUE
cluster_database_instances          integer    2
SQL>

更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址 :http://www.linuxidc.com/Linux/2016-10/135746.htm

正文完
星哥说事-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计1959字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中