Solved

standby-activation

Posted on 2011-03-20
4
446 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
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:ReliableDBA
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:
ReliableDBA 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Encryption Decryption in Oracle 12 117
history tablespace temp usage 2 38
join 2 views with 5 conditions 3 54
grant user/role question 11 25
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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 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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now