ORA-12720: operation requires database is in EXCLUSIVE mode

PROBLEM

When I try to create an controlfile for a RAC database using the CONTROLFILE Trace. I was throw with the below error message

SQL> @c.sql

CREATE CONTROLFILE REUSE DATABASE "XE1" RESETLOGS FORCE LOGGING ARCHIVELOG

*

ERROR at line 1:

ORA-01503: CREATE CONTROLFILE failed

SOLUTION

After analyzing the issue, I found that cluster_database parameter needs to be set as FALSE. So I am proceeding with the change.

SQL> alter system set cluster_database=FALSE scope=spfile sid=‘*‘;

System altered.

SQL> shutdown abort;

ORACLE instance shut down.

SQL>

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options

STARTING THE DATABASE

$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.2.0 Production on Fri Nov 11 14:30:58 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup nomount

ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance

ORACLE instance started.

Total System Global Area 1.4431E+10 bytes

Fixed Size                  2240272 bytes

Variable Size            3892314352 bytes

Database Buffers         1.0503E+10 bytes

Redo Buffers               34148352 bytes

SQL> @c.sql

Control file created.

Once the controlfile created and open the database, I have change the parameter to TRUE

SQL> alter system set cluster_database=TRUE scope=spfile sid=‘*‘;

Once you issue the command, you need to bounce the DB.

时间: 2024-08-01 16:11:47

ORA-12720: operation requires database is in EXCLUSIVE mode的相关文章

(转)Windows Error 740 – The Requested Operation Requires Elevation

Windows Error 740 – The Requested Operation Requires Elevation What Does Error 740 Mean? If you are experiencing an error 740 message in Windows Vista or Windows 7 when trying to launch an application, it means the software was installed (or has been

ORA-15221: ASM operation requires compatible.asm of 11.2.0.0.0 or higher

昨天在做存储迁移的时候,对ASM磁盘组的东西进行操作时,出现了如标题的错误.经查资料,发现原因如下: 如磁盘组是使用asmca图形化工具创建,则compatible.asm默认设置就已经为11.2,如使用CREATE DISKGROUP这个SQL命令创建,则默认设置为10.1,需要手动修改.因此,需要先手工进行设置版本,指令如下:    SQL> alter diskgroup oradg set attribute 'COMPATIBLE.ASM'='11.2'; ORA-15221: ASM

RAC环境下控制文件损坏重建过程

处理过程参考了: https://blogs.oracle.com/Database4CN/entry/%E5%A6%82%E4%BD%95%E9%87%8D%E5%BB%BArac%E7%9A%84%E6%8E%A7%E5%88%B6%E6%96%87%E4%BB%B6 问题现象: 现场有学校提报 登录PL/SQL连接数据库是报错“ORA-12541: TNS:无监听程序 ”:排查日志,发现 Tue Nov 25 14:46:58 2014 Thread 2 advanced to log s

删除数据库 - with DROP DATABASE Statement

Oracle 10g 增加了drop database 命令,这样我们删除数据库会方便很多. 不过DROP DATABASE还是有一定的限制条件的: 一些错误 1.ORA-01586: database must be mounted EXCLUSIVE and not open for this operationSQL> conn / as sysdbaConnected.SQL> drop database;drop database*ERROR at line 1:ORA-01586:

oracle 10g 数据库字符集更改

1.更改数据库字符集为GBK SHUTDOWN IMMEDIATE; STARTUP MOUNT EXCLUSIVE; ALTER SYSTEM ENABLE RESTRICTED SESSION;ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;ALTER SYSTEM SET AQ_TM_PROCESSES=0;ALTER DATABASE OPEN;ALTER DATABASE NATIONAL CHARACTER SET AL16UTF16; 更改国际字符集

racle 11g impdp时 报ORA-12899

racle 11g impdp时 报ORA-12899 (2012-07-16 16:42:12) 转载▼ 标签: oracle imp impdp it 分类: oracle技术-开发 源库ZHS16BGK,汉字在数据库存放的时候占用两个字节 目标库UTF8,汉字在数据库里存放的时候占用三个字节 由于字符集不同,导致现在数据库impdp的时候有些表的字段长度不够,出现ORA-12899: value too large for column的错误. 解决办法:更改数据库字符集为GBK SHUT

测试库中文字符集乱码 PLsql报错中有乱码、有问号???等问题

测试库中文字符集乱码PLsql报错中有乱码.有问好???等问题,是字符集导致sqlplus /nologconn / as sysdbastartup 1.查询数据库中的字符集设置SQL> select userenv('language') from dual;USERENV('LANGUAGE') AMERICAN_AMERICA.WE8MSWIN12522.修改数据库的字符集SQL> ALTER DATABASE character set INTERNAL_USE ZHS16GBK;

Oracle存储过程报错ORA-02069: global_names parameter must be set to TRUE for this operation

今天开发给发邮件过来说一个存储过程想通过dblink往目标库insert数据,但报错ORA-02069: global_names parameter must be set to TRUE for this operation,想让我根据错误提示在数据库上修改global_names参数修改为True. 先来看看官方文档是如何介绍这个参数的: GLOBAL_NAMES specifies whether a database link is required to have the same

backup1:backup database

一,使用 BACKUP Database 命令创建数据库的完整备份和差异备份.1,syntax --Backing Up a Whole Database BACKUP DATABASE database_name TO <backup_device> [ ,...n ] [ WITH { DIFFERENTIAL | <general_WITH_options> [ ,...n ] } ] [;] <backup_device>::= { logical_device