ITPub博客

首页 > 数据库 > Oracle > ORA-00265: instance recovery required, cannot set ARCHIVELOG mode

ORA-00265: instance recovery required, cannot set ARCHIVELOG mode

原创 Oracle 作者:zzh_ds 时间:2017-05-17 12:34:07 0 删除 编辑
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


从错误我们能够看到是由于datafile、controlfile、redolog中的scn号不一样导致
无法开启归档,那么导致该问题的解决办法是由于我重新启动数据库到mount的时候
采用的是startup force mount;由于这个命令实际上是做了两步操作分别列如以下:
1:startup force
2:startup mount


SQL>alter database open;


Database altered.


SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.


Total System Global Area  830930944 bytes
Fixed Size                  2257800 bytes
Variable Size             536874104 bytes
Database Buffers          289406976 bytes
Redo Buffers                2392064 bytes
Database mounted.
SQL> alter database archivelog;


Database altered.


SQL> alter database open;


Database altered.


SQL> 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31399171/viewspace-2139215/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 块跟踪
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2016-09-29

  • 博文量
    61
  • 访问量
    47809