SOLVED

ORA-01665: Control File Is Not A Standby Control File

Asked by OracleDba12 viewsoracle
1
2
3
4
5
6
7
ORA-01665: Control File Is Not A Standby Control File

PROBLEM:

After restoring standby database from RMAN backup, got below error, while mounting standby database , getting below error.

ORA-01665: control file is not a standby control file
#oracle#error

Solutions(1)

Accepted Solution
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Check the database_role of STANDBY

sql> SELECT database_role FROM v$database;

DATABASE_ROLE

—————-

PRIMARY

Convert to standby database.

sql> Alter database convert to physical standby;

Now mount again:

sql> startup mount;

sql> SELECT database_role FROM v$database;

DATABASE_ROLE

—————-

PHYSICAL STANDBY

Start recovery

sql> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE disconnect from session;
OracleDba

Post Your Solution