sql >> データベース >  >> RDS >> Database

RMANコマンドがORA-00904で失敗する:「BS」。「GUID」:無効な識別子

    Oracle Database Enterprise Edition 12.1.0.2:

    
    rman target /
    
    Recovery Manager: Release 12.1.0.2.0 - Production on Thu Sep 2 08:33:58 2021
    
    Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
    
    connected to target database: PDBCDB01 (DBID=2972180763)
    
    RMAN>
    
    

    RMANコマンドがエラーで失敗する:

    
    
    RMAN> list backup summary;
    
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of list command at 09/02/2021 07:31:12
    ORA-00904: "BS"."GUID": invalid identifier
    
    RMAN> crosscheck backup;
    
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of crosscheck command at 09/02/2021 07:37:18
    ORA-00904: "DC"."GUID": invalid identifier
    
    
    

    解決策:

    DBMS_RCVMANパッケージ/パッケージ本体を再作成します:

    スクリプト: dbmsrman.sql およびprvtrmns.plb

    
    SQL> @?/rdbms/admin/dbmsrman.sql
    
    Session altered.
    
    Package created.
    
    Session altered.
    
    PL/SQL procedure successfully completed.
    
    PL/SQL procedure successfully completed.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Session altered.
    
    Synonym dropped.
    
    View dropped.
    
    Function dropped.
    
    Type dropped.
    
    Type dropped.
    
    Type dropped.
    
    Type created.
    
    Type created.
    
    Type created.
    
    Type body created.
    
    Function created.
    
    View created.
    
    Synonym created.
    
    Synonym created.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Synonym dropped.
    
    View dropped.
    
    Synonym dropped.
    
    View dropped.
    
    Synonym dropped.
    
    View dropped.
    
    Function dropped.
    
    Type dropped.
    
    Type dropped.
    
    Type dropped.
    
    Type created.
    
    Type created.
    
    Type created.
    
    Type body created.
    
    Function created.
    
    View created.
    
    View created.
    
    Synonym created.
    
    Synonym created.
    
    View created.
    
    View created.
    
    Synonym created.
    
    Synonym created.
    
    View created.
    
    View created.
    
    Synonym created.
    
    Synonym created.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    View created.
    
    Synonym created.
    
    Grant succeeded.
    
    Session altered.
    
    SQL> @?/rdbms/admin/prvtrmns.plb
    
    Session altered.
    
    Package body created.
    
    Session altered.
    
    


    1. SQLServerレプリケーションのトラブルシューティング

    2. MicrosoftExcelをXeroに接続する

    3. 'Order by'が指定されていない場合、クエリはレコードセットに対してどの順序を選択しますか?

    4. インストール時にアプリケーションがクラッシュし、エラーsqlite3_exec-同期モードの設定に失敗しました=1(通常)