Error while cloning database using RMAN

hi there,
Here is our setup:
OS: Solaris 5.9
Database:9.2.0.3
While cloning test database from our production database using RMAN, we happen to get the following error..
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/11/2007 15:28:59
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06100: no channel to restore a backup or copy of datafile 450
RMAN-06100: no channel to restore a backup or copy of datafile 449
give us a solution to rectify this problem.
Thanks,
Balu.

Can you please post the RMAN restore script ?
where are the backups located

Similar Messages

  • Control file failed error while duplicating database using RMAN

    I am using oracle database 10g R2 and trying to make a clone of the source database orcl on the same machine but with different directory structure with the name of test.
    When i run the duplicate command to create test database, then following error is generted:
    D:\>rman target sys@orcl nocatalog auxiliary /
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    target database Password:
    connected to target database: ORCL (DBID=1264668332)
    using target database control file instead of recovery catalog
    connected to auxiliary database: TEST (not mounted)
    RMAN> @script.txt
    RMAN> Run {
    2> Allocate channel C1 type disk;
    3> allocate auxiliary channel 'adisk_0' type DISK;
    4> duplicate target database to "test";
    5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
    6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
    7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
    8> #delete obsolete;
    9> }
    allocated channel: C1
    channel C1: sid=140 devtype=DISK
    allocated channel: adisk_0
    channel adisk_0: sid=157 devtype=DISK
    Starting Duplicate Db at 11-NOV-11
    contents of Memory Script:
       set until scn  12926250;
       set newname for datafile  1 to
    "D:\TEST\ORADATA\SYSTEM01.DBF";
       set newname for datafile  2 to
    "D:\TEST\ORADATA\UNDOTBS01.DBF";
       set newname for datafile  3 to
    "D:\TEST\ORADATA\SYSAUX01.DBF";
       set newname for datafile  4 to
    "D:\TEST\ORADATA\USERS01.DBF";
       set newname for datafile  5 to
    "D:\TEST\ORADATA\EXAMPLE01.DBF";
       set newname for datafile  6 to
    "D:\TEST\ORADATA\GL.DBF";
       restore
       check readonly
       clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 11-NOV-11
    channel adisk_0: starting datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
    restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
    restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
    restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
    restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
    restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
    channel adisk_0: restore complete, elapsed time: 00:01:46
    Finished restore at 11-NOV-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
    LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
    DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    contents of Memory Script:
       switch clone datafile all;
    executing Memory Script
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
    contents of Memory Script:
       set until scn  12926250;
       recover
       clone database
        delete archivelog
    executing Memory Script
    executing command: SET until clause
    Starting recover at 11-NOV-11
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
    channel adisk_0: restore complete, elapsed time: 00:00:07
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
    channel adisk_0: restore complete, elapsed time: 00:00:16
    starting media recovery
    archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
    C
    archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
    media recovery complete, elapsed time: 00:00:14
    Finished recover at 11-NOV-11
    contents of Memory Script:
       shutdown clone;
       startup clone nomount ;
    executing Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area     230686720 bytes
    Fixed Size                     1248236 bytes
    Variable Size                 67109908 bytes
    Database Buffers             155189248 bytes
    Redo Buffers                   7139328 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
    LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
    DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    RMAN> **end-of-file**
    Script.txt
    Run {
    Allocate channel C1 type disk;
    allocate auxiliary channel 'adisk_0' type DISK;
    duplicate target database to "test";
    }Kindly help?

    Moazzam wrote:
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    Kindly help?>Please check what is the value of parameter db_name in the standby database? It should be match with TEST name
    Cheers

  • ORA-27067 Error while restoring database using RMAN

    Hi All,
    I am trying to restore the backups from my production database to an other server. I was able to restore the spfile and control files but at the step where I restore the datafiles I get the following error:
    RMAN-03002: failure of restore command at 11/03/2008 14:28:16
    ORA-19587: error occurred reading 0 bytes at block number 1
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27067: skgfdisp: size of buffer is invalid
    The OS and the Oracle version on the source server (on which the backups were taken) and the target server (the backups being restored to) are the same. They both are running SUNOS 5.9 and Oracle 9.2. I
    Below are what were reported in the trace files:
    Unix process pid: 12359, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(13.1) 2008-11-03 15:23:26.265
    *** 2008-11-03 15:23:26.275
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    2F11600 00020000 00000001 00000000 00000101 [................]
    2F11610 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    *** 2008-11-03 16:19:29.778
    corrupt block 1 found during reading backup piece,file=/xxx/xxx/36jucqpe_1_1.bak, corr_type=1
    dump corrupted block
    3211C00 00020000 00000001 00000000 00000101 [................]
    3211C10 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    Redo thread mounted by this instance: 0 <none>
    Oracle process number: 14
    Unix process pid: 12194, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:42.986
    (blkno = 0x88, size = 276, max = 1, in-use = 1, last-recid= 0)
    (blkno = 0x89, size = 56, max = 145, in-use = 1, last-recid= 1)
    *** 2008-11-03 15:16:40.960
    *** SESSION ID:(13.1) 2008-11-03 15:16:40.951
    =====================
    PARSING IN CURSOR #2 len=68 dep=0 uid=0 oct=42 lid=0 tim=172140509128 hv=287842151 ad='35cd9364'
    alter session set events '10046 trace name context forever, level 8'
    END OF STMT
    EXEC #2:c=0,e=250,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=4,tim=172140509103
    WAIT #2: nam='SQL*Net message to client' ela= 8 p1=1650815232 p2=1 p3=0
    *** 2008-11-03 15:17:18.666
    WAIT #2: nam='SQL*Net message from client' ela= 36822299 p1=1650815232 p2=1 p3=0
    =====================
    PARSE ERROR #2:len=50 dep=0 uid=0 oct=3 lid=0 tim=172177341974 err=1219
    select /*+ FULL(t) */ count(*) from sys.source$ t
    WAIT #2: nam='SQL*Net break/reset to client' ela= 61 p1=1650815232 p2=1 p3=0
    WAIT #2: nam='SQL*Net break/reset to client' ela= 279 p1=1650815232 p2=0 p3=0
    WAIT #2: nam='SQL*Net message to client' ela= 5 p1=1650815232 p2=1 p3=0
    Unix process pid: 12156, image: oracle@ (TNS V1-V3)
    *** SESSION ID:(11.3) 2008-11-03 14:09:08.687
    Archiving is disabled
    Archiving is disabled
    Can anyone help me resolve this error?
    Thanks,
    Ashok

    Hi,
    We finally got this issue resolved. I think the error was because the source database server was running 64 bit Oracle 9.2.0 and we installed a 32 bit Oracle 9.2.0 database on the target server. We then did a fresh install of 64 bit Oracle 9.2.0 database on the target server and the restoration worked. Also, after copying all the backup files to the target DB server, change the access rights of all those files and the folder containing them to 777.
    Thanks,
    Ashok

  • Error while cloning database to a different host

    Hi,
    I'm using rman to clone a database from host1 to host2. The directory structures on host2 is different from host1 for the datafiles and control file.
    I have changed the init.ora file on host2 to reflect the new path for the control files.
    Within the run command I have:
    run{
    SET NEWNAME FOR DATAFILE 1 TO '/u04/oradata/AUX/system01.dbf'; (for all the datafiles I have this statement)
    DUPLICATE TARGET DATABASE TO AUX
    LOGFILE
    GROUP 1 ('/u04/oradata/AUX/redo01a.log',
    '/u05/oradata/AUX/redo01b.log') SIZE 100M
    GROUP 2 ('/u04/oradata/AUX/redo02a.log',
    '/u05/oradata/AUX/redo02b.log') SIZE 100M
    GROUP 3 ('/u04/oradata/AUX/redo03a.log',
    '/u05/oradata/AUX/redo03b.log') SIZE 100M;
    When I run the command I get the error as:
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u04/oradata/AUX/system01.dbf
    restoring datafile 00002 to /u04/oradata/AUX/undotbs01.dbf
    restoring datafile 00004 to /u04/oradata/AUX/drsys01.dbf
    restoring datafile 00006 to /u04/oradata/AUX/xdb01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/14/2005 12:06:49
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19504: failed to create file "/u04/oradata/AUX/undotbs01.dbf"
    ORA-27040: skgfrcre: create error, unable to create file
    SVR4 Error: 13: Permission denied
    Can someone help me. I'm not sure where I'm wrong. The user running the script has write permission in /u04/oradata/AUX/ directory.
    Thanks,
    Mamata

    The message seems to be clear, did you check the file permissions on host2? You cannot create undotbs01.dbf, because the existing permissions don't allow it.

  • Error while updating database using jdbc receiver adapter

    Hi All,
    I am trying to update a single record using jdbc receiver adapter.
    This is my the message that is getting created..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Data xmlns:ns0="urn:Test">
    - <STATEMENT>
    - <TABLENAME ACTION="UPDATE_INSERT">
      <TABLE>ORDERS</TABLE>
    - <ACCESS>
      <OrderID>99999</OrderID>
      <CustomerID>VICTE</CustomerID>
      <EmployeeID>3</EmployeeID>
      <ShipAddress>VICTE</ShipAddress>
      </ACCESS>
    - <KEY>
      <OrderID compareOperation="EQ">99999</OrderID>
      <ShipAddress compareOperation="EQ">VICTE</ShipAddress>
      </KEY>
      </TABLENAME>
      </STATEMENT>
      </ns0:Data>
    But in Adapter Monitoring i am getting the following error..
    <i>Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ORDERS' (structure 'STATEMENT'): java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near 'VICTE'.</i>
    Regards,
    Rahul

    Rahul,
    > In this case i believe the interface has to be synch.
    > So what will the response message type be like..
    Not necessary. UPDATE can be asynch as well.
    Can you turn the trace on like pointed by Michal and then you can see the Query in the Audit Log of the adapter montioring. Try to execute the same query from your DB Client like TOAD and see what is the Syntax error you are getiing.!
    The problem looks like some field has some dataype / column name mismatch.
    Regards
    Bhavesh

  • Error while starting database using #dbstart command

    Hello everybody...
    I have installed Oracle 10G release 2 successfully and also created my database,
    But when I try to start the database using #dbstart command I get the following error
    Failed to auto-start Oracle Net Listene using /oracle/10gR2//bin/tnslsnr
    chmod: modification des permissions de `/oracle/10gR1/startup.log': Operation not permited
    Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
    I modified /oracle/10gR2//bin/bin to /oracle/10gR1/
    Then I get the following error...
    chmod: modification des permissions de `/oracle/10gR1/startup.log': Op├®ration n
    on permise
    Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
    I´m running RedHat Entreprise Linux 4 ES on an i686...
    Please can you help me...?
    Infos: The database work succesfully with 10g Release 10.1.0
    Thanking you...
    Message was edited by:
    user526029

    Thanks for your reply...
    Below is the content of my /etc/oratab file...
    # This file is used by ORACLE utilities. It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator. A new line terminates
    # the entry. Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    ASY_DB:/oracle/10gR1:Y
    ~
    I wonder if the ORATAB file for 10.2 version is different form the one of 10.1...
    Thanks a lot for your help

  • Control File error while duplicating Database through Rman

    Hi,
    Oracle Ver: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    Os:Win Xp
    I am trying to create a Standby through Rman....
    I am using this Run Block to take backup of Primary Database.......
    run {
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    setlimit channel d1 kbytes 2097150;
    setlimit channel d2 kbytes 2097150;
    backup incremental level 0 format 'e:\Oracle\standby\rman\df_%U' database
    include current controlfile for standby;
    sql "alter system archive log current";
    backup
    archivelog all format 'e:\Oracle\standby\rman\al_%U' delete input;
    }After taking the Backup when I am trying to create the standby with Duplicate command it s giving me Error...
    The Run Block I am using is ......
    RMAN> run {
    2> allocate auxiliary channel dup1 type disk;
    3> allocate auxiliary channel dup2 type disk;
    4> set newname for datafile 1 to 'E:\Oracle\standby\system01.dbf';
    5> set newname for datafile 2 to 'E:\Oracle\standby\UNDOTBS01.DBF';
    6> set newname for datafile 3 to 'E:\Oracle\standby\SYSAUX01.DBF';
    7> set newname for datafile 4 to 'E:\Oracle\standby\USERS01.DBF';
    8> duplicate target database for standby
    9> dorecover;
    10> }
    allocated channel: dup1
    channel dup1: sid=37 devtype=DISK
    allocated channel: dup2
    channel dup2: sid=36 devtype=DISK
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 02-OCT-08
    contents of Memory Script:
       set until scn  1105194;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 02-OCT-08
    channel dup1: starting datafile backupset restore
    channel dup1: restoring control file
    channel dup1: reading from backup piece E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1
    channel dup1: restored backup piece 1
    piece handle=E:\ORACLE\STANDBY\RMAN\DF_0VJS4RS7_1_1 tag=TAG20081002T124502
    channel dup1: restore complete, elapsed time: 00:00:01
    output filename=D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA
    Finished restore at 02-OCT-08
    sql statement: alter database mount standby database
    released channel: dup1
    released channel: dup2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/02/2008 13:01:43
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 10/02/2008 13:01:43
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    *ORA-00201: control file version 10.2.0.1.0 incompatible with ORACLE version 10.2.0.0.0*
    ORA-00202: control file: 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\CTL1STANDBY.ORA'Why i am getting this Incomaptable Control File error inspite of Backing up the control File.....
    Regards,
    Prosenjit Mukherjee

    Check the value for the parameter "COMPATIBLE" in the source and standby database instance parameter files.
    "COMPATIBLE" should be the same.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i70517
    "... ensure the COMPATIBLE initialization parameter is set to the same value on both the primary and standby databases"
    Edited by: Hemant K Chitale on Oct 2, 2008 4:09 PM
    Added link and quote from 10g doc

  • Error while recovering datafile using rman

    Hi Friends,
    I was trying to recover the deleted datafile 5 , but getting the following error... ( oracle 10g , database archive log mode )
    RMAN> startup
    database is already started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 02/28/2012 10:54:30
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'F:\ORACLE\ORADATA\DEMO\DEM01.DBF'
    RMAN> restore datafile 5;
    Starting restore at 28-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 02/28/2012 10:54:49
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    RMAN>
    Whats the way out...

    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # defa
    ult
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 100 M;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 100 M;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'G:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\S
    NCFDEMO.ORA'; # default

  • Error while creating database using DBCA

    Hi,
    I installed Oracle10gR2 on my windows machine.Now am creating a database with dbca but just after i click the finish button it gives me the error -
    Cannot create directory "F:\oracle\cfgtoollogs\dbca\ora10g" where F:\oracle is the directory where i have installed Oracle 10g and ora10g is the database name.
    I have full permission on the folders.Can anyone please let me know what is the problem here.
    Regards,
    Somd

    Hi OrionNet,
    At last i could create the database successfully.But these are the issues I faced and am listing down the solution so that it can help others too.
    1.I could not find the Administrative Tools-> Local security Policy --> Local Policies --> User Right Assignment in the Windows Vista Home Premium.I went and checked many blogs and forums on where is it located.It seems it is not included in the home premium and people are having a tough time working out the round abouts.
    2.The problem was that my UAC (User Account Control) in the Windows Security Center was turned on which was not allowing me to create the database.I turned it off,and it created the db smoothly.
    Thanks a lot for your help..I really appreciate it :)
    Regards,
    Somd

  • I got the above error while i restore the standby database using RMAN backu

    Dear All,
    RMAN> crosscheck archivelog all;
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=14 devtype=DISK
    specification does not match any archive log in the recovery catalogi got the above error while i restore the standby database using RMAN backup from production.
    Help need.i take the backup without catalog database.
    regards,
    DB

    rman> list backup;
    it shows lengthier but i showed only the corresponding
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    3479    Full    17G        DISK        01:29:42     09-FEB-13
            BP Key: 3479   Status: AVAILABLE   Tag: 09FEB13_FULL_ESMSRV1_DB
            Piece Name: /oradatabkp/rman/esmsrv1_full_db_09feb13
      SPFILE Included: Modification time: 08-FEB-13
      List of Datafiles in backup set 3479
      File LV Type Ckp SCN    Ckp Time  Name
      1       Full 1759250260 09-FEB-13 /esmsrv1/dbs/system01.dbf
      2       Full 1759250260 09-FEB-13 /esmsrv1/dbs/undotbs01.dbf
      3       Full 1759250260 09-FEB-13 /esmsrv1/dbs/cwmlite01.dbf
      4       Full 1759250260 09-FEB-13 /esmsrv1/dbs/drsys01.dbf
      5       Full 1759250260 09-FEB-13 /esmsrv1/dbs/example01.dbf
      6       Full 1759250260 09-FEB-13 /esmsrv1/dbs/indx01.dbf
      7       Full 1759250260 09-FEB-13 /esmsrv1/dbs/odm01.dbf
      8       Full 1759250260 09-FEB-13 /esmsrv1/dbs/tools01.dbf
      9       Full 1759250260 09-FEB-13 /esmsrv1/dbs/users01.dbf
      10      Full 1759250260 09-FEB-13 /esmsrv1/dbs/xdb01.dbf
      11      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_default_seg_001.dbf
      12      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_property_ind_seg_001.dbf
      13      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_property_seg_001.dbf
      14      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_upload_ind_seg_001.dbf
      15      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_upload_seg_001.dbf
      16      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_rate_ind_seg_001.dbf
      17      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_rate_seg_001.dbf
      18      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_ind_seg_001.dbf
      19      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_001.dbf
      20      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_001.dbf
      21      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_002.dbf
      22      Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_002.dbf
      23      Full 1759250260 09-FEB-13 /esmsrv1/dbs/perfstat_001.dbf
      39      Full 1759250260 09-FEB-13 /esmsrv1/dbs/oem_repository.dbf
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    3480    Full    17G        DISK        01:21:30     09-FEB-13
            BP Key: 3480   Status: EXPIRED   Tag: TAG20130209T200021
            Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_full_Feb09
      SPFILE Included: Modification time: 08-FEB-13
      List of Datafiles in backup set 3480
      File LV Type Ckp SCN    Ckp Time  Name
      1       Full 1759422265 09-FEB-13 /esmsrv1/dbs/system01.dbf
      2       Full 1759422265 09-FEB-13 /esmsrv1/dbs/undotbs01.dbf
      3       Full 1759422265 09-FEB-13 /esmsrv1/dbs/cwmlite01.dbf
      4       Full 1759422265 09-FEB-13 /esmsrv1/dbs/drsys01.dbf
      5       Full 1759422265 09-FEB-13 /esmsrv1/dbs/example01.dbf
      6       Full 1759422265 09-FEB-13 /esmsrv1/dbs/indx01.dbf
      7       Full 1759422265 09-FEB-13 /esmsrv1/dbs/odm01.dbf
      8       Full 1759422265 09-FEB-13 /esmsrv1/dbs/tools01.dbf
      9       Full 1759422265 09-FEB-13 /esmsrv1/dbs/users01.dbf
      10      Full 1759422265 09-FEB-13 /esmsrv1/dbs/xdb01.dbf
      11      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_default_seg_001.dbf
      12      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_property_ind_seg_001.dbf
      13      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_property_seg_001.dbf
      14      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_upload_ind_seg_001.dbf
      15      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_upload_seg_001.dbf
      16      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_rate_ind_seg_001.dbf
      17      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_rate_seg_001.dbf
      18      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_ind_seg_001.dbf
      19      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_001.dbf
      20      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_001.dbf
      21      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_002.dbf
      22      Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_002.dbf
      23      Full 1759422265 09-FEB-13 /esmsrv1/dbs/perfstat_001.dbf
      39      Full 1759422265 09-FEB-13 /esmsrv1/dbs/oem_repository.dbf
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    3481    Full    4M         DISK        00:00:03     09-FEB-13
            BP Key: 3481   Status: AVAILABLE   Tag: TAG20130209T212205
            Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_controlfile_copy_Feb09
      Controlfile Included: Ckp SCN: 1759462488   Ckp time: 09-FEB-13
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    3482    Full    0          DISK        00:00:01     09-FEB-13
            BP Key: 3482   Status: AVAILABLE   Tag: TAG20130209T212212
            Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_spfile_copy_Feb09
      SPFILE Included: Modification time: 08-FEB-13
    ls -l /oradatabkp
    root@drsrv1#ls -l /oradatabkp
    total 1108672
    drwxr-xr-x   2 ovsd       dba             96 Sep 27  2009 alert_bkp
    -rw-r--r--   1 oracle     dba            195 Mar 15  2007 create.sql
    drwxr-xr-x   2 oracle     dba           8192 Aug  7  2009 ctrl_bkp
    -rw-r--r--   1 root       sys        565114880 Apr 24  2007 drsrv1.tar
    drwxrwxrwx   2 root       sys             96 Jun 17  2011 drsrv2-ignitebkp
    drwxr-xr-x   4 root       sys             96 Apr 24  2007 esmsrv1
    -rw-r-----   1 root       sys        1613824 Feb 22  2007 esmsrv1stby.ctl
    -rw-r--r--   1 esmsrv1    dba           5120 Dec 31  2009 esmtables.dmp
    -rw-r--r--   1 esmsrv1    dba            538 Dec 31  2009 esmtables.log
    drwxrwxrwx   4 root       sys           8192 Mar 10  2009 export
    drwxr-xr-x   8 root       sys           8192 Apr 24  2007 finalbackup
    -rw-r--r--   1 oracle     dba           3820 Sep  5  2008 invalid.sql
    -rw-r--r--   1 esmsrv1    dba         303104 Dec 31  2009 kirdevports.dmp
    -rw-r--r--   1 esmsrv1    dba            591 Dec 31  2009 kirdevports.log
    drwxr-xr-x   2 root       root            96 Feb 12  2007 lost+found
    -rw-r--r--   1 oracle     dba          24954 Aug  9  2009 ovcontrol-090909.ctl
    drwxr-xr-x  22 root       sys           8192 Apr 24  2007 ovpi
    drwxr-xr-x   2 oracle     dba           8192 Aug  7  2009 pfile_bkp
    drwxrw-rw-   4 oracle     dba           8192 Feb 10 15:25 rman
    drwxr-xr-x  28 root       sys           8192 Feb  1 17:15 schedbkp
    drwxr-xr-x   2 oracle     dba           8192 Jul 11  2011 sdnnm
    -rw-r--r--   1 esmsrv1    dba           2196 Dec 31  2009 srirdevports.log
    drwxr-xr-x   2 oracle     dba             96 Mar 13  2009 statsreport
    -rw-r--r--   1 oracle     dba            966 Mar 15  2007 tbs.sql
    drwxr-xr-x   5 oracle     dba             96 Mar 16  2007 testov
    drwxr-xr-x   2 root       sys         442368 Mar 11  2009 trendadm_files
    root@drsrv1#ls -l /oradatabkp/rman
    total 37244448
    drwxr-xr-x   2 oracle     dba           8192 Feb 10 15:25 esmsrv1
    -rw-r-----   1 oracle     dba        19068198912 Feb  9 14:21 esmsrv1_full_db_09feb13
    drwxrw-rw-   2 oracle     dba           8192 Feb  9 21:36 openview
    -rw-r--r--   1 oracle     dba         920442 Feb  9 21:37 rmanbkp-all.log

  • Cloning a database using rman where source's dbid changed..

    Any idea on how to .. cloning a database using rman where source's dbid changed..

    if you need to change dbid of target then use DUPLICATE command, see the below links.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008888
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

  • Error while Assigning database level role (db_datareader) to SQL login (Domain Account)

    Team,
    I got an error while creating a User for Domain Account. Below is the screen shot of the error (error : 15401)
    Database instance is on SQL 2000 SP3. ( I know it is out of support, But the customer is relutanct to upgrade)
    On Google search, i found below article which is best matching for this error
    http://support.microsoft.com/kb/324321
    I have follows each step of troubleshooting. But still the issue persists.
    Step 1. The login does not exist == The login is very much exist in the domain as i am able to add the same domain id to other database instances
    Step 2. Duplicate security identifiers == i have used this query to find duplicate SID
    /*  SELECT name FROM syslogins WHERE sid = SUSER_SID ('YourDomain\YourLogin') */
    But there was only one row returned with create date of today's.
    Error while Assigning database level role (db_datareader) to SQL login (Domain Account) 
    Step 3. Authentication failure == Domain is available. User is able to login on other servers via RDP connection.
    Step 4. Case sensitivity == Database collation is set to Case insensitivity. (CI)
    Other two 5. Local Accounts & 6. Name resolution == is not applicable to me.
    I tried other ways also.
    A. Creating login and providing permission in one go only = User account is not created
    B. Instead of GUI, use query to create login and provide required permission = Same error.
    Does anybody has faced any such situation
    Chetan

    See the below output
    srvid
    sid
    xstatus
    xdate1
    xdate2
    name
    password
    dbid
    language
    isrpcinmap
    ishqoutmap
    selfoutmap
    NULL
    0x010500000000000515000000A1F66E1BFC1DC75D26E72530A2B80400
    14
    20:25.9
    57:33.4
    UKBAA\LHRAPPMuttavarapuS
    NULL
    1
    us_english
    0
    0
    0
    Chetan

  • Issue in creating the standby database from Active database using RMAN

    Hi All,
    I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
    Version of Database:11g(11.2.0.1.0)
    Operating System:Linux 5
    Error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Primary Database Entries:
    Tnsentry:
    SONYPRD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)(UR=A)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listner Entry:
    SID_LIST_SONYPRD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtproc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SONYPRD)
    (GLOBAL_DBNAME = SONYPRD)
    Auxiliary Details:
    Tns Entry:
    SONYPRD =
    (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listener Entry in auxiliary:
    SID_LIST_SONYPRDSTBY =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SONYPRDSTBY)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = SONYPRDSTBY)
    TNSPING from Primary DB:
    [oracle@oracle11g ~]$ tnsping sonyprdstby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
    OK (0 msec)
    TNSPING from Auxuliary server
    [oracle@oracle11gstby ~]$ tnsping sonyprd
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
    OK (10 msec)
    Script Used for duplicate:
    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'sonyprd','sonyprdstby'
    set db_unique_name='sonyprdstby'
    set db_file_name_convert='/sonyprd/','/sonyprdstby/'
    set log_file_name_convert='/sonyprd/','/sonyprdstby/'
    set control_files='/u01/app/oracle/oradata/control01.ctl'
    set log_archive_max_processes='5'
    set fal_client='sonyprdstby'
    set fal_server='sonyprd'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
    set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
    Tried the script from both Primary and auxiliary but no luck
    [oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SONYPRD (DBID=3131093559)
    connected to auxiliary database: SONYPRD (not mounted)
    Listener Status from primary:
    [oracle@oracle11g ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-DEC-2012 17:42:17
    Uptime 1 days 0 hr. 26 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "sonyprd.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    Service "sonyprdXDB.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Listener Status from Standby when database bring to Nomount state:
    [oracle@oracle11gstby admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-DEC-2012 16:13:47
    Uptime 0 days 1 hr. 58 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
    Services Summary...
    Service "sonyprdstby" has 1 instance(s).
    Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Please provide any work arounds to proceed further in creating the standby database.
    Thanks,
    Ram.

    Pl do not post duplicates - Issue in configuring Standby Database from Active database in 11g by RMAN

  • How do I move databases using RMAN with minimal downtime ?

    How can I do the following using RMAN ?
    DB version 10.2.0.4
    Redhat 5.2
    I am not using an rman catalogIn the past I have moved large databases from 1 server to another with 5 minutes downtime using backups done the old way by putting tablespaces in backup mode and making copies of the datafiles.
    I used the following method :
    ========> Part 1
    STARTUP NOMOUNT
    CREATE CONTROLFILE REUSE set DATABASE "VPMY" RESETLOGS ARCHIVELOG
    MAXLOGFILES 32
    MAXLOGMEMBERS 3
         ....etc
    LOGFILE
    ......... log file names
    DATAFILE
    ... list of datafiles
    CHARACTER SET US7ASCII;
    ========> Part 2
    Up until the scheduled downtime, I would copy the archive logs from the production server to the new and run the following to apply the latest archive logs:
    RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL;
    ->AUTO<-
    ========> Part 3
    After applying the last archive log while in restrict mode -
    ALTER DATABASE OPEN resetlogs;
    My question is, how do I do Part 2 in RMAN. I have managed to duplicate databases and restore databases using rman to a different server, but this obviously only covers the data upto the backup point. How can I do the above parts 1 -3 with downtime of about 5 minutes like I have done using old methods ?
    Any help is much appreciated/

    you should be able to recover as you go with rman as well..
    copy the archived logs from A to B and apply them as they come in.
    run
    set until sequence x thread 1;
    recover database;
    if you're not opening the database after recovery you can just increment the set until sequence as the logs come in and do a new recovery.

  • Error while creating database in classic appln

    Hi All,
    I am getting this error while creating database in classic application.
    com.hyperion.planning.olap.EssbaseException: Failed to create database, error code [%s] (1013221).
    Can anyone please let me know why I am getting it?
    Thanks in advance

    Can you check for a more specific error code in the Application log? There can be various reasons for this:
    1. For data storage and binary installation, Essbase supports the use of any disk array device mounted with a local file system interface (for example, NTFS, HPFS, JFS, VxFS, and UFS). A disk array mounted using NFS or CIFS is not supported.Use any disk array device mounted with a local file system interface (for example, NTFS, HPFS, JFS, VxFS, and UFS).
    2. Error occurs when deploy Planning application with double byte enabled. When the plan name is changed to English, deploy will be successful. This issue can be fixed by setting Correct Essbase ESSLANG system value.
    3. The Essbase User that creates the application and DB folders has default ACL rw-rw-rw which does not allow the essbase app to create files inside the folder.
    HTH-
    Jasmine.

Maybe you are looking for

  • I would like to know which instrument driver works for the Tektronix TDS 544A

    I am trying to use TDS544A with CVI and downloaded the driver for TDS 540 and it didnt seam to work... should it? If not, which one will???

  • Getting the IP Address/host ID of a unix machine

    Hi, In my java program I am using this code to get the IP Address of a windows machine. InetAddress inetAdd = InetAddress.getLocalHost(); String host_Name_IP = inetAdd.toString();I want to know if the same thing works in the unix machine also. If no

  • Inconsistent "End of file error" on "open for access "myFile.txt"

    I have a script that accesses a txt file containing info needed for values in the script. Sometimes the script works flawless, but once I get the "End of file error," it won't work right anymore unless I log out and log back in or if I dump the file

  • Service contracts expiry notification !

    Hi all, need to know whether any setups has to be made for notifcation of contracts (when the contracts are 10 days ahead ) to expire the notification shld start firing for multiple contacts say contract manager , contract approver & ceo of the compa

  • JITO1 show "cannot be executed"

    Hi experts,   We need to use JIT calls and I run JITO1. The error message return "transaction code JITO1 cannot be executed". I have checked SFW5 and enable enterprise_functions & enterprise_bussiness_functions. I found it's very strange. Sometimes I