ORA-00265: instance recovery required, cannot set ARCHIVELOG
2016-02-01 09:47
218 查看
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>
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>
相关文章推荐
- UIPickerView 循环滚动(一种假象)
- UICollectionView如果在数据不够一屏时上下滚动
- iOS应用开发中UIView添加边框颜色及设置圆角边框的方法
- 【代码笔记】对UIView进行截图
- 【代码笔记】对UIView进行截图
- PowerBuilder预防数据库死锁相关处理
- Lintcode: Segment Tree Query
- Lintcode: Segment Tree Build
- Divide and conquer:Sumsets(POJ 2549)
- UISlider用法总结
- iOS开发篇——UITextField
- iOS UIProgressView控件用法
- PAT1101. Quick Sort
- 微博UI
- HOWTO build additional kernel modules for Android
- 理解 Android Build 系统
- How To Build CyanogenMod Android for smartphone
- batman-adv——B.A.T.M.A.N. Advanced quick start guide
- (OK) 完整编译android 4.4源码—问题—CSSValueKeywords.cpp—CSSPropertyNames.cpp
- (NOT OK) How To Build CyanogenMod Android for Motorola Defy ("jordan")