Skip to content

Commit fd8fb5c

Browse files
authored
Add files via upload
1 parent 193ddc6 commit fd8fb5c

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
layout: post
3+
title: "ADG SWITCHOVER Switching to New Standby Reports Password File Mismatch"
4+
excerpt: "After the original primary issued alter database switchover to escfsdb;, the new primary started normally.
5+
The new standby (original primary) started MRP and reported the following error: MRP0:Background Media Recovery terminated with error 46952"
6+
date: 2025-08-26 15:00:00 +0800
7+
categories: [ORA-46952, Oracle, Database]
8+
tags: [mismtch for password, oracle]
9+
image: /assets/images/posts/ADG-SWITCHOVER-Switching-to-New-Standby-Reports-Password-File-Mismatch.jpg
10+
---
11+
12+
## Problem Description
13+
Oracle 12.2 RAC ADG switchover primary/standby switch.
14+
After the original primary issued `alter database switchover to escfsdb;`, the new primary started normally.
15+
The new standby (original primary) started MRP and reported the following error:
16+
```
17+
MRP0:Background Media Recovery terminated with error 46952
18+
2023-09-17T00:09:43.472636+08:00
19+
Errors in file /u01/app/oracle/diag/rdbms/ef/ef1/trace/ef1_pr00_221142.trc:
20+
ORA-46952:standby database format mismtch for password file '+DATAC1/ef/PASSWORD/pwdef.359.1001353187'
21+
```
22+
23+
## Analysis
24+
Primary, DB alert log
25+
```
26+
Starting ORACLE instance (normal) (OS id: 214994)
27+
2023-09-17T00:08:51.478593+08:00
28+
CLI notifier numLatches:131 maxDescs:5068
29+
2023-09-17T00:08:51.481305+08:00
30+
31+
2023-09-17T00:08:51.481378+08:00
32+
Dump of system resources acquired for SHARED GLOBAL AREA (SGA)
33+
34+
...
35+
36+
2023-09-17T00:09:22.805928+08:00
37+
replication_dependency_tracking turned off (no async multimaster replication found)
38+
Physical standby database opened for read only access.
39+
Completed: ALTER DATABASE OPEN /* db agent *//* {1:25046:29480} */
40+
41+
...
42+
43+
2023-09-17T00:09:42.104231+08:00
44+
Archived Log entry 747327 added for thread 1 sequence 187866 rlc 1001353316 ID 0xf03f7b79 LAD2 :
45+
2023-09-17T00:09:42.454884+08:00
46+
Completed: alter database recover managed standby database using current logfile disconnect from session
47+
2023-09-17T00:09:42.510539+08:00
48+
49+
...
50+
51+
2023-09-17T00:09:43.353601+08:00
52+
Media Recovery Waiting for thread 2 sequence 184825 (in transit)
53+
2023-09-17T00:09:43.357045+08:00
54+
Recovery of Online Redo Log: Thread 2 Group 31 Seq 184825 Reading mem 0
55+
Mem# 0: +DATAC1/ef/ONLINELOG/group_31.443.1011206587
56+
MRP0: Background Media Recovery terminated with error 46952
57+
2023-09-17T00:09:43.472636+08:00
58+
Errors in file /u01/app/oracle/diag/rdbms/ef/ef1/trace/ef1_pr00_221142.trc:
59+
ORA-46952: standby database format mismatch for password file '+DATAC1/ef/PASSWORD/pwdef.359.1001353187' <<<<<<< Here
60+
2023-09-17T00:09:43.474426+08:00
61+
Managed Standby Recovery not using Real Time Apply
62+
2023-09-17T00:09:43.755738+08:00
63+
Clearing online redo logfile 3 complete
64+
Clearing online redo logfile 4 +DATAC1/ef/ONLINELOG/group_4.372.1001353523
65+
```
66+
This phenomenon of ours is a good match for "Standby Database MRP Fails With ORA-46952: Standby Database Format Mismatch For Password ( Doc ID 2503352.1 )". The final solution is to copy the password file from the primary database to the standby database.
67+
68+
## Solution
69+
1- Rename all password files on standby.
70+
2- Start the archive apply:
71+
```
72+
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
73+
```
74+
3- Copy the password file from production node 1 to standby.
75+
Since version 12.2 is already out of premier support, it is recommended to upgrade to version 19c as soon as possible. Thank you.
76+
77+
## REFERENCE INFORMATION
78+
Standby Database MRP Fails With ORA-46952: Standby Database Format Mismatch For Password (Doc ID 2503352.1)

0 commit comments

Comments
 (0)