首页 > 其他 > 详细

ORA-00265: instance recovery required, cannot set ARCHIVELOG

时间:2016-02-01 13:50:25      阅读:187      评论:0      收藏: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>

ORA-00265: instance recovery required, cannot set ARCHIVELOG

原文:http://www.cnblogs.com/hankyoon/p/5174506.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!