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

jichengjie發表於2014-04-17

由於一開始非正常關閉造成資訊不一致,遇到此報錯.
當重新開啟資料庫,使資料檔案,控制檔案,日誌檔案同步後,既可修改歸檔模式

[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部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-1144102/,如需轉載,請註明出處,否則將追究法律責任。

相關文章