ORA-00265: instance re…

来源:互联网 发布:windows平板刷机 编辑:程序博客网 时间:2024/05/29 02:47

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
FixedSize                 2232960 bytes
VariableSize           1912606080 bytes
DatabaseBuffers        1409286144 bytes
RedoBuffers              16326656 bytes
Database mounted.
SQL>

 

SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannotset 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
FixedSize                 2232960 bytes
VariableSize           1912606080 bytes
DatabaseBuffers        1409286144 bytes
RedoBuffers              16326656 bytes
Database mounted.
SQL>

 

SQL> alter database archivelog;

Database altered.

SQL>

 

 

0 0
原创粉丝点击