RMAN - 06004:ORACLE error in the recovery catalog. ORA-00904: invalid...

Hello all,.

One of our backups RMAN fails with the following error message. Any suggestions would be greatly appreciated.

==================================================================================================

From backup 2008-12-30 22:03:47
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to 2008-12-30 22:03:47
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

RMAN >
RMAN > #BACKUP # ARCHIVELOG delete all '% d_bkp_al_ % t_Set % s_Piece %p' entry FORMAT;
2 >
3 > # DELETE ARCHIVELOG until ' SYSDATE-7 ";
4 >
5 > # check if the database can be restored
6 > RESTORE DATABASE # VALIDATE;
7 >
8 > # check if controlfile can be restored
9 > #RESTORE # CONTROLFILE to ' / backups/admin/custpr/custpr_bkp_cntlfile.ctl' VALIDATE;
10 >
11 > # check if archivelogs for these past two weeks can be restored
12 > # RESTORE ARCHIVELOG FROM TIME ' SYSDATE-7' VALIDATE ';
13 >
14 > #-check all backups on backup media are intact
15 > # CROSSCHECK BACKUP OF DATABASE;
16 >
17 > #-display based on a list of files that need to be stored on the retention
18 > policy #. For this case study, the files that do not have at least 1 backups
19 > # will be reported.
20 > REPORT NEED backup.
RMAN retention policy apply to the order
RMAN retention policy is set to 7 days recovery window
Report of the files whose recovery needs more 7 days of archived newspapers
Days of files name
---- ----- -----------------------------------------------------
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of command report at 2008-12-30 22:03:48
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

RMAN >
RMAN > #-remove unnecessary backups. This command deletes the backups based on the
2 > retention policy of #.
3 > # commented DELETE OBSOLETE - TSM not configured to remove on 68
4 > #DELETE # OBSOLETE;
5 >
6 > #-complete list of the existing backups
7 > LIST BACKUP;
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the list command at 2008-12-30 22:03:49
RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

RMAN >
RMAN > # end of file.
2 > * end-of-file *.

RMAN >

Published by: ORA_UMAIR on December 31, 2008 07:51

No help is possible.
You publish a file of newspaper only, and can not see the command that failed.
Also you include, contrary to the recommendation in the post on Forums label, the complete version number of 4-digit.
This is important because they either has an error in your script that does not find RMAN or you hit a bug.

-----
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Using the Scheduler to run the rman script directly stored in the recovery catalog

    Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

    RMAN > create script showall

    Comment "just one example of demonstration."

    {

    VIEW ALL;

    }

    Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

    Kind regards

    Dave

    Well, let us know the result.

    The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

  • RMAN-06004: ORACLE recovery catalog database error: ORA-03113: end - of -

    Hello

    I experience backup scripts. because once done, she will move to pod pre box.

    Database runs in mode archvelog
    I have lgged in the dbserver himself.

    the shell scripts is:
    #! / usr/bin/sh
    source. / game - env # this file will have ID password for catalogue and the target sources
    echo executing command: database Backup
    ECHO
    RMAN TARGET $dbuser / $dbpwd$ rmandb CATALOG $rmanuser/$rmanpwd@$rmandb < < eof
    Run {}
    stop immediately;
    start-up;
    }
    expressions of folklore
    output


    When I run, I get the following error

    connected to target database: HERMESQA (DBID = 3819666523)
    connected to the recovery catalog database

    RMAN > 2 > 3 > 4 > 5 >
    database closed
    dismounted database
    Instance Oracle to close

    connected to the database target (not started)
    Oracle instance started
    mounted database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the boot command at 11/06/2009 11:27:54
    RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel

    could you suggest where I have error.

    Thank you
    Benjamin Gopal

    Do not back up the database using the same catalog of recovery recovery catalog of accommodation. You could just try it back up without a recovery catalog and to ensure that this database has an automatic backup of controlfile, for example.

  • RMAN-20001: target not found in the recovery catalog database

    I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.


    RMAN > startup nomount;
    Oracle instance started

    Total System Global Area 209715200 bytes

    Bytes of size 1272864 fixed
    155190240 variable size bytes
    Buffers 50331648 database bytes
    Redo buffers 2920448 bytes


    RMAN > restore controlfile autobackup.

    From restoration to SEPT. 08.-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 156 devtype = DISK

    field of recovery destination: / u02/flash_recovery
    name of database (or unique name of database) used for research: TEST
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
    channel ORA_DISK_1: restore full automatic backup of control file
    output filename=/u02/control_files/TEST/control02.ctl
    output filename=/u03/oradata/TEST/control03.ctl
    Restoration finished in 08-SEVEN.-10

    RMAN > change the editing of the database;

    mounted database
    output channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
    RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database


    I guess it has something to do with the DBID but... I don't have and I do not know how to find.

    Hello
    Try this
    RMAN > Connect target /.
    RMAN > Connect catalog rman/rman@test
    RMAN > startup nomount;
    RMAN > list backup of controlfile;

  • RMAN cloning using the recovery catalog

    Hi all

    I do RMAN cloning using the recovery catalog.

    I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.

    Now I want to clone the MAIN database using this backup (backup of the catalog).

    I've done this before, without using the catalogue,

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Kind regards
    Kumar

    >

    >

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Looks like it is exactly what you were asking.

    You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
    You then run your script/command clone, which you claim you already know how to do.

  • How to monitor all RMAN operations using single script in the recovery catalog?

    I use the rman recovery catalog, all databases are stored on the catalog database, is there any script to monitor all the databases that are registered in the recovery catalog.

    I have the script that displays only the last time success of the work of recovery catalog

    SELECT name, Inc., Journal, ctl
    Of
    RMAN.rc_database d,
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') full)
    of s rman.rc_backup_set
    where s.backup_type in (')
    and controlfile_included = 'NONE '.
    Db_id group) f.
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') Inc.)
    of s rman.rc_backup_set
    where s.backup_type ('i')
    Db_id group) i.
    (select db_id, Journal of to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_set
    where s.backup_type ('l')
    l band db_id),
    (select db_key, ctl to_char (max (completion_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_controlfile
    Db_key group) c
    where f.db_id (+) = d.dbid
    and i.db_id (+) = d.dbid
    and l.db_id (+) = d.dbid
    and c.db_key (+) = d.db_key
    order by 1;

    Published by: 987633 on February 12, 2013 09:03

    Real!

    Difficult to shoot everything I want in a single query.

    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1
    

    Best regards

    mseberg

  • specification does not match any newspaper archive in the recovery catalog

    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog


    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    Honey says:
    RMAN > delete archivelog until time = ' sysdate-15';

    output channel: ORA_DISK_1
    output channel: ORA_DISK_2
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid = 151 devtype = DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid = 143 devtype = DISK
    specification does not match any newspaper archive in the recovery catalog

    Database 10.2.0.3.0 on win2008 (VMWARE)
    Thank you

    There is no archived redo log file corressponding your query. There is no archived for 15 days ago redo log file

  • RMAN will remove backups within the recovery window

    Salvation;


    I didn't have idea on recovery_window

    recovery_window = > number of days in which the backups must be kept for purposes of recovery


    Backups within the recovery window can be removed or

    RMAN will remove backups within the recovery window?

    If you issue a DELETE, rman cannot stop or prevent you. It will allow you to delete the backups, even the last backup taken 1 minute ago, even when there is no other backup.

    The retention window only to rman control * auto * deletion of backups - backups obsolete because they are beyond the retention window.

    Hemant K Collette

  • How to find databases registered in the recovery catalog.

    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Dan wrote:
    I want to know how many registered in the recovery catalog databases

    How can I find it?

    Thank you!

    Use the 'RC_DATABASE' in the catalog database

  • How do I know if the recovery catalog is configured

    Hi friends,

    Today I faced a typical question that I've never heard and looking for a response that

    If I got a database, how to check if that database has a recovery catalog configured or not?

    I know, by catalogue, we can check databases saved using view v$ RC_DATABASE. but it's new to me...

    Please shed some light... Thanks in advance

    mseberg wrote:
    You can try to select the RC_SITE view in your catalog database.

    He wants to know the information of target database_ no recovery catalog database.
    View RC_DATABASE is used to search the database of registered in the recovery catalog.
    View RC_SITE lists information about all databases in a Data Guard environment that are known to the recovery catalog.

  • HELP-immediate execution in PL/SQL has received the error ORA-00904: invalid identifier

    What is the problem with the following codes from PL/SQL (actually it comes to Oracle Metalink Note: 313175.1):
    ===========
    declare
    cursor c1 is select * from $ semantic;
    v_statement VARCHAR2 (255);
    v_nc number (10);
    v_nt number (10);
    Start
    immediate execution
    "select count (*) from $ semantics" in v_nc;
    immediate execution
    ' select count (distinct s_table_name) of semantics$ "in v_nt;
    dbms_output.put_line
    ('Edit' | v_nc |) 'columns ' | v_nt | "tables");
    to r1 c1 loop
    v_statement: = 'ALTER TABLE ' | R1.s_owner | '.' || R1.s_table_name;
    v_statement: = v_statement | «change (' |)» R1.s_column_name | ' ';
    v_statement: = v_statement | R1.s_data_type | ' (' | r1.s_char_length;)
    v_statement: = v_statement | ' CHAR))';
    immediately run v_statement;
    end loop;
    dbms_output.put_line ('Done');
    end;
    /
    =====
    Executed once the codes as sysdba against 10gr 2 database, I got this error:
    From build to select columns to change
    Editing columns 4428 35249
    declare
    *
    ERROR on line 1:
    ORA-00904: invalid identifier
    ORA-06512: at line 22

    I see nothing wrong with the line of "immediate execution". I appreciate your help!

    Thank you.

    Hello
    Try to print the offending instruction using exception, I used small test cases by changing the pl/sql block, you may need to change to respond to all other types of data in this table.

    CREATE TABLE semantics$
    AS
       SELECT USER AS owner,
              table_name,
              data_type AS s_data_type,
              column_name,
              data_length AS s_char_length
       FROM cols
       WHERE table_name = 'MY_OBJECTS';
    
    DECLARE
       CURSOR c1
       IS
          SELECT *
          FROM semantics$;
    
       v_statement   VARCHAR2 (255);
       v_nc          NUMBER (10);
       v_nt          NUMBER (10);
    BEGIN
       EXECUTE IMMEDIATE 'select count(*) from semantics$' INTO v_nc;
    
       EXECUTE IMMEDIATE 'select count(distinct table_name) from semantics$'
          INTO v_nt;
    
       DBMS_OUTPUT.put_line(   'ALTERing '
                            || v_nc
                            || ' columns in '
                            || v_nt
                            || ' tables');
    
       FOR r1 IN c1
       LOOP
          v_statement   := 'ALTER TABLE ' || r1.owner || '.' || r1.table_name;
          v_statement   := v_statement || ' modify (' || r1.column_name || ' ';
          v_statement   :=
             v_statement || r1.s_data_type || '(' || r1.s_char_length;
    
          IF (r1.s_data_type = 'NUMBER')
          THEN
             v_statement   := v_statement || '))';
          ELSE
             v_statement   := v_statement || ' CHAR))';
          END IF;
    
          DBMS_OUTPUT.put_line (v_statement);
    
          -- EXECUTE IMMEDIATE v_statement;
       END LOOP;
    
       DBMS_OUTPUT.put_line ('Done');
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line ('Statement = ' || v_statement);
          DBMS_OUTPUT.put_line (SUBSTR (SQLERRM, 1, 200));
          RAISE;
    END;
    

    _ Output

    ALTERing 13 columns in 1 tables
    ALTER TABLE MY_OBJECTS modify (OWNER VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (OBJECT_NAME VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (SUBOBJECT_NAME VARCHAR2(30 CHAR))
    ALTER TABLE MY_OBJECTS modify (OBJECT_ID NUMBER(22))
    ALTER TABLE MY_OBJECTS modify (DATA_OBJECT_ID NUMBER(22))
    ALTER TABLE MY_OBJECTS modify (OBJECT_TYPE VARCHAR2(19 CHAR))
    ALTER TABLE MY_OBJECTS modify (CREATED DATE(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (LAST_DDL_TIME DATE(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (TIMESTAMP VARCHAR2(19 CHAR))
    ALTER TABLE MY_OBJECTS modify (STATUS VARCHAR2(7 CHAR))
    ALTER TABLE MY_OBJECTS modify (TEMPORARY VARCHAR2(1 CHAR))
    ALTER TABLE MY_OBJECTS modify (GENERATED VARCHAR2(1 CHAR))
    ALTER TABLE MY_OBJECTS modify (SECONDARY VARCHAR2(1 CHAR))
    Done
    

    Concerning

    Published by: OrionNet on January 5, 2009 23:53

    Published by: OrionNet on January 5, 2009 23:55

  • Using Player Adobe 11, now comes up with an error, once the file is opened. "Invalid Plugin detected, will waive the software Adobe reader." Close the program so cannot display PDF files. Running windows 7. I uninstalled and reinstalled the same Adobe. He

    Using Player Adobe 11, now comes up with an error, once the file is opened. "Invalid Plugin detected, will waive the software Adobe reader." Close the program so cannot display PDF files. Running windows 7. I uninstalled and reinstalled the same Adobe. Help

    It seems that something has been added in the folder on the drive. I would recommend http://labs.adobe.com/downloads/acrobatcleaner.htmluninstalling the program, running, removing any left over parts of the record player (this could be the problem), reboot and reinstall. If all goes well, that solved the problem. Future questions about the player, you should consider asking in the forum of reader, is not.

  • Number of error SQL ORA-00904: invalid column name has occurred.

    Hello
    on P8.18 on a Win 2003 server when we launch SWPAUDIT, it failed with:
    Number of error SQL ORA-00904: invalid column name has occurred. Query process failed.
    I searched this error on metalink3. Nothing in connection with.

    Any idea?

    Thank you.

    Please give a clear picture of what you are doing... .and what paintings... There is the possibility of the audit refers to certain tables... with deleted. names of columns just look in the structure of what you audit?

    Please, find the name of column...

    ORA-00904: string: invalid identifier
    Cause: The column name entered is invalid or missing.
    Action: Enter a valid column name. A valid column name must start with a letter, must be less than or equal to 30 characters and include only alphanumeric characters and the special characters $, _, and #. If it contains other characters, then it must be enclosed in quotation marks. It cannot be a reserved word.

  • Can us refresh database using the recovery catalog?

    Hi all, I need update the dev of database using the prod database backup, we have TSM server and database of separate catalog for storing backups. No, my doubt is, we can update database dev using catalog, which has the backup of all info the prod

    In my previous organization, we used to copy the backup of the prod dev we restore and recover it in dev db. But in this organization, we have a TSM server that stores all backups of prod and dev.

    Please tell me we can update dev db using info catalogue simply and without copying backups of prod? If possible how?

    Thank you

    Harish

    user8596912 wrote:

    Yes I know that the content of the rman script.

    But we have not, so how can we be expected to comment on?

    My question is that the connection to the rman is good or bad?

    It would depend on the content of the script you do not think that we need to see.

    In the end, you can determine whether this is good or bad by testing.

    Because the rman is not connected directly to the target db prod.

    Have you read the link I gave you?

    I would limit for you: a database mirroring

    The docs in detail how to duplicate a database

    1 - active database

    2 - from a backup WITH a connection target (the database prod)

    3. from a backup WITHOUT a connection target (the database prod) but WITH a recovery catalog connection

    4 - from a backup WITHOUT connection AND connection catalog recovery target (the database prod)

    BTW, why you score your own messages as 'useful' to your own problem?

  • Possible to rman duplicate &amp; oracle upgrade at the same time?

    We hoped we could use 'RMAN restore backups as part of an upgrade of database [ID 790559.1]' and duplicate a PRD 11.1 DB to another server that has only the 11.2 software. Anyone could do this?

    When I tried this, I got an error since the target DB is a version prior to the rman client - ' RMAN-06429: TARGET database is not compatible with this version of RMAN.

    I tried to connect to the target database and simply use the following syntax (duplicate "prd" DBID 123456789 to 'dev') to inform the backups, it would be necessary to NetBackup rman. Who also got an error - RMAN-01009: syntax error: found 'single-quoted-string': expected an a: "database, for, target, to. I tried other variations, but also had errors.

    I can tell him from a disk based backup, but must wait for a NFS mount big enough to fill it. The following syntax was in the docs of rman 11.2:
    DUPLICATE a 'PROD' dbid 8675309 to 'TEST' DATABASE
    Until TIME ' to_date (November 1, 2007 ',' DD/MM/YYYY "").
    The BACKUP LOCATION "/ backups NOFILENAMECHECK"
    PFILE='?/DBS/inittest.ora' db_file_name_convert = "prod", "test."

    If someone has done this or if it is not possible to do so, please let us know. Our goal is to not have to install the software on our new servers 11.1. Also, trying to avoid the restore with the same name and then rename the DB so that the ASM would have several directories for the DB.
    Thank you
    Brian


    OS: RHEL 6.3 for host target
    OS: RHEL 5.9 for the host target
    Target DB: 11.1.0.7.12 - PRD
    Auxiliary DB: 11.2.0.3.5 - DEV

    MML: Veritas NetBackup for Oracle - version 7.0

    DB using ASM & OMF

    Brian;

    The short answer is no.

    The RMAN executable will not match for one. If you need a document of MOS I can provide a.

    Frequently asked Questions about the restoration or duplication between different Versions and platforms [ID 369644.1]

    Best regards

    mseberg

    Published by: mseberg on February 6, 2013 17:55

Maybe you are looking for

  • Why low Firefox usually load Kaspersky anitivures protection for my emails

    I recently bought this product. And I keep getting a lot of spam and messages not requested via my email account you all can help me with this? Thanks, Jeff

  • You select the new system font

    Unlike some, I like the new look of the new community and the purity of the lines of the new police system. However, when I'm working on a problem, I often have to take notes, or previously write my question in 'Notes', either on my iPad or one of my

  • Method call is not FIFO beginning in LV 2015

    Hello I'm trying to get the data on my hard drive using cRIO 9075 and I do request the following tutorial: http://www.NI.com/Tutorial/11198/en/ In steps 21 and 22 in this tutorial, request using Invoke FIFO method by selecting Start There is no such

  • Unable to boot from computer and device lists PCI said no emulation

    original title: I can't start or safe mode, I get a disk read error restart computer ctrl alt delete and I have no emulation I put a new hard drive in my old computer that was made for me.when I turn on my computer I can't get past the list of pci de

  • cannot select clock gadget to remove

    How to choose a clock gadget to remove? I added it today and it won't let me select, because I want more. It has "frozen" (no change of time) and also remains in the foreground on top of all the documents I watch you on the same monitor, that it is a