zoukankan      html  css  js  c++  java
  • [Oracle]发生 ora-06502 RMAN 在对 catalog DB 同期时出错的调查方法

    Catalog DB resync error:

    1, setting on the server that starts the RMAN client

    $ Export EVENT_10928 = 1
    $ Rman target <username> / <password> @ <connection descriptor> catalog <username> / <password> debug trace = / tmp / rmanDebug.trc log = / tmp / rmanLog.txt

    RMAN> sql "alter session set tracefile_identifier = '' rman - 10046 ''" ";
    RMAN> sql "alter session set events '' 10046 trace name context forever, level 12 ''" "
    RMAN> sql "alter session set events '' 6502 trace name errorstack level 3 ''";
    RMAN> debug all level = 15

    2, With the RMAN connection of the target DB held, the setting of the catalog DB

    SQL> alter system set events '10046 trace name context forever, level 12';
    SQL> alter system set events '6502 trace name errorstack level 3';

    3, Reproduce the error on the target DB side.

    RMAN> resync catalog;
    RMAN> exit;

    4, Cancel EVENT_10928 on the server that starts the RMAN client

    $ Unset EVENT_10928

    5, Cancel event setting on the catalog DB side.

    SQL> alter system set events '10046 trace name context off';
    SQL> alter system set events '6502 trace name errorstack off';

    The file generated is as follows:

    ■ Target DB side:
    <SID> _ora _ <SPID> _rman _ 10046.trc output to user_dump_dest

    ■ Catalog DB side:
    <SID> _ora _ <SPID> .trc output to user_dump_dest

    ■ Server that started RMAN client:
    /tmp/rmanDebug.trc
    /tmp/rmanLog.txt

    Note: The information in EVENT_10928 is output to rmanLog.txt.

  • 相关阅读:
    eclipse集成JBPM
    一个简单的NoSQL内存数据库—Berkeley DB基本操作的例子
    Berkely DB Java Edition学习笔记
    jsp和java获取文件或路径
    【Bzoj 1835 基站选址】
    【The Time Traveller's Wife】
    【Codeforces Round #430 (Div. 2) A C D三个题】
    【AIM Tech Round 4 (Div. 2) D Prob】
    【Codeforces AIM Tech Round 4 (Div. 2) C】
    【QAQ的Minecraft】
  • 原文地址:https://www.cnblogs.com/gaojian/p/7623586.html
Copyright © 2011-2022 走看看