ITPub博客

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

ORA-00265: instance recovery required, cannot set ARCHIVELOG

原创 Oracle 作者:haoge0205 时间:2013-11-28 13:20:41 0 删除 编辑

OS:

Oracle Linux Server release 5.7

DB:

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

SQL> startup mount
ORACLE instance started.

Total System Global Area 3340451840 bytes
Fixed Size 2232960 bytes
Variable Size 1912606080 bytes
Database Buffers 1409286144 bytes
Redo Buffers 16326656 bytes
Database mounted.
SQL>

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


SQL>

SQL> alter database open;

Database altered.

SQL>

SQL> alter system switch logfile;

System altered.

SQL> alter system switch logfile;

System altered.

SQL> alter system switch logfile;

System altered.

SQL>

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

SQL> startup mount
ORACLE instance started.

Total System Global Area 3340451840 bytes
Fixed Size 2232960 bytes
Variable Size 1912606080 bytes
Database Buffers 1409286144 bytes
Redo Buffers 16326656 bytes
Database mounted.
SQL>

SQL> alter database archivelog;

Database altered.

SQL>

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

下一篇: SQL开发 循序渐进
请登录后发表评论 登录
全部评论

注册时间:2013-11-28

  • 博文量
    300
  • 访问量
    1893473