Database
 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. Database
  2.   
  3. Mysql
  4.   
  5. Oracle
  6.   
  7. Sqlserver
  8.   
  9. PostgreSQL
  10.   
  11. Access
  12.   
  13. SQLite
  14.   
  15. MariaDB
  1. Въпроси за интервю за инженер по данни с Python

  2. Въведение в TimescaleDB

  3. Разглеждане на производителността на моментна снимка на базата данни

  4. Профилиране на база данни в IRI Workbench

  5. Архивиране на SQL бази данни с VDP Advanced SQL Agent