日期:2014-05-16  浏览次数:20424 次

ORA-38760: This database instance failed to turn on flashback database 错误解决过程

ORA-38760: This database instance failed to turn on flashback database  错误解决过程

 

问题现象:
   

      一大早起床把数据库打开,本来想做个测试,结果不料弹出ORA-38760: This database instance failed to turn on flashback database的错误,这个错误很显然是由于flashback导致的错误。


错误分析:

    首先从错误现象来看,是由于flashback打开了,因为flashback文件丢失而无法使用flashback从而后触发了这个错误。那么正常情况下应该是不会报错的。
alter 日志错误信息如下:
Errors in file c:\oracle\product\10.2.0\admin\wwl\bdump\wwl_rvwr_5416.trc:
ORA-38701: 闂洖鏁版嵁搴撴棩蹇?7 搴忓垪 43 绾跨▼ 1: "C:\ORACLE\PRODUCT\10.2.0\FLASH_BACK\WWL\FLASHBACK\O1_MF_7T7O9TKT_.FLB"
ORA-27041: 鏃犳硶鎵撳紑鏂囦欢
OSD-04002: unable to open file
O/S-Error: (OS 3) 系统找不到指定的路径。


解决办法:

    因为删除了flashback文件,在数据库open的时候turn on flashback database失败,故将database flashback属性先置为off将数据库Open,再重新trun on flashback 后数据库即可打开.


过程如下:

SQL> startup
ORACLE instance started.

Total System Global Area 1610612736 bytes
Fixed Size                  2066080 bytes
Variable Size             419432800 bytes
Database Buffers         1174405120 bytes
Redo Buffers               14708736 bytes
Database mounted.
ORA-38760: This database instance failed to turn on flashback database


临时关闭flashbak 启动数据库。
SQL> alter database flashback off;
Database altered.


SQL> alter database open;
Database altered.


再次开启flashbak后启动数据库即可。
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.

Total System Global Area 1610612736 bytes
Fixed Size                  2066080 bytes
Variable Size             419432800 bytes
Database Buffers         1174405120 bytes
Redo Buffers               14708736 bytes
Database mounted.

SQL> alter database flashback on;
Database altered.

SQL> alter database open;
Database altered.

SQL>

 

还可参考Metalink文章: