Solved

standby-activation

Posted on 2011-03-20
4
444 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.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
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 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.
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.

743 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

15 Experts available now in Live!

Get 1:1 Help Now