ORA-10458,ORA-01196,ORA-01110处理
2016-03-01 21:24
302 查看
事情起因:是因为主备dg机器要换新位置,运维直接关机搬服务器修改ip地址,系统起来后,备库启动报错.
ORA-10458: standby database requires recovery
ORA-01196: file 1 is inconsistent due to a failed media recovery session
ORA-01110: data file 1: '/u01/app/oracle/oradata/rong/system01.dbf'
原因:日志的scn跟控制文件不一致导致
处理步骤:
1:分别修改tns里对应主备的ip地址为新地址
2:主库可以正常启动,备库启动到mount状态,启动监听,tnsping测试互通
3:备库启用日志应用
alter database recover managed standby database disconnect from session;
alert日志有如下应用日志的提示
Attempt to start background Managed Standby Recovery process (rong)
Tue Mar 01 15:14:56 2016
MRP0 started with pid=26, OS id=3933
MRP0: Background Managed Standby Recovery process started (rong)
started logmerger process
Tue Mar 01 15:15:01 2016
Managed Standby Recovery not using Real Time Apply
Parallel Media Recovery started with 24 slaves
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Log /u01/app/arch/1_137_899302231.dbf
Media Recovery Waiting for thread 1 sequence 138
Completed: alter database recover managed standby database disconnect from session
并会根据gap里差的日志一致应用到最新的归档
当看到 in transit字样说明已经到最新日志了
Media Recovery Log /u01/app/arch/1_142_899302231.dbf
Media Recovery Waiting for thread 1 sequence 143 (in transit)
4:停止应用日志
alter database recover managed standby database cancel
5:启动到open并再次应用日志
alter database open
alter database recover managed standby database using current logfile disconnect from session;
Mos上的参考文档
Open Standby Database Fails due to ORA-1110/ORA-1196/ORA-10458 (文档 ID 2047793.1)
Problem happens with following conditions.
Physical Standby Database
Standby Database is terminated
Standby Controlfile is re-created or restored from backup
Try to Open Standby Database as READ ONLY mode
CAUSE
This is an expected limitation.
When Standby Database is terminated and standby controlfile must be restored, crash recovery is required
to open Standby Database as READ ONLY.
But datafiles remains as FUZZY, and it is not recoverable.
Solution
Restore backup of all datafiles and control files when standby controlfile must be restored and the
Standby Database crashed before
ORA-10458: standby database requires recovery
ORA-01196: file 1 is inconsistent due to a failed media recovery session
ORA-01110: data file 1: '/u01/app/oracle/oradata/rong/system01.dbf'
原因:日志的scn跟控制文件不一致导致
处理步骤:
1:分别修改tns里对应主备的ip地址为新地址
2:主库可以正常启动,备库启动到mount状态,启动监听,tnsping测试互通
3:备库启用日志应用
alter database recover managed standby database disconnect from session;
alert日志有如下应用日志的提示
Attempt to start background Managed Standby Recovery process (rong)
Tue Mar 01 15:14:56 2016
MRP0 started with pid=26, OS id=3933
MRP0: Background Managed Standby Recovery process started (rong)
started logmerger process
Tue Mar 01 15:15:01 2016
Managed Standby Recovery not using Real Time Apply
Parallel Media Recovery started with 24 slaves
Waiting for all non-current ORLs to be archived...
All non-current ORLs have been archived.
Media Recovery Log /u01/app/arch/1_137_899302231.dbf
Media Recovery Waiting for thread 1 sequence 138
Completed: alter database recover managed standby database disconnect from session
并会根据gap里差的日志一致应用到最新的归档
当看到 in transit字样说明已经到最新日志了
Media Recovery Log /u01/app/arch/1_142_899302231.dbf
Media Recovery Waiting for thread 1 sequence 143 (in transit)
4:停止应用日志
alter database recover managed standby database cancel
5:启动到open并再次应用日志
alter database open
alter database recover managed standby database using current logfile disconnect from session;
Mos上的参考文档
Open Standby Database Fails due to ORA-1110/ORA-1196/ORA-10458 (文档 ID 2047793.1)
Problem happens with following conditions.
Physical Standby Database
Standby Database is terminated
Standby Controlfile is re-created or restored from backup
Try to Open Standby Database as READ ONLY mode
CAUSE
This is an expected limitation.
When Standby Database is terminated and standby controlfile must be restored, crash recovery is required
to open Standby Database as READ ONLY.
But datafiles remains as FUZZY, and it is not recoverable.
Solution
Restore backup of all datafiles and control files when standby controlfile must be restored and the
Standby Database crashed before
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/61604/viewspace-2021591/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/61604/viewspace-2021591/
相关文章推荐
- ORA-10458 ORA-01196故障处理
- [置顶] Oracle 11.2.0.3.0 Active Data Guard 遇 ORA-10458、ORA-01152、ORA-01110 错误
- ORA-10458:ORA-01157:ORA-01110: and ORA-01668:
- ORA-01122,ORA-01110:ORA-01200错误处理
- ORA-16004 ORA-01196 ORA-01110
- 处理ora-01578 ora-01110错误
- ORA-00376/ORA-01110 故障处理办法
- ORACLE 11G 配置DG 报ORA-10458、ORA-01152、ORA-01110
- DATAGUARD环境ORA-01111、ORA-01110处理
- DATAGUAR备库无法OPEN报ORA-10458:ORA-01152:ORA-01110
- 数据库ORA-01196(ORA-10458/ORA-01110)错误解决方法
- Oracle 11.2.0.3.0 Active Data Guard 遇 ORA-10458、ORA-01152、ORA-01110 错误
- ORA-01110 错误处理
- UNDO表空间损坏处理案例(ORA-01110)
- ORA-01122,ORA-01110:ORA-01200错误处理
- ORA-00376: file 202 cannot be read at this time ORA-01110: data file 202故障处理
- Oracle RAC ORA-01157 ORA-01110 ORA-27041问题分析处理
- 数据库报:ORA-01196(ORA-10458/ORA-01110)错误的解决方法
- oracle排序报错“ORA-01722: 无效数字”处理
- ORA-00845: MEMORY_TARGET not supported on this system 报错处理