Database
 sql >> Cơ Sở Dữ Liệu >  >> RDS >> Database

Các lệnh RMAN không thành công với ORA-00904:“BS”. ”GUID”:mã định danh không hợp lệ

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>

Lệnh RMAN không thành công với lỗi:



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


Giải pháp:

Tạo lại gói / phần thân gói DBMS_RCVMAN:

Tập lệnh: 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. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. Câu lệnh SQL INSERT INTO

  2. Kiểm tra tự động ứng dụng dành cho máy tính để bàn:tổng quan về tính hiệu quả và các khuôn khổ

  3. Triển khai một loại tùy chỉnh

  4. Kết nối với Informix (IDS12 DB) trong IRI Workbench

  5. Tham chiếu SQL cho người mới bắt đầu