ITPub博客

首页 > 数据库 > Oracle > Ora00265

Ora00265

原创 Oracle 作者:zhangsharp20 时间:2015-01-28 17:12:00 0 删除 编辑

SQL> alter database archivelog;

alter database archivelog

*

ERROR at line 1:

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

原因为上次库非正常关闭导致数据库处于不一致状态,重新启动实例到mount状态即可

SQL> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount

ORACLE instance started.

 

Total System Global Area  167772160 bytes

Fixed Size                  1218316 bytes

Variable Size              71305460 bytes

Database Buffers           92274688 bytes

Redo Buffers                2973696 bytes

Database mounted.

SQL> alter database archivelog;

 

Database altered.

 

SQL>

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

上一篇: ORA-16179
请登录后发表评论 登录
全部评论

注册时间:2014-08-12

  • 博文量
    382
  • 访问量
    801420