Manual Standby Database not in sync with missing archivelogs

Hello,
OS: Solaris
DB: Oracle 11.2.0.1 EE
Not Using ASM or RAC
I have a Production database that is in archivelog mode and a Standby DR server.
Both servers (Prod, Standby) have exact same structure and db name/version.
We manually scp archive logs and recover them to a manual standby database via SQL Scripts "cron". (I.E. set autorecovery on; recover standby database;)
We recently got out of sync with our log files and have not been applying them to the standby. As part of Prod Maintenance, these log files were deleted and are not available anymore.
I've tried several ways to "rebuild" our standby database. I have tried to Shutdown prod, backup all the db files and scp them to standby, re-create standby controlfile and startup mount and recover standby.
Every time I try to apply a new archive log via recover standby, these are the errors:
ORA-00279: change 211077622 generated at 1/27/2012 12:18:42 needed for thread 1
ORA-00289: suggestion : /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
ORA-00280: change 211077622 for thread 1 is in sequence #69486
ORA-00308: cannot open archived log '/oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-10879: error signaled in parallel recovery slave
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradevices/PROD/oraPRODsystem1.dbf'
When I check v$log_history, the new logs have not been applied.
I've also tried the "Restore from incremental backup via SCN" method with same results.
Is there a way to re-create the standby clean and ensure that the log chain that is currently broken gets fixed or reset?
I would eventually like to get DataGuard in here, but that's not the case at the moment.
Thanks for your suggestions.
-Dav

if you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
1. remove
all the datafiles and controlfiles from the standby database.
2. Create a new standby controlfile of the production for standby using the following cmd
'alter database create standby controlfile as 'Location';'
3. move the new controlfile to standby database server location as specified in initialization parameter file.
4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
5. startup nomount
6. alter database mount standby database;
7. recover standby database.
scp the archive log sequence that is asked by the database, from production.
You can try this steps.

Similar Messages

  • Issue with physical standby database not in sync with primary

    Hi,
    I created an physical standby database couple of Hours back . I am trying to keep the standby database in Managed recovery mode to make the standby in sync with primary but it is throwing the below erros. Please share your suggestion ...
    SQL> select thread#,max(sequence#) from v$log_history group by thread#;
    THREAD# MAX(SEQUENCE#)
    1 7
    PROCESS STATUS THREAD# SEQUENCE#
    ARCH CONNECTED 0 0
    ARCH CONNECTED 0 0
    RFS OPENING 1 12
    ALERT LOG :
    Tue Mar 20 07:31:32 2012
    alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:32 2012
    Attempt to start background Managed Standby Recovery process (PRIMARY)
    MRP0 started with pid=18, OS id=16370
    Tue Mar 20 07:31:32 2012
    MRP0: Background Managed Standby Recovery process started (PRIMARY)
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 8 processes
    Media Recovery Log /oracle/STDBY/arch/1_3_777567883.dbf
    Tue Mar 20 07:31:39 2012
    Completed: alter database recover managed standby database disconnect from session
    Tue Mar 20 07:31:54 2012
    Incomplete recovery applied all redo ever generated.
    Recovery completed through change 9677325080303
    Tue Mar 20 07:31:54 2012
    MRP0: Media Recovery Complete (PRIMARY)
    Tue Mar 20 07:31:55 2012
    MRP0: Background Media Recovery process shutdown (PRIMARY)
    Thanks,
    Rakesh

    HI CKPT,
    Thanks for the reply. All the Archives from primary are transferred to the standby by RFS. Also i tried to register the log files manually even but it says already registered. They are no errors in the primary instance alert log file. Please find the log
    SEVERITY ERROR_CODE MESSAGE TO_CHAR(TIMESTAMP,'D
    Informational 0 ARC0: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC1: Archival started 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no FAL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC0: Becoming the 'no SRL' ARCH 20-MAR-2012 06:51:36
    Informational 0 ARC1: Becoming the heartbeat ARCH 20-MAR-2012 06:51:36
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 06:52:07
    Informational 0 -- Connected User is Valid 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Assigned to RFS process 15934 20-MAR-2012 06:52:07
    Informational 0 RFS[1]: Identified database type as 'physical standby' 20-MAR-2012 06:52:07
    Warning 0 RFS[1]: No standby redo logfiles created 20-MAR-2012 06:52:07
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:52:42
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:52:42
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:52:47
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:52:49
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:53:04
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:53:06
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:53:24
    Control 0 Media Recovery Complete 20-MAR-2012 06:53:43
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:54:55
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:54:55
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:55:00
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:55:01
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:55:17
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:55:18
    Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 07:31:03
    Informational 0 -- Connected User is Valid 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Assigned to RFS process 16366 20-MAR-2012 07:31:03
    Informational 0 RFS[2]: Identified database type as 'physical standby' 20-MAR-2012 07:31:03
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:04
    Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:06
    Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 07:31:32
    Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 07:31:32
    Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 07:31:37
    Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 07:31:38
    bf
    Control 0 MRP0: Media Recovery Complete 20-MAR-2012 07:31:54
    Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 07:31:55
    36 rows selected.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /oracle/STDBY/arch/
    Oldest online log sequence 13
    Next log sequence to archive 0
    Current log sequence 14
    SQL> ho ls -ltra /oracle/STDBY/arch/
    total 3754456
    drwxr-xr-x 4 oracle dba 4096 Feb 13 17:38 ..
    -rw-r----- 1 oracle dba 908516864 Mar 20 06:37 1_8_777567883.dbf
    -rw-r----- 1 oracle dba 770419200 Mar 20 06:40 1_3_777567883.dbf
    -rw-r----- 1 oracle dba 757698048 Mar 20 06:41 1_4_777567883.dbf
    -rw-r----- 1 oracle dba 5171712 Mar 20 06:41 1_5_777567883.dbf
    -rw-r----- 1 oracle dba 1060801024 Mar 20 06:43 1_6_777567883.dbf
    -rw-r----- 1 oracle dba 323025920 Mar 20 06:43 1_7_777567883.dbf
    -rw-r----- 1 oracle dba 1558016 Mar 20 06:43 1_9_777567883.dbf
    -rw-r----- 1 oracle dba 4608 Mar 20 06:43 1_10_777567883.dbf
    -rw-r----- 1 oracle dba 1579008 Mar 20 06:52 1_11_777567883.dbf
    -rw-r----- 1 oracle dba 11876864 Mar 20 07:31 1_12_777567883.dbf
    -rw-r----- 1 oracle dba 2560 Mar 20 07:31 1_13_777567883.dbf
    drwxr-xr-x 2 oracle dba 36864 Mar 20 07:31 .
    SQL>

  • Logical Standby Database Not Getting Sync With Primary Database

    Hi All,
    I am using a Primary DB and Logical Standby DB configuration in Oracle 10g:-
    Version Name:-
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE 10.2.0.5.0 Production
    TNS for Solaris: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    We have build the logical standby last week and till date the Logical DB is not sync. I have checked the init parameters and I wont see any problems with it. Also archive log destinations are also fine enough.
    We have a important table named "HPD_HELPDESK" where record count is growing gradually whereas in logical standby it's not growing. There are some 19K record difference in the both the tables.
    I have checked the alert log but it is also not giving any error message. Please find the last few lines of the alert log in logical Database:-
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1703_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 14:56:52 GMT 2012
    RFS[2853]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 14:56:58 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 14:57:00 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1704_790996778.arc] to LogMiner session id [1]
    Tue Aug 28 15:06:40 GMT 2012
    RFS[2854]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
    Tue Aug 28 15:06:47 GMT 2012
    RFS LogMiner: Client enabled and ready for notification
    Tue Aug 28 15:06:49 GMT 2012
    RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1705_790996778.arc] to LogMiner session id [1]
    I am not able to trace the issue that why the records are not growing in logical DB. Please provide your inputs.
    Regards,
    Arijit

    How do you know that there's such a gap between the tables?
    If your standby db is a physical standby, then it is not open and you can't query your table without cancelling the recovery of the managed standby database.
    What does it say if you execute this sql?
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;The ARCH processes should be connected and MRP waiting for a file.
    If you query for the archive_gaps, do you get any hits?
    select * from gv$archive_gapIf you're not working in a RAC environment you need to query v$archive_gap, instead!
    Did you check whether the archives generated from the primary instance are transferred and present in the file system of your standby database?
    I believe your standby is not in recovery_mode anymore or has an archive_gap, which is the reason why it doesn't catch up anymore.
    Hope it helps a little,
    Regards,
    Sebastian
    PS: I'm working on 11g, so unfortunately I'm not quite sure if the views are exist in 10gR2. It's worth a try though!
    Edited by: skahlert on 31.08.2012 13:46

  • Switchover of a manual standby database (no data guard)

    Hi all,
    I have a standby database .
    I am using Oracle Standard Edition 10.2.0.4 / 10.2.0.5 so I have build a manual standby .
    I am able to do a failover in the case something goes wrong; I was thinking if it is possible to do a manual switchover . and failback.
    Do you thick that mounting the primary database and applying ALL archivelogs and online redolog to the standby database is enough ?
    Do you think this is a supported operation?
    How can I check the current scn of a mounted database? (v$database.current_scn shows 0 until the database is opened )
    thnk you for every answer
    Andrea

    helter_skelter wrote:
    hi,
    You can see current_scn of standby database in v$database.current_scn. It is null only on primary database if it's in mount state.that's the problem: I am unable to mount both database and to check they have the same current_scn
    not all changes are written to ARL so you can't recover standby database to exact the same SCN as primaryI thinks this is because the last changes are only recorder in online redolog, so I was thinking that a possible way to simulate a clean switchover could be as follow:
    1 - shutdown immediate the primary database on server prod1
    2 - shutdown abort the (manual) standby database on server dr2
    3 - copy archivelog, controlfiles, tempfiles, onlinelogs from primary to the standby database
    3 - copy controlfiles from standby database to primary database
    4 - open the database on server dr2. It should open "read write" cleanly (mount + recover from archivelog + recover from onlinelog + open noresetlogs )
    5 - mount the database on server prod1. It should mount as a physical standby database.
    What do you think about it?
    thanks,
    andrea

  • Standby Database not syncronized with primary.

    DB: 10.2.0.4.0
    OS RedHat Linux
    My standby Database not syncronized with primary, because of space issue mrp process was stopped.
    During that we added 4 datafile in primary database in that case how we can sync standby database?
    There are no unamed files on standby database.
    SQL> select name from v$datafile where name like '%UNNAME%';
    no rows selected

    Prath wrote:
    When i trying to recover database getting below error:
    Starting recover at 11-DEC-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/11/2010 12:00:23
    RMAN-06094: datafile 73 must be restored
    Note: Datafile 73 not available on standby database.Execute select name from v$datafile statement from standby and post there.
    (Of course you can rebuild standby database again ,create standby controlfile and copy all datafiles)

  • Oracle manually standby database with standard edition

    Hi, I want to have a plan for disaster. I'm triying with two virtual machines with oracle database 10g on suse linux. I follow these URLs
    http://www.dbasupport.com/oracle/ora10g/manual_standby.shtml
    http://oramdq.blogspot.com/2009/05/como-configurar-un-sistema-de-alta.html
    and it look that work all right.
    I know that with manually standby database we applied archived logs, and so, we don't propagate any physical changes to secondary database (standby), for example, if I create a new tablespace, or adding a new datafile to an existing tablespace, it don't work in the secondary database.
    Anyone does know how is the better way to apply the physical changes??
    Anyone have any scripts to do that?
    Thanks in advance.

    HI,
    Add the STANDBY_FILE_MANAGEMENT = AUTO to the primary parameter file, it will solve it.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams209.htm]
    Reagds,
    Vijayaraghavan K
    Edited by: Vijayaraghavan Krishnan on Feb 24, 2010 7:19 PM

  • To Dos not syncing with Missing Sync

    When syncing with Missing Sync 6.0, my events sync fine. However, my tasks from my Tungsten E2 do not show up in the To Dos list on iCal. If I search in iCal, I can find them by name, but they do not show up in a list in the To Do pane. Any suggestions?

    Same here. After the update to 10.5 I have succesfully done one sync between my Treo and iCal using MissingSync. Now iCal gives an error, see below. What is the workaround? Downgrading to 10.4.x? Or get an iCal 2 somewhere and run that?
    I really want to get my ToDo and Calendar data from my Treo before I go from my Treo 650 to an iPhone. Any workaround is welcome.
    iCal says:
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] 2008-02-12 16:07:25.184 iCalExternalSync[749:10b] [ICalExternalSync ]Encountered [ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] owner = (
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] "Event/p5333"
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] );
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] triggerduration = -300;
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] }
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] 2008-02-12 16:07:25.185 iCalExternalSync[749:10b] [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:[ISyncConcreteSession pushChangesFromRecord:withIdentifier:]: you can't change the record's entity name from com.apple.calendars.DisplayAlarm to com.apple.calendars.AudioAlarm in {
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] "com.apple.syncservices.RecordEntityName" = "com.apple.calendars.AudioAlarm";
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] owner = (
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] "Event/p5333"
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] );
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] triggerduration = -300;
    12/02/2008 16:07:25 [0x0-0x1e01e].com.apple.iCal[191] }

  • Manual Standby Database

    Hi,
    I have ORACLE 10.2.0.3.0 64 bit SE1 running on a RHEL4 server. I have a backup server on which I need to create a manual standby database for a (poor man's) high availability environment. We have explored RAC, Dataguard etc and given them up for cost considerations. We understand the potential of up to 15 minutes data loss. I know the general steps necessary to set up the manual standby server. For example, I know I need a cold (or hot) backup of the primary to reset my standby database. Then I need to create the standby control file. I need to write deamon processes to ship the archive logs to the standby server and apply those logs to the database. I am new to ORACLE and would appreciate some specific advice.
    (1) Should I use DBCA to create the database on the standby server first? My impression is that using DBCA will set up the enterprise manager, isqlplus and the relevevant entries in oratab etc on the standby server. If I simply install ORACLE 10g on the standby and copy the backup files from the primary server, I will not have access to the database tools that come with ORACLE 10g.
    (2) Can someone please share the scripts you may have written? or point me to some skeleton scripts?
    (3) What are the failure points for manual standby databases? What do I need to pro-actively monitor? For example, if the logs are not being applied properly to the standby database for a prolonged period, I would like to know about it.
    (4) What are the procedures for recovering from a failed master database?
    (5) Where can I learn more about the subject? I will need specific commands to setup the standby. Are these procedures documented somewhere?
    Thanks!
    - Rajesh

    Try this one Manual Standby Database under Oracle Standard Edition
    Or search the subject on google, many results.
    No, you will not create "standby" using DBCA, you need to use primary's backup to restore on standby server and constantly recover.

  • Dataguard configured using RMAN not in sync with Primary

    Hi All.
    I have configured physical standby using RMAN it has errored out as below message since the Physical standby is came in Mount state and it is not in sync with Primary.
    $ rman target sys/oracle1@PROD_st_STBY auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jul 29 13:27:02 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: PROD_ST (DBID=609107922)
    connected to auxiliary database: PROD_ST (not mounted)
    RMAN> duplicate target database for standby dorecover;
    Starting Duplicate Db at 29-JUL-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=156 device type=DISK
    contents of Memory Script:
    set until scn 239665;
    restore clone standby controlfile;
    executing Memory Script
    executing command: SET until clause
    Starting restore at 29-JUL-12
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/07ngg1p6_1_1
    channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/07ngg1p6_1_1 tag=TAG20120719T140110
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/oracle1/oraerp/PROD_st/cont_.ctl
    Finished restore at 29-JUL-12
    contents of Memory Script:
    sql clone 'alter database mount standby database';
    executing Memory Script
    sql statement: alter database mount standby database
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/29/2012 13:27:29
    RMAN-05501: aborting duplication of target database
    RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/undotbs1.dbf conflicts with a file used by the target database
    RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/sysaux.dbf conflicts with a file used by the target database
    RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/system01.dbf conflicts with a file used by the target database
    RMAN>
    SQL> select name,open_mode from v$database;
    NAME OPEN_MODE
    PROD_ST MOUNTED
    SQL> select name,db_unique_name,database_role from v$database;
    NAME DB_UNIQUE_NAME DATABASE_ROLE
    PROD_ST PROD_st_STBY PHYSICAL STANDBY
    SQL>
    SQL> alter database recover managed standby database disconnect;
    Database altered.
    SQL>
    SQL> alter system set log_archive_dest_state_2=enable;
    System altered.
    SQL> sho parameter log_archive_dest_2
    NAME TYPE VALUE
    log_archive_dest_2 string LOCATION=/oracle1/oraerp/PROD_
    st/arch/ VALID_FOR=(ALL_LOGFIL
    ES,ALL_ROLES)
    On Primary
    ==========
    SQL> SELECT THREAD# "Thread",SEQUENCE# "Last Sequence Generated"
    FROM V$ARCHIVED_LOG
    WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)
    ORDER BY 1; 2 3 4
    Thread Last Sequence Generated
    1 281
    ON STANDBY
    SQL> SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
    2 FROM
    3 (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
    4 (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
    5 WHERE
    6 ARCH.THREAD# = APPL.THREAD#
    ORDER BY 1; 7
    no rows selected
    SQL>
    SQL> SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP;
    no rows selected
    SQL>
    Please suggest solution.
    Best Regards,
    Edited by: user13707876 on 19-Jul-2012 02:04

    Hi,
    It has worked now since error with warnings encountered as below:
    $ rman target sys/oracle1@PROD_st_STBY auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jul 29 15:57:39 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: PROD_ST (DBID=609107922)
    connected to auxiliary database: PROD_ST (not mounted)
    RMAN> duplicate target database for standby nofilenamecheck;
    Starting Duplicate Db at 29-JUL-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=156 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 29-JUL-12
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/0enggc17_1_1
    channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/0enggc17_1_1 tag=TAG20120719T165607
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/oracle1/oraerp/PROD_st/cont_.ctl
    Finished restore at 29-JUL-12
    contents of Memory Script:
    sql clone 'alter database mount standby database';
    executing Memory Script
    sql statement: alter database mount standby database
    contents of Memory Script:
    set newname for tempfile 1 to
    "/oracle1/oraerp/PROD_st/temp01.dbf";
    switch clone tempfile all;
    set newname for datafile 1 to
    "/oracle1/oraerp/PROD_st/system01.dbf";
    set newname for datafile 2 to
    "/oracle1/oraerp/PROD_st/sysaux.dbf";
    set newname for datafile 3 to
    "/oracle1/oraerp/PROD_st/undotbs1.dbf";
    set newname for datafile 4 to
    "/oracle1/oraerp/PROD_st/users01.dbf";
    restore
    clone database
    executing Memory Script
    executing command: SET NEWNAME
    renamed tempfile 1 to /oracle1/oraerp/PROD_st/temp01.dbf in control file
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 29-JUL-12
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to /oracle1/oraerp/PROD_st/system01.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00004 to /oracle1/oraerp/PROD_st/users01.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/09nggc0j_1_1
    channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/09nggc0j_1_1 tag=TAG20120719T165547
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00002 to /oracle1/oraerp/PROD_st/sysaux.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00003 to /oracle1/oraerp/PROD_st/undotbs1.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/08nggc0j_1_1
    channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/08nggc0j_1_1 tag=TAG20120719T165547
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 29-JUL-12
    contents of Memory Script:
    switch clone datafile all;
    executing Memory Script
    datafile 1 switched to datafile copy
    input datafile copy RECID=1 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=2 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/sysaux.dbf
    datafile 3 switched to datafile copy
    input datafile copy RECID=3 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/undotbs1.dbf
    datafile 4 switched to datafile copy
    input datafile copy RECID=4 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/users01.dbf
    ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/oracle1/oraerp/PROD_st/redo.log'
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 2 thread 1: '/oracle1/oraerp/PROD_st/redo_2.log'
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 5 thread 0: '/oracle1/oraerp/PROD_st/log5.log'
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 6 thread 0: '/oracle1/oraerp/PROD_st/log6.log'
    RMAN-05535: WARNING: All redo log files were not defined properly.
    Finished Duplicate Db at 29-JUL-12
    RMAN>
    So please suggest can i rename them all redolog file.
    Best Regards,

  • Business partner creation - Not in sync with customer numbers -

    Hi All
    I am trying to do the BP conversion in collections management.
    The customer number range for account group ZXXX  is (80000 to 89999) and the external number range flag is not selected.
    I have created created a number range Y2 through BUCF, with numbers from (80000 to 89999), I did not choose external flag, thinking it should be same as customer number range. I have created a BP group ZXXX and assigned this number range Y2.
    Later when I did the BP conversion through MDS_LOAD_COCKPIT, I observed that the BPs are not in sync with the customer numbers.
    So my question, should I have choosen external number range flag in BUCF, even though its not selected in the customer number range? Has this caused the issue?
    Please help me understand this and rectify this issue.
    thanks in advance.
    Krishna

    Hi Christobal,
    Thank you so much for you response. 
    As suggested, I have checked BP number range as external. Later when I ran MDS_LOAD_COCKPIT, I get the below messages
    Grouping ZXXX has external number assignment, enter a number
    Partner data processed with key PartnerGUID 4E1BD7375F080AE0E10080000A5B030E
    Grouping ZXXX has external number assignment, enter a number
    So is there any other setting which I might be missing?
    Please advise.
    Thanks
    Krishna

  • How to shift Manual Standby Database to Primary Database

    Hi all,
    My Database edition is Oracle 10G standard Edition and runing 24X7 and configure Manual Stand by Database. if I were changing some iniliazation parameter and datafiles.
    What can I do ?
    i) How to swift the Manual Stand by Database to Primary Database.
    ii) What is the procedure by step by step information need.
    Regards.....

    If you're using a Manual Standby Database I assume you are using a pfile to apply the archived logs transported from the primary database created while creating the Manual Standard. at that time you should have kept the spfile in place too.
    If you have done this, then you can simply open an SQL*Plus session connect as sysdba and issue a simple STARTUP command.
    This will use the SPFILE by default and your database will be opened normally.
    But if you don't have an SPFILE you can always create one, just specify the necessary control files (not the standby control file) in your pfile, remove unwanted parameters and create the spfile, and use the same step as above and issue a STARTUP.
    But once you open your standby database normally you will not be able to switch back to standby mode, you have to recreate it again from a cold backup and create a new standby control file.
    Regards,
    Tony

  • SPL not in sync with overview

    Still in logic 8.0.2.
    When using specific plug-ins like limiter, TC linearphase eq et cetera, the timeline spl is not in sync with the waveform overview during playback.
    Is this normal or expected behaviour?
    Anything I can change? Its hard to cut regions, when you do not see what you hear.
    Yes, I could bypass the plugs, but thats stupid, isn't it? And yes, delay compensation is set to all. Wish that was fixed.
    Eddie

    seems to be a " specific limiter, TC liearphase eq et cetera" problem...
    you need to manually compensate or.. wait for TC update.
    ... anyway . try to delete preferences of Logic and specific TC plugs
    G

  • I am using windows 7 and itunes 11.7 my i phone 5s is not getting synced with my laptop it keeps showing backing up  please help i need to put music in my phone?

    i am using windows 7 and itunes 11.7 my i phone 5s is not getting synced with my laptop it keeps showing backing up  please help i need to put music ?

    Hi,
    Have you managed to solve this problem? if yes, please highlight how you solved it...i'm facing same problem with my new Iphone 5S but udner Windows, thanks.

  • Have tried to install icloud 4.0 for windows and again it does not allow syncing with outlook 2013 calendar and contact using windows 8.1 and IOS 8.02 (unexpected error)? I thought itunes 12.0 and icloud 4.0 would solve issue but still same result.

    I have tried to install icloud 4.0 for windows and again is does not allow syncing with outlook 2013 calendar and contact, using windows 8.1 and IOS 8.02 (get - unexpected error)?

    Having same issues. had been syncing every few days with outlook 2007 contacts and calendar but since updated to 4.0.2 and latest itunes I get an error that it is unable to sync. I can't seem to find any solution.

  • Audio not in sync with video in imovie 08 version 7.1.1

    I am importing many Hi 8 tapes using a Sony video walkman GV-D800 thru a firewire 400 port on my Macbook pro, when I play it back in imovie the audio/voice is not in sync with the lip movement of the people in the video, there is a 1-3 second delay. If I play back the same video I captured using QuickTime Player there are no sync problems? I am new at this so what am I doing wrong?
    BTW. I also imported HDV using my HDV camera and there are no sync problems at all. Any suggestions are appreciated.

    Welcome to the  Discussion Forums.
    Is this delay present on your exports or is it merely when previewing in imovie.

Maybe you are looking for

  • Encountering error in creating a new resource

    Hi All, I am encountering the following error when I try to create a new resource. The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.StructureValue

  • I am not able to open my file! Captivate 5

    I don't know who else to send this to right now, but I have been working on a project that is DUE.  I am not sure why, but I am not able to open the file.  Please help me are direct me to someone that can. Here's the error message received: Adobe Cap

  • Just want to say thanks for the help....

    i am recovering from cervical spine surgery and being board my wife told me to find something to do so i got this r61 from my neice(for free)it's in mint condition looks like she never used it,(she didn,t have a finger touch board and didn't like it)

  • Two CalType not working together

    Hi,    I have one pricing procedure. I have created two 971 & 981 routines (CalType) as per my requirements. The issue is that both the routines are not working correctly if they are assigned together is the pricing procedure. But if I assign any one

  • An interesting abap dump in MV45AFZZ  when delete order

    Hi all. In 'userexit_save_document_prepare' form of MV45AFZZ which is the SO order save uerer exit, I insert 'message e398(00)...'. When I save the order , the message does work. When I delete the order , program dump on message . Because ... During