Solved

standby-activation

Posted on 2011-03-20
4
449 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 500 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

726 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