sql >> Databáze >  >> RDS >> Database

Příkazy RMAN selžou s ORA-00904:“BS”.”GUID”:neplatný identifikátor

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>

Příkaz RMAN selže s chybou:



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


Řešení:

Znovu vytvořte balíček/tělo balíčku DBMS_RCVMAN:

Skripty:dbmsrman.sql a 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. Jak získat BLOB ze souboru v PL/SQL?

  2. Šifrovat heslo v R - pro připojení k Oracle DB pomocí RODBC

  3. Jak odstranit nové řádkové znaky z datových řádků v mysql?

  4. Zkontrolujte, zda řádek existuje, jinak vložte