ORA-00312: online log 5 thread 1:誤刪standby log 日誌組
2014.9.29
剛剛在做DG切換時,切換做了一半時,手賤把standby log 給rm -rf
本來是想刪掉group 5的,但是操作的順序搞錯了,先執行了rm
結果去SQLl裡面drop group 5的時候報錯
日誌內容 alert.log:
在網上找了一些方法,單都不行。
最後在主庫中drop group 5
成功了!
同時在主庫中重建group 5.
接著shutdown備庫,
startup mount 備庫
應用歸檔,就可以了。
這是現在備庫的日誌
剛剛在做DG切換時,切換做了一半時,手賤把standby log 給rm -rf
本來是想刪掉group 5的,但是操作的順序搞錯了,先執行了rm
結果去SQLl裡面drop group 5的時候報錯
點選(此處)摺疊或開啟
-
SQL> alter database drop logfile group 5;
-
alter database drop logfile group 5
-
*
-
ERROR at line 1:
-
ORA-00313: open failed for members of log group 5 of thread 1
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05b.log\'
-
ORA-27037: unable to obtain file status
-
Linux-x86_64 Error: 2: No such file or directory
-
Additional information: 3
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05a.log\'
-
ORA-27037: unable to obtain file status
-
Linux-x86_64 Error: 2: No such file or directory
- Additional information: 3
點選(此處)摺疊或開啟
-
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_pr00_11168.trc:
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05b.log\'
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05a.log\'
-
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_pr00_11168.trc:
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05b.log\'
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05a.log\'
-
Mon Sep 29 14:39:36 2014
-
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_pr00_11168.trc:
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05b.log\'
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
- ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05a.log\' 這裡說檔案頭有問題,是因為log 5的物理檔案已經不存在了。
最後在主庫中drop group 5
成功了!
同時在主庫中重建group 5.
接著shutdown備庫,
startup mount 備庫
應用歸檔,就可以了。
這是現在備庫的日誌
點選(此處)摺疊或開啟
-
Completed: ALTER DATABASE MOUNT
-
ARC3: Archival started
-
ARC0: STARTING ARCH PROCESSES COMPLETE
-
Mon Sep 29 14:52:48 2014
-
Using STANDBY_ARCHIVE_DEST parameter default value as /u01/app/oradata/prod/archivelog
-
Mon Sep 29 14:52:50 2014
-
SRL log 4 needs clearing because log has not been created
-
RFS[1]: Assigned to RFS process 11426
-
RFS[1]: Selected log 6 for thread 1 sequence 16 dbid 271384494 branch 859556145
-
Mon Sep 29 14:52:50 2014
-
Primary database is in MAXIMUM PERFORMANCE mode
-
Clearing online log 5 of thread 1 sequence number 0
-
Errors in file /u01/app/oracle/diag/rdbms/prod/prod/trace/prod_arc3_11415.trc:
-
ORA-00367: checksum error in log file header
-
ORA-00315: log 5 of thread 1, wrong thread # 0 in header
-
ORA-00312: online log 5 thread 1: \'/u01/app/oradata/standbylog/redo05a.log\'
-
RFS[2]: Assigned to RFS process 11428
-
RFS[2]: No standby redo logfiles available for thread 1
-
Archived Log entry 32 added for thread 1 sequence 16 ID 0x102ccae0 dest 1:
-
RFS[2]: No standby redo logfiles available for thread 1
-
RFS[2]: Opened log for thread 1 sequence 17 dbid 271384494 branch 859556145
-
Mon Sep 29 14:54:49 2014
-
Archived Log entry 33 added for thread 1 sequence 17 rlc 859556145 ID 0x102ccae0 dest 2:
-
SRL log 4 needs clearing because log has not been created
-
RFS[2]: Selected log 5 for thread 1 sequence 18 dbid 271384494 branch 859556145
-
Mon Sep 29 14:55:56 2014
-
SRL log 4 needs clearing because log has not been created
-
RFS[2]: Selected log 6 for thread 1 sequence 19 dbid 271384494 branch 859556145
-
Mon Sep 29 14:55:56 2014
-
Archived Log entry 34 added for thread 1 sequence 18 ID 0x102ccae0 dest 1:
-
Mon Sep 29 14:57:23 2014
-
RFS[2]: No standby redo logfiles available for thread 1
-
RFS[2]: Opened log for thread 1 sequence 20 dbid 271384494 branch 859556145
-
Mon Sep 29 14:57:23 2014
-
Archived Log entry 35 added for thread 1 sequence 19 ID 0x102ccae0 dest 1:
-
Mon Sep 29 14:59:01 2014
-
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION
-
Attempt to start background Managed Standby Recovery process (prod)
-
Mon Sep 29 14:59:01 2014
-
MRP0 started with pid=27, OS id=11462
-
MRP0: Background Managed Standby Recovery process started (prod)
-
started logmerger process
-
Mon Sep 29 14:59:06 2014
-
Managed Standby Recovery starting 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/oradata/prod/archivelog/1_16_859556145.dbf
-
Media Recovery Log /u01/app/oradata/prod/archivelog/1_17_859556145.dbf
-
Media Recovery Log /u01/app/oradata/prod/archivelog/1_18_859556145.dbf
-
Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION
-
Media Recovery Log /u01/app/oradata/prod/archivelog/1_19_859556145.dbf
-
Recovery created file /u01/app/oradata/prod/prod/tt.dbf
-
Successfully added datafile 6 to media recovery
-
Datafile #6: \'/u01/app/oradata/prod/prod/tt.dbf\'
- Media Recovery Waiting for thread 1 sequence 20 (in transit)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016712/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-00312: online log 3 thread 1: '/oracle/oradata/hundsun/redo03.log'threadOracle
- mysql binlog日誌刪除MySql
- 線上重建redo log日誌組
- 【REDO】刪除REDO LOG重做日誌組後需要手工刪除對應的日誌檔案
- SQL Server ErrorLog 錯誤日誌SQLServerError
- Oracle11g redo log 建立、新增、刪除(重做日誌組,重做日誌檔案)Oracle
- Log日誌
- MySQL 正確刪除 binlog 日誌MySql
- Thread 1 cannot allocate new log, sequence NNN 錯誤thread
- Oracle DG 出現 RFS[6]: No standby redo logfiles created for thread 1Oraclethread
- 開啟PHP的錯誤log日誌PHP
- SQL Server實現Standby --日誌傳送(Log Shipping)SQLServer
- oracle LOGICAL standby 日誌無法應用處理Oracle
- Dataguard環境修改主庫和standby庫online redo log&standby redo log大小
- Oracle 聯機重做日誌檔案(ONLINE LOG FILE)Oracle
- Weblogic日誌Web
- log 日誌原理
- listener_scan1.log、listener.log監聽日誌清理
- MogDB/openGauss誤刪未歸檔的xlog日誌如何解決
- mysql 誤刪除表內資料,透過binlog日誌恢復MySql
- [zt]Logical STANDBY日誌應用延遲案例一則
- 2、MySQL錯誤日誌(Error Log)詳解MySqlError
- MySQL四種日誌binlog/redolog/relaylog/undologMySql
- 【Mysql】三大日誌 redo log、bin log、undo logMySql
- 【shell 指令碼】刪除/var/log 下的日誌指令碼
- Thread 1 cannot allocate new logthread
- Python 日誌(Log)Python
- Logminer日誌挖掘
- 附加日誌(supplemental log)
- logminr 日誌挖掘
- Logstash日誌蒐集
- logmnr 日誌挖掘
- 日誌挖掘 log miner
- LOGMINER日誌分析
- Log 工具列印日誌
- nginx error_log 錯誤日誌配置說明NginxError
- MySQL 日誌系統 redo log、binlogMySql
- 如何安全刪除mysql下的binlog日誌薦MySql