zoukankan      html  css  js  c++  java
  • Oracle 11g DG主库节点2 ORA-00245: control file backup fail 参考学习

    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)

  • 相关阅读:
    使用 media 实现响应式布局
    Django组件的中间件
    Django组件的cookie和 session,用户认证组件
    Django的文件上传和分页
    Ajax
    Django模型层的多表操作(2)
    Django模型层的多表操作(1)
    Django的查询表记录
    Django2.0版本的路由层和ORM但表操作
    Django的路由层,视图层和模版层
  • 原文地址:https://www.cnblogs.com/daizhengyang/p/13396812.html
Copyright © 2011-2022 走看看