签到成功

知道了

CNDBA社区CNDBA社区

ORA-00313, ORA-00312, ORA-27037 in Standby Database [ID 601835.1]

2016-11-25 15:45 2102 0 原创 Oracle 故障处理
作者: dave

ORA-00313, ORA-00312, ORA-27037 in Standby Database [ID 601835.1]


 

Modified 20-APR-2009     Type PROBLEM     Status MODERATED

 http://www.cndba.cn/Dave/article/556

In this Document
  Symptoms
  Cause
  Solution
  References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.4
This problem can occur on any platform.

Symptoms

Following errors in alert.log of standby database during startup of the standby database:

ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: '/u03/oradata/prod/redo01b.log'
ORA-27037: unable to obtain file status

Cause

Online Redo logs missing on standby database.

Solution

You can safely ignore these messages. Online redo logs will be created automatically when you activate the standby after switchover or failover.

If you want to fix these messages then please use following steps: 

1.  Check and set "log_file_name_convert" parameter if the location of log files are different on primary and standby.

SQL> alter system set log_file_name_convert = "'<location on primary>','<location on standby>'" scope=spfile; http://www.cndba.cn/Dave/article/556

If you are using pfile then set the parameter in init file after shutting down the database:

*.log_file_name_convert = '<location on primary>','<location on standby>'http://www.cndba.cn/Dave/article/556

For 10gR2 only : Set this parameter even if the location of the redo logs are same on both primary and standby otherwise you may get ORA-19527 and ORA-312 while or after implementing the below steps.
This is due to internal bug in 10.2.

2.  Cancel Managed Recovery process on the standby:

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; http://www.cndba.cn/Dave/article/556

3.  Execute the command to clear all log groups on standby for each log group (for each log group):http://www.cndba.cn/Dave/article/556

SQL>alter database clear logfile group 1; http://www.cndba.cn/Dave/article/556

4.  Check the v$log view to confirm the size and status.

5.  Recreate standby redo logs on standby (only if standby Redo logs are also missing) using:

(a) Drop the standby redo logfile group(s) (check v$standby_log)

SQL> alter database drop standby logfile group 4; http://www.cndba.cn/Dave/article/556

http://www.cndba.cn/Dave/article/556

 (b) Recreate the standby logfile group(s) http://www.cndba.cn/Dave/article/556

SQL> alter database add standby logfile group 4 ('/u03/redo/stby01.log') size 50m;

 

References

BUG:4724888 - DATAGUARD ERROR IN 10.2
NOTE:185076.1 - Standby Redo Logs are not Created when Creating a 9i Data Guard DB with RMAN
NOTE:352879.1 - ORA-19527 reported in 10gR2 Standy database


 

 

 

http://www.cndba.cn/Dave/article/556

------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware

网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977()

DBA3 群:62697850   DBA 超级群:63306533;    

聊天 群:40132017

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2272
    原创
  • 3
    翻译
  • 579
    转载
  • 194
    评论
  • 访问:8143163次
  • 积分:4383
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ