在搭建完从库后,在alert中出现下面的提示
Errors in file /home/oracle/app/diagxxxxrc:
ORA-00313: open failed for members of log group 10 of thread 1
ORA-00312: online log 10 thread 1: ‘xxxstdby02a.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 10 thread 1: ‘xxxstdby02b.log’
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
提示standby的日志文件丢失
处理:
1停止同步
alter database recover managed standby database cancel;
2
SQL> select group#, dbid, sequence#, archived, status from v$standby_log;
GROUP# DBID SEQUENCE# ARCHIV STATUS
---------- ------------------------------------------------------------------------