症状
。。
在挂载数据库之后,数据库启动失败报如下错误:
SQL> startup
ORACLE instance started.
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145750508 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
ORA-38760: This database instance failed to turn on flashback database.
警告日志将报如下错误:
变化
当前的闪回日志已经被删除
原因
当前的闪回日志被删除,那么数据库将崩溃,并出现如下错误:
ORA-38701: Flashback database log 101 seq 101 thread 1:
"/backup/rman_backup/PROD1/flashback/o1_mf_15fb13pw_.flb"
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Sat Apr 9 03:13:52 2005
RVWR: terminating instance due to error 38701
Instance terminated by RVWR, pid = 5725
解决方案
为了打开数据库,你需要在mount状态在做如下步骤:
1)关闭闪回:
SQL> alter database flashback off;
警告日志将会产生如下条目当你关闭闪回:
alter database flashback off
Wed Mar 23 12:51:05 2005
Deleted Oracle managed file D:\ORACLE\FLASH_RECOVERY_AREA\ORCL10G\FLASHBACK\O1_MF_1425DVK2_.FLB
Deleted Oracle managed file D:\ORACLE\FLASH_RECOVERY_AREA\ORCL10G\FLASHBACK\O1_MF_142627OL_.FLB
Flashback Database Disabled
Completed: alter database flashback off
2)在此之后再打开闪回
SQL> alter database flashback on;
现在,你的可以打开数据库了
显示相关信息
产品
* Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
错误
ORA-38760; ORA-27037; ORA-27041; ORA-38701; ERROR 38701