Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11g rac startup error ORA-01102: cannot mount database in EXCLUSIVE mode

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The following error occurred when starting oracle 11g rac database. Only one node can be started, but the other node cannot be started, which may be caused by previously modifying the parameter cluster_database. In oralc rac schemas, this parameter must be set to TRUE.

Error message:

ORA-01102: cannot mount database in EXCLUSIVE mode

Solution:

Rac1 node:

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 node:

[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-an error is reported before the parameter is modified, and the startup is successful after modification

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 >

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report