In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.