Oracle 12c DG主库ORA-00245: control file backup fail

前端之家收集整理的这篇文章主要介绍了Oracle 12c DG主库ORA-00245: control file backup fail前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

环境是12.2.0.1 version,Oracle Data Guard主库巡检发现alert有异常报错:

2018-07-10T13:24:04.710366+08:00
Errors in file /u01/app/oracle/diag/rdbms/dwdb/dwdb1/trace/dwdb1_m000_4455.trc:
ORA-00245: control file backup Failed; in Oracle RAC,target might not be on shared storage
Removing incomplete backup control file /u01/app/oracle/product/12.2.0/db_1/dbs/snapcf_dwdb1.f
Got error: 245

**** WARNING ***

The errors during Server autobackup are not fatal,as it

is attempted after sucessful completion of the command.

However,it is recomended to take an RMAN control file

backup as soon as possible because the Autobackup Failed

with the following error:

ORA-00245: control file backup Failed; in Oracle RAC,target might not be on shared storage

记忆里这个是11g的一个bug,用ASM的话,控制文件的快照得放在共享路径下,现环境12C,也有这样的问题?

RMAN> show snapshot controlfile name;

RMAN configuration parameters for database with db_unique_name DWDB are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/12.2.0/db_1/dbs/snapcf_dwdb1.f'; # default

RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+data/dwdb/snapcf_dwdb1.f';

new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+data/dwdb/snapcf_dwdb1.f';
new RMAN configuration parameters are successfully stored

RMAN> show snapshot controlfile name;

RMAN configuration parameters for database with db_unique_name DWDB are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+data/dwdb/snapcf_dwdb1.f';

具体可以参考MOS
ORA-245: In RAC environment from 11.2 onwards Backup Or Snapshot controlfile needs to be in shared location (文档 ID 1472171.1)

特此记录一下,好记性不如烂笔头~

原文链接:https://www.f2er.com/oracle/205804.html

猜你在找的Oracle相关文章