Oracle 11g DG主库节点2 ORA-00245: control file backup fail

--节点1报错

Sun Dec 09 08:29:57 2018
Control file backup creation failed:
failure to open backup target file /u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_zwdb.ctl.
Errors in file /u01/app/oracle/diag/rdbms/zwdb/zwdb2/trace/zwdb2_arc0_167660.trc:
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory

 

--节点2报错

Sun Dec 09 08:29:57 2018
Errors in file /u01/app/oracle/diag/rdbms/zwdb/zwdb1/trace/zwdb1_ora_115555.trc:
ORA-00245: control file backup failed; target is likely on a local file system

---解决办法

RMAN> show snapshot controlfile name;

using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name ZWDB are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_zwdb.ctl';

RMAN>

RMAN>

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

old RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/db_1/dbs/snapcf_zwdb.ctl';
new RMAN configuration parameters:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+data/zwdb/snapcf_dwdb1.f';
new RMAN configuration parameters are successfully stored

RMAN>

RMAN> show snapshot controlfile name;

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

RMAN>

RMAN>

RMAN> backup current controlfile;

 

 

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

 

posted @ 2018-12-09 08:55  钱若梨花落  阅读(333)  评论(0编辑  收藏  举报