Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

standby-activation

Posted on 2011-03-20
4
Medium Priority
?
456 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

604 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