ITPub博客

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

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

原创 Oracle 作者:jichengjie 时间:2014-04-17 15:19:36 0 删除 编辑

由于一开始非正常关闭造成信息不一致,遇到此报错.
当重新打开数据库,使数据文件,控制文件,日志文件同步后,既可修改归档模式

[oracle@rac1 oracle]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.3.0 Production on Thu Apr 17 07:00:37 2014

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

SQL> connect / as sysdba
Connected.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.

Total System Global Area  630501376 bytes
Fixed Size                  2230992 bytes
Variable Size             209716528 bytes
Database Buffers          411041792 bytes
Redo Buffers                7512064 bytes
Database mounted.
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode


SQL> alter database open
  2  ;

Database altered.

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

Total System Global Area  630501376 bytes
Fixed Size                  2230992 bytes
Variable Size             213910832 bytes
Database Buffers          406847488 bytes
Redo Buffers                7512064 bytes
Database mounted.
SQL> alter database archivelog;

Database altered.

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

上一篇: emc存储相关简称
下一篇: ogg简单配置
请登录后发表评论 登录
全部评论
成为全能!

注册时间:2012-04-10

  • 博文量
    167
  • 访问量
    502029