Connecting rman and creating recovery catalog

I'm using oracle8i with Window/Nt
i have two database U10 and U20.
Using recovery manager, target db is U10 and recovery catalog of U10 is saved in U20.
i followed method in oracle8i manual(Rman Part)
when i attempt to connect rman, following message bothers me..
C:\WINDOWS>RMAN CATALOG RMAN/RMAN@U20
Recovery Manager: Release 8.1.6.0.0 - Production
RMAN-06008: connected to recovery catalog database
RMAN-06428: recovery catalog is not installed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-06004: ORACLE error from recovery catalog database: ORA-02112: PCC: SELECT.
.INTO returns too many rows
RMAN-06097: text of failing SQL statement: select user into :b1 from dual
RMAN-06099: error occurred in source file: krmk.pc, line: 3842
and when i attempt to create recovery catalog, i got a bunch of message
RMAN> CREATE CATALOG TABLESPACE "RCVCAT"
RMAN-06099: error occurred in source file: krmk.pc, line: 6549
RMAN-06097: text of failing SQL statement: CREATE TABLE db
db_key NUMBER NOT NULL, -- sequence generated primary key
db_id NUMBER NOT NULL, -- kccfhdbi from controlfile
-- updatable columns
curr_dbinc_key NUMBER, -- current incarnation
CONSTRAINT db_p PRIMARY KEY (db_key),
CONSTRAINT db_u1 UNIQUE(db_id) -- ensure that db_id is unique
tablespace "RCVCAT"
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06433: error installing recovery catalog
i'm so hectic... plz help me....

Based on the following errors:
RMAN-06004: ORACLE error from recovery catalog database: ORA-02112: PCC: SELECT..INTO returns too many rows
RMAN-06097: text of failing SQL statement: select user into :b1 from dual
It looks like the table dual has more than 1 row.
select * from dual;
What do you get?
It should look like this:
D
X
1 row selected.
Your recovery catalog database may have a problem. You may need to start over and recreate the recovery catalog.
null

Similar Messages

  • Standby database - RMAN level 0 - Recovery catalog - OEM.

    We have configured rman level 0 backup from standby database on OEM. Job is running fine, but rman is not getting connected to recovery catalog. RMAN is connecting to target control file instead of recovery catalog. I understand we need to have DG broker configured for primary and standby for RMAN to connect recovery catalog if you run from OEM. We have configured the DG broker also. DG broker configuration is woriing fine. but Still Standby is not connecting the rman recovery catalog database.
    Can anyone tell me what i should check.

    Catalog database is same for primary and standby. It is not working for both the version. What are all the basic check i need to do to debug the issue.
    THIS IS LOG FROM OEM it is not connecting to target. instead of it is connecting to target control file.
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu Sep 6 22:40:28 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
    RMAN>
    connected to target database: CAAPRD1 (DBID=524360237, not open)
    using target database control file instead of recovery catalog
    RMAN>
    echo set on
    RMAN> run {
    2> allocate channel oem_backup_disk1 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    3> allocate channel oem_backup_disk2 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    4> allocate channel oem_backup_disk3 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    5> allocate channel oem_backup_disk4 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    6> allocate channel oem_backup_disk5 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    7> allocate channel oem_backup_disk6 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    8> allocate channel oem_backup_disk7 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAASTB1/level0/%U';
    9> allocate channel oem_backup_disk8 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/CAATB1/level0/%U';
    10> backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_DATA' database;
    11> backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_ARCH' archivelog all not backed up;
    12> release channel oem_backup_disk1;
    13> release channel oem_backup_disk2;
    14> release channel oem_backup_disk3;
    15> release channel oem_backup_disk4;
    16> release channel oem_backup_disk5;
    17> release channel oem_backup_disk6;
    18> release channel oem_backup_disk7;
    19> release channel oem_backup_disk8;
    20> }

  • RMAN and dataguard wout catalog?

    Hello,
    We used RMAN for backups and recently implemented a dataguard environment in 10g r2(physical standby). While perusing upgrading to 11g I came across instructions saying you must use a recovery catalog in a dataguard environment. The backups are running on the primary just using the control file and all seems to be working. I did a 'restore database validate' and it succeeded. Is the recovery catalog only necessary if I chose to do the backups on the standby - or is a catalog required in my scenario?
    Thanks,
    Mark
    Edited by: user6061469 on Apr 20, 2011 11:43 AM

    You were able to build your standby without using a catalog.
    You are able to take backups of your primary without using a catalog.
    Where does it say (in the documentation) that a recovery catalog is required ?
    With the enforcement of DB_UNIQUE_NAME you can use the same catalog for Primary and Standby backups -- if you run backups from both locations. That is an enhancement. But not a requirement if you don't need to or plan to backup both sites and use a common catalog.
    Hemant K Chitale

  • CONNECT ROLE and CREATE SESSION

    Oracle 8.1.7.4.1 Enterprise RDBMS
    User has CONNECT role but receives ORA-1045 when trying to log in. Problem resolved after explicitly granting CREATE SESSION. This should not have been necessary. Has any one else had this problem? What would cause such behavior?

    Verify that CREATE SESSION is in the role. (Yes, it should be, but ...)
    Verify that nothing has revoked CREATE SESSION from the user.
    Besides, it is probably is good idea to get out of the 'CONNECT', 'RESOURCE' and 'DBA' role habit.

  • Three questions about dealing with and creating new catalogs

    I have 3 catalog related challenges.
    1) I loaded an entire batch of images into the wrong catalog...an existing one.
        Can I simply remove them from that catalog in bulk?
    2) For some reason I can't get LR to create a new catalog that I name after
        a specific job. Should I use File|New Catalog or Import? Something else?
    3) LR launches with the same catalog open every time. I have unchecked the
        preferences box that tells it to do that. I want it to open with NO catalog
        everytime. What setting am I missing?
    Thanks for the input.
    JeffRN

    1) I loaded an entire batch of images into the wrong catalog...an existing one.
        Can I simply remove them from that catalog in bulk?
    Yes, select all of the images you want to remove then hit the delete or backspace key. The following dialog will open and you should choose Remove - don't be tempted to choose Delete from Disk or you images will be sent to trash.
    2) For some reason I can't get LR to create a new catalog that I name after
        a specific job. Should I use File|New Catalog or Import? Something else?
    To name a Catalog after a specific job/project/shoot you should use File>New Catalog. A dialog will open and you can enter the name in the field labelled Save As.
    3) LR launches with the same catalog open every time. I have unchecked the
        preferences box that tells it to do that. I want it to open with NO catalog
        everytime. What setting am I missing?
    Launching Lightroom so that it opens with no catalog you need to choose the preference Prompt me when starting Lightroom as shown below.

  • Registering recovery catalog in Enterprise Manager

    Hi,
    I created recovery catalog database successfully using RMAN of 10g R2 on command prompt. Every thing seems working fine on RMAN but when I connect to target database using EM and click the recovery catalog link, it does not show me the configured recovery catalog. When I try to configure the catalog, it gives me the error message "Bad Packet". I dont what the problem is. Can any one help me with this?

    Hi,
    I am using winXP and using EM DB of Oracle 10g. I used RMAN on command prompt and created recovery catalog by creating a recovery catalog user and assigning a catalog user to it. I have also registered target database with recovery catalog. Now all this is working on command prompt using RMAN utility. Both target and recovery are on one computer. Now when I try to see recovery catalog in EM DB, its says no recovery catalog has been configured and when I try to configure recovery catalog, following error message keeps coming
    Validation Error
    Examine and correct the following errors, then retry the operation:
    Error - java.sql.SQLException: Io exception: Bad packet type
    *Host--------- shahnawaz 
    * Port---------5500
    * SID-----------qasimdb
    * Recovery Catalog Username-----zee
    * Recovery Catalog Password------zee
    I hope my question is quite clear. If you need more info. just let me know please. I will appreciate.
    regards,
    Qasim

  • Backup policy on Grid, using RMAN and Recovery Catalog.

    Hello Gurus,
    I'm trying to move ahead the new features of Oracle 10g in my company. So I've already created Grid Control and will deploy Agents/Targets during the next week. I also want to switch the backup process from the archaic exp/imp to RMAN with the Recovery Catalog.
    My question is such: could anybody suggest the best book or text with solutions and descriptions of backup policy, using the Grid, RMAN and Catalog? What I want to do is to create eventually the powerful and centralized storage of every database in a company and do all daily routine from there. But as long as I'm only in the very beginning I want to gain some knowledge before the bad experience, like crashed recovery catalog and no backups for all databases :-)))
    Definitely I'll keep existing imp/exp and hotbackup for a long time. I'm not going to substitute all our backup strategy with one catalog. I just want to understand what will be the best practice in the backup perspective.
    And at all, I wonder if you please could give me very brief answer to this question: Let's say I have a huge monster with 5 disks by 500Gb RAD0+1. Is it a bad idea to store all of them in one physical machine before they will tape to backup or it could make sense? For me it sounds a bit scary, but probably if all made with the brain it's not a bad idea?
    Please, send me to some valuable and good source (like Tom Kyte or Don Burleson) Unfortunately, I didn't find anything regard the backups itself. Only pretty much general thought.
    Thanks a lot in advance.
    M.

    great!
    thanks a lot!
    this is definitely valuable info and I'll read right away. but as far as understand they suggest to use Data Guard, Standby and RAC which are the best ways to prevent your environment from crash. But in reality (I mean in my company) nobody is going to move to RAC at this point and I'm not sure, that they will have a chance to do in the next year. they just aren't up to it.
    what I'm looking for is probably some tips and hints about backups in more or less big environment, but not as big as Oracle itself :-) unfortunately, i'm the only DBA in my surrounding. i mean, i have no friends or mentors DBAs that could seat with me in a pub and pass theirs knowledge from generation to generation :-)))
    but anyway, I'll devote this week-end to this link.
    thanks a lot!

  • Config recovery catalog database

    dear all.
    i had read several documents about "create recovery catalog", but all of that start with statement
    CREATE TABLESPACE
    ...and continue with CREATE USER, etc.
    I want to create a NEW database for recovery catalog, this database what characteristics must to have ?? Anyone have a link or document where explain me how to create a database (only i need database creation) for recovery catalog.???
    thanks
    The version is ORacle 10gr2

    hi,
    the recovery catalog is just a normal database with a schema called rman or whatever you choose.
    it should ideally be on a separate server to your target database. The RMAN database as with any other database should have multiplexed control files and redo files.
    schema creation assumming windows O/S
    -- Create tablepsace to hold repository
    CREATE TABLESPACE "RMAN"
    DATAFILE 'C:\ORACLE\ORADATA\W2K1\RMAN01.DBF' SIZE 6208K REUSE
    AUTOEXTEND ON NEXT 64K MAXSIZE 32767M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    -- Create rman schema owner
    CREATE USER rman IDENTIFIED BY rman
    TEMPORARY TABLESPACE temp
    DEFAULT TABLESPACE rman
    QUOTA UNLIMITED ON rman;
    GRANT connect, resource, recovery_catalog_owner TO rman;
    then create the recovery catalog
    C:>rman catalog=rman/rman@w2k1
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to recovery catalog database
    recovery catalog is not installed
    RMAN> create catalog tablespace "RMAN";
    recovery catalog created
    RMAN> exit
    Recovery Manager complete.
    C:>
    then register your database
    C:>rman catalog=rman/rman@w2k1 target=sys/password@w2k2
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    connected to target database: W2K2 (DBID=1371963417)
    connected to recovery catalog database
    RMAN> register database;
    database registered in recovery catalog
    starting full resync of recovery catalog
    full resync complete
    RMAN>
    let us know how you get on.
    rgds
    alan

  • Error installing recovery catalog

    Hi,
    Inorder to implement RMAN in oracle 10g in windows environment I created a separate table space for rman and created a user as rman1;
    then I issued the following commands :
    GRANT connect, resource, recovery_catalog_owner TO rman1
    grant create session to rman1;
    grant create type to rman1;
    then i entered into rman from dos prompt,
    rman catalog=rman1/rman1@tc
    from rman prompt I issued the command,
    create catalog tablespace RMAN1;
    then the following error occurs,
    RMAN> create catalog tablespace RMAN1;
    ORACLE error from recovery catalog database: ORA-01031: insufficient privileges
    RMAN-00571: ====================
    RMAN-00569: ===== ERROR MESSAGE STACK FOLLOWS ===========
    RMAN-00571: ====================================
    RMAN-06433: error installing recovery catalog
    Due to this error I am unable to proceed further and let me know the solution.
    Thanks in advance.
    Regards,
    A.Mohammed Rafi.

    Hi,
    Thanks for the help and the problem is solved.
    Now I am facing another problem,
    RMAN-03009: failure of catalog command on default channel
    ORA-19657: cannot inspect current datafile D:\ORACLE\PRODUCT\10.1.0\DB_2\TC\EXAMPLE01.DBF
    Could you please help me in this regard.

  • Clone from recovery catalog

    Hi,
    Every month i am doing duplicate from prod to test database,from coming month i have to change my strategy to do clone from standby instead of production.so i have created recovery catalog and registered my standby.my queston ,is it possible to do duplicate from recovery catalog to test database.if possible,this is my connection
    rman catalog rman/rman123@catdb auxiliary /;,and i should do any modification in Recovery catalog. pls suggest me to do the cloning from RC.if possible
    my database 10.2.aix server.
    Regards
    Faruk

    You can use a recovery catalog when doing a cloning / DUPLICATE.
    Note, however, the 10.2 restrictions on the DUPLICATE Command : http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta028.htm#RCMRF126
    You must be connected to both the target database and auxiliary instance. The auxiliary instance must be started with the NOMOUNT option, and the target database must be mounted or open. The target database cannot be a standby database.
    Hemant K Chitale

  • Resync recovery catalog with controlfile

    Oracle :10.2.0.2
    os : solaris 5.10
    When doing stage refresh with production using RMAN a small pitfall happen.
    By mistake i have connected to the stage database and production recovery catalog. This was done after changing the db name for stage database. Recovery catalog has taken this as new incarnation. The stage database opened with resetlogs after refresh. The db id's of both the incarnations are same.
    DB_KEY DBID DBINC_KEY NAME CUR
    1 3582966461 2 PRD NO
    1 3582966461 578463 STG YES
    Could anyone help me to resync the recovery catalog with old incarnation with production database.
    Help needed ASAP.
    Thanks

    Hi,
    We are following the rename datafile and then switching and opening the db with resetlogs. In this scenario we are only changing the db name not the dbid.
    If it is not for a restore test the duplicate command previously mentioned does everything for you. If you want to proceed manually change the DBID manually after the restore.
    Any further suggetions to resolve my issue.
    The suggested unregister/register failed ? Catalog is just an optional help, losing data from the catalog does not compromise the possibilities of restorations.
    Best regards
    Phil

  • 10g recovery catalog db dont support 11g db

    Wondering 9i and 10g recovery catalogs dont support 11g db? and if i make 11g as recovery catalog it will support 9i and 10g right?

    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of register command on default channel at 10/19/2010 12:19:5
    8
    RMAN-10015: error compiling PL/SQL program
    RMAN-10033: error during compilation of job step 1: ORA-04023: Object RCAT.DBMS_
    RCVCAT could not be validated or authorized
    i'm having the issue below after upgrading 10.1.0 catalog database to 11g by running upgrade catalog twice....
    but hitting the above error. Any idea why?

  • Recovery catalog, target database.

    Hello all,
    I have a question concerning recovery catalog.
    Can i use the same database as recovery catalog and target database?
    Let us say that i have a database orcl, can this database be the target and the recovery catalog at the same time ? is there any disadvantages?
    Regards,

    NB wrote:
    Hello all,
    I have a question concerning recovery catalog.
    Can i use the same database as recovery catalog and target database?
    Let us say that i have a database orcl, can this database be the target and the recovery catalog at the same time ? is there any disadvantages?Yes you can use the same database as the recovery catalog but that's going to be a wrong decision. Think about this, you have lost your target database and since you had your recovery catalog also stored in it, now that's also gone! So a good thing or bad thing it would be ?
    Edit:
    Please read the same from the docs,
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcatdb.htm#CHDECBEH
    Do not use the target database to be backed up as the database for the recovery catalog. The recovery catalog must be protected in the event of the loss of the target database.Aman....
    Edited by: Aman.... on Aug 7, 2011 4:26 PM

  • Creating recovery disc using DVD vs using USB

    I wanted to upgrade to SSD
    a crucial m500 to be exact.
    I'm using windows 8
    Lenovo T430
    But an attempt to create recovery media, I was told I needed a usb of at least 16gb before continuing.
    I personally do not have a spare 16gb thumbdrive lying around
    address : create a recovery drive, The screen which says "the drive must be able to hold 16gb, and everything on the drive will be deleted.
    and I find it such a waste to use a hard disk to use it as a recovery media considering the fact that all data on it has to be erased and I cant really use it for other purpose
    so I  google in attempt to try and create recovery drive using dvd disc
    recdisc.exe
    my question is that would I be able to restore the same original settings and applications as when I bought it when using the recdisc.exe method??
    will all the default Lenovo applications be still present??

    If it's like most of the recent ones I have seen it would normally require 3 regular DVD disks.  Recovery 1, Recovery 2, and Drivers and Applications Disk 2.  If you use Dual Layer it will put Recovery 1 and Recovery 2 on one DL disk and the Drivers and Applications on Disk 2, but it should give you the option of recording it to a standard DVD.  You can determine how many regular disks it would take by selecting the Regular Disk option prior to creating the disks and it shoud tell you 3. 
    I'm betting that when you check the first disk you will find that it has about 6.5 to 7gb of data on it and the drivers disk has about 3gig, more than what would fit on a single D/L dsk.  I know that my L305-S5933 is like that and I can't imagine that your's would be that much different.
    Addendum:  I just checked my 3 disks and they are as follows
    Recovery Disk 1 - 4.3 GB
    Recovery Disk 2 - 2.77 GB
    Drivers and Applications Disk 3 - 2.1 GB
    That totals 9.17 GB more than the capacity of a single D/L disk.
    Plus I believe that Chris hit the nail on the head of their wanting to keep the actual Recovery Disk(s) seperate from the Drivers & Applications disk.
    If you don't post your COMPLETE model number it's very difficult to assist you. Please try to post in complete sentences with punctuation, capitals, and correct spelling. Toshiba does NOT provide any direct support in these forums. All support is User to User in their spare time.

  • Oracle RMAN recovery catalog database in a Primary and Standby mode

    Hello All,
    The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups. There are are 200+ databases running on OEL, RHEL and Windows. So we planned to host the recovery catalog database on Oracle Active DataGuard 11.2.0.1 Enterprise Edition on RedHat EL 5.8 version on two physical servers. The Primary Instance will be in one server in the Primary DC and the Standby Instance will be on another server in another DC. Also all the database datafiles are hosted in ASM Diskgroups on SAN (DATA, FRA, REDO, ARCH diskgroups).
    Are there any specific RPM/patch/OS user custom/specific settings or configurations needed..?
    Thanks in advance..
    Regards,
    Abhijit

    "The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups"
    Hi,
    i think you can achieve HA for the catalog DB. (Rac and Asm should work fine)
    There's no way (afaik) to use TAF with the rman backup. If you have a failure during a backup it simply fails.
    There is no TAF in this situation.
    Hope this helps.
    Regs,
    Drew

Maybe you are looking for