12c Cannot Start Database Due to Flashback Enabled
2018-01-06 08:10
435 查看
模拟故障场景
删除所有闪回日志,重启数据库实例
1、删除闪回日志
2、启动数据库
4、解决方法
5、官方文档号
(文档 ID 274569.1)
删除所有闪回日志,重启数据库实例
1、删除闪回日志
ASMCMD [+datadg/orcl] > cd flashback ASMCMD [+datadg/orcl/flashback] > ls log_1.377.964637895 log_2.376.964637901 log_3.374.964648865 ASMCMD [+datadg/orcl/flashback] > rm log_* ASMCMD [+datadg/orcl/flashback] >
2、启动数据库
SYS@orcl1> startup ORACLE instance started. Total System Global Area 1241513984 bytes Fixed Size 2923872 bytes Variable Size 620757664 bytes Database Buffers 603979776 bytes Redo Buffers 13852672 bytes Database mounted. ORA-38760: This database instance failed to turn on flashback database 3、日志报错 SYS@orcl1>
RVWR started with pid=40, OS id=10323 Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl1/trace/orcl1_rvwr_10323.trc: ORA-38701: Flashback database log 2 seq 2 thread 1: "+DATADG/ORCL/FLASHBACK/log_2.376.964637901" ORA-17503: ksfdopn:2 Failed to open file +DATADG/ORCL/FLASHBACK/log_2.376.964637901 ORA-15012: ASM file '+DATADG/ORCL/FLASHBACK/log_2.376.964637901' does not exist Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE) Lost write protection disabled Completed: ALTER DATABASE MOUNT ALTER DATABASE OPEN Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl1/trace/orcl1_ora_10324.trc: ORA-38760: This database instance failed to turn on flashback database ORA-38760 signalled during: ALTER DATABASE OPEN... 2018-01-06 07:57:34.698000 +08:00 Decreasing number of real time LMS from 1 to 0
4、解决方法
SYS@orcl1> SYS@orcl1> alter database flashback off; Database altered. SYS@orcl1> alter database open; Database altered. SYS@orcl1> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SYS@orcl1> startup mount; ORACLE instance started. Total System Global Area 1241513984 bytes Fixed Size 2923872 bytes Variable Size 620757664 bytes Database Buffers 603979776 bytes Redo Buffers 13852672 bytes Database mounted. SYS@orcl1> alter database flashback on; Database altered. SYS@orcl1> alter database open; Database altered. SYS@orcl1> select flashback_on from v$database; FLASHBACK_ON ------------------ YES SYS@orcl1>
5、官方文档号
(文档 ID 274569.1)
相关文章推荐
- 关闭归档提示:ORA-38774: cannot disable media recovery - flashback database is enabled
- ORA-38706: Cannot turn on FLASHBACK DATABASE logging.ORA-38709: Recovery Area is not enabled.
- EM 12c: OMS Failed to start After restarting the Repository Database or reboot of the server
- How to: Database Service fails to start due to log full of model database
- EM 12c: OMS Failed to start After restarting the Repository Database or reboot of the server
- Cannot start the session due to some internal error
- ORA-38706: Cannot turn on FLASHBACK DATABASE logging.ORA-38709: Recovery Area is not enabled.
- JIRA Cannot Start Due to 'unable to clean the cache directory: /opt/jira/plugins/.osgi-plugins/felix'
- AADSTS90093:Calling principal cannot consent due to lack of permissions
- Cannot start Tomcat to debug in Eclips - tomcat localhost-config is missing, 'Starting Tomcat v7.0 Server at localhost' has encountered a problem.
- Spring Boot: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFa
- 【Spring Cloud】Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletCon
- Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
- Microsoft Windows SharePoint Web site: Cannot connect to the configuration database
- How to Install Oracle 12C Enterprise Edition Database Ubuntu 13.10
- 解决使用Genymotion出现Unable to start the virtual device.VirtualBox cannot start the virtual device.问题
- Silverlight不能调试问题(转摘) Unable to start debugging. Cannot locate Microsoft Internet Explorer.
- Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean
- Failed to start the database service MSSQL$OfficeServers. Repair this product using Add/Remove Programs
- Optional int parameter 'page' is present but cannot be translated into a null value due to being dec