?
Solved

standby-activation

Posted on 2011-03-20
4
Medium Priority
?
451 Views
Last Modified: 2012-08-14


alter system set dg_broker_start=FALSE;
system altered
select current_scn from v$database;
current_SCN
10883204


SQL> alter database recover managed standby database cancel;
alter database recover managed standby database cancel
*
ERROR at line 1:
ORA-01665: control file is not a standby control file

Could you please help me to resolve the error..
While activation of standby..in order to cancel managed recovery
0
Comment
Question by:nobleit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 35177952
can you select database_role from v$database on the standby database and see whether this was a standby database at all first?
0
 

Author Comment

by:nobleit
ID: 35180643
set oracle_sid=oracle

Then the output of three commands are
alter system set dg_broker_start=FALSE;
system altered
select current_scn from v$database;
current_SCN
10883204

SQL> select database_role from v$database;

DATABASE_ROLE                                                                  
----------------                                                                
PRIMARY                                                                        
0
 
LVL 8

Accepted Solution

by:
Chakravarthi Ayyala earned 2000 total points
ID: 35182929
if this is the database you have been thinking as standby, it is not as it is clearly saying in the output that this is the primary database.

did you have FSFO(fast start failover) in place?
if yes, do you think the switchover ever happened automatically?
please check your alert logs on both primary and standby, then you will know.
0
 

Author Comment

by:nobleit
ID: 35213518
Please do not close..
Please give me more time
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question