Standby sync problem.

Hi,
DB Version:10g R2
OS:LINUX
We have configured the physical standby database and it was running as expected, but due to some un know reasons one of the archivelog at primary side has been deleted and it is no longer available to be transferred and applied at standby side and hence now standby is not sysnc with primary DB. In this case how i can make the standby in sync with primary DB.
No backup of delete archivelog is avaliable.
I really appreciate the help.

Hi
THIS WORKS TRY THIS
In 10g you can use an incremental backup and recover the standby using the same to compensate for the missing archivelogs as shown below
In the case below archivelogs with sequence numbers 137 and 138 which are required on the standby are deleted to simulate this problem.
Step 1: On the standby database check the current scn.
STDBY>>select current_scn from v$database;
CURRENT_SCN
4793543
Step 2: On the primary database create the needed incremental backup from the above SCN
C:\Documents and Settings\frego>rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Oct 25 13:39:04 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: USYD (DBID=768471617)
RMAN> BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 4793543 DATABASE
FORMAT 'C:\temp\bkup_%U';
Starting backup at 25/OCT/06
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\USYD\SYSTEM01.DBF
input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\USYD\UNDOTBS01.DBF
input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\USYD\SYSAUX01.DBF
input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\USYD\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 25/OCT/06
channel ORA_DISK_1: finished piece 1 at 25/OCT/06
piece handle=C:\TEMP\BKUP_02I0NSNE_1_1 tag=TAG20061025T134102 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 25/OCT/06
channel ORA_DISK_1: finished piece 1 at 25/OCT/06
piece handle=C:\TEMP\BKUP_03I0NSOI_1_1 tag=TAG20061025T134102 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
Finished backup at 25/OCT/06
Step 3: Cancel managed recovery at the standby database
STDBY>>recover managed standby database cancel;
Media recovery complete.
Move the backup files to a new folder called INCR_BACKUP so that they are the only files in that folder.
Step 4: Catalog the Incremental Backup Files at the Standby Database
C:\oracle\product\10.2.0\db_1\database>rman target /
Recovery Manager: Release 10.2.0.2.0 - Production on Wed Oct 25 14:54:27 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: USYD (DBID=768471617, not open)
RMAN> CATALOG START WITH 'C:\temp\INCR_BACKUP';
searching for all files that match the pattern C:\temp\INCR_BACKUP
List of Files Unknown to the Database
=====================================
File Name: C:\TEMP\INCR_BACKUP\BKUP_02I0NSNE_1_1
File Name: C:\TEMP\INCR_BACKUP\BKUP_03I0NSOI_1_1
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: C:\TEMP\INCR_BACKUP\BKUP_02I0NSNE_1_1
File Name: C:\TEMP\INCR_BACKUP\BKUP_03I0NSOI_1_1
Step 5: Apply the Incremental Backup to the Standby Database
RMAN> RECOVER DATABASE NOREDO;
Starting recover at 25/OCT/06
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=151 devtype=DISK
channel ORA_DISK_1: starting incremental datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
destination for restore of datafile 00001: C:\ORACLE\PRODUCT\10.2.0\ORADATA\STDB
Y\SYSTEM01.DBF
destination for restore of datafile 00002: C:\ORACLE\PRODUCT\10.2.0\ORADATA\STDB
Y\UNDOTBS01.DBF
destination for restore of datafile 00003: C:\ORACLE\PRODUCT\10.2.0\ORADATA\STDB
Y\SYSAUX01.DBF
destination for restore of datafile 00004: C:\ORACLE\PRODUCT\10.2.0\ORADATA\STDB
Y\USERS01.DBF
channel ORA_DISK_1: reading from backup piece C:\TEMP\INCR_BACKUP\BKUP_02I0NSNE_
1_1
channel ORA_DISK_1: restored backup piece 1
piece handle=C:\TEMP\INCR_BACKUP\BKUP_02I0NSNE_1_1 tag=TAG20061025T134102
channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
Finished recover at 25/OCT/06
Step 6: Put the standby database back to managed recovery mode.
STDBY>> recover managed standby database nodelay disconnect;
Media recovery complete.
From the alert.log you will notice that the standby database is still looking for the old log files
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 137-137
DBID 768471617 branch 600609988
This is because the controlfile has not been updated.
Hence the standby controlfile has to be recreated
On the primary
PRIM>>alter database create standby controlfile as 'C:\temp\standby01.ctl';
System altered.
Copy the standby control file to the standby site and restart the standby database in managed recovery mode...
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 2 processes
Media Recovery Waiting for thread 1 sequence 139
As you can see from the above output the standby is now looking for the next archivelog.
If you have the luxury of time at your disposal you can do an export of the standby database in read only mode.
Cheers
Kanchana.

Similar Messages

  • How to debug ACE FT Sync Problems ?

    Hello,
    in one of our contexts we have a sync problem on the standby unit.
    "sh ft group detail" gives
    "Running cfg sync status : Error on Standby device when applying configuration file replicated from active", while "Startup cfg sync status" is OK.
    "sh crypto files" and "dir disk0:" produce the same output on both ACE units.
    How can we analyze the problem ?

    Hi Gilles,
    unfortunately I can not see a meaningful message. Can you please have a look at the attachments (taken from the standby machine) ?
    Thank you very much in advance.

  • I have set up my new iPad 2 on my windowsn 7 computer, but experienced syncing problems from the start. It seems that it doesn't recognize the iPad, although it appears in iTunes.It only gives set up as new or restore options.

    I have set up my new iPad 2 on my computer (Windows 7), but experienced syncing problems from the start.  It seems that although my iPad is regognized in iTunes as it appears there, it only gives met the options to set up as a new iPad or restore from the backup, no synching options. What do I do?

    File>Devices>Transfer Purchases will transfer the itunes purchases to your ocmputer.
    You should sync your ipod to your computer regularly.

  • 'Source play' and 'audio-video sync' problems with PE8 on fast WIN7 64 bit computer

    I am transferring Hi8 videos, about 2 hours long, to my WIN7 64 bit computer with PE8.  [Dell Mobile Precision M4400 Computer Workstation (Intel Core 2 Duo T9900 500GB/4GB); NVIDIA Quadro FX 770M, 512MB] I seem to have several problems: 
    First, after importing the file (.avi), I get a message about ‘dropped frames.’ 
    Secondly, when I try to play the video in the source monitor, the audio plays but the video doesn’t; it only shows the first frame [this is after waiting until the video is ?recognized? ]   I can use the shift-arrow key and see that the video is there.
    Thirdly, I can play the .avi file in other players, e.g., avidemux or PE pro CS5 on another computer.  There, I see that the audio and video are not in sync; the audio can be up to 300 ms ahead of the video (as determined using avidemux). 
    Questions:
    1.  Why doesn’t the source monitor play the video? Is this a problem with PE8 (latest update as of 3 March 2011) on aWIN7 64 bit computer (intel duo core. 3 GHz).
    2. Is the audio-video sync problem the result of the ‘dropped frames?’ How can PE8 correct this? Avoid this? Or, is it coincidence?

    "I think you're telling me you're using a backwards compatible Digital8  camcorder to capture your video as DV-AVIs. Is that right?" YES
    "Are you using  Premiere Elements to do this capturing?" YES, AS ABOVE PE8
    "Go to the File menu and select Properties. It should show a standard DV codec being used for your video and audio."
    WMP v12 is dumb. Under properties, media, it says 'video.'  However, avidemux gave me the information state above: video -- Codec 4CC: dvsd, frame rate: 29.971 fps; audio -- codec: PCM, channels: Stereo, frequency: 48 kHz.
    So, back to the Questions:
    1.  Why doesn’t the source  monitor play the video? Is this a problem with PE8 (latest update as of 3  March 2011) on aWIN7 64 bit computer (intel duo core. 3 GHz).
    2. Is the audio-video sync problem the result of the ‘dropped frames?’ How can PE8 correct this? Avoid this? Or, is it coincidence?

  • Owning 2 iphones with one Apple account has = Sync Problems.

    Owning 2 iphones with one Apple account has = Sync Problems.  iTunes is thinking my old iphone 4 is the same phone as my iphone 5C.  When I plugged in my iphone 5C it auto synced my 5C to iTunes and it wiped my 5C and restored it to the same content as is on my iPhone 4.  This is a big problem since my 5 year old has been using the iPhone 4.  It's all Mickey Mouse and Backyardigans.  (Total photo/app/contacts loss)
    I was able to update the 5C and restore from a 3 month old backup that is actually the content from the 5C but now when I plug in my 5C it wants to "setup as new phone" or "restore from backup"  What's going on?  I'm afraid to choose either option.
    How can I get iTunes to see these devices as 2 and not one?
    Can I use my Apple ID on both phones still or is this the problem?

    They were both displaying the same name in iTunes.  I changed the name of the iPhone 4 before the 5C was plugged in but it still went ahead with syncing it to the 4's data.

  • Outlook 2003 + iPhone calendar sync problem solved

    Here is how I solved my sync problem. Seems a lot of people have the same problem here with Outlook sync suddenly not working after it worked fine for a long time.
    I've had Outlook 2003 calendar sync with my iPhone for a few month without any problem, but a few days ago the sync suddenly stopped without any error message. iTunes Diagnostic found no problem and I followed all the steps that Apple outlines to fix the problem but nothing worked (TS2776).
    As Apple asked to, I created a new user account on my Windows machine and setup a few test calendar entries to sync with my iPhone. That all worked fine.
    So I did what Apple doesn't tell you, and I copied my original Outlook Data file (.PST) over to my new user account and tried to sync that one. Now this didn't work. So I knew the problem lies somewhere in my PST file.
    I have then tried to create a new one from scratch in my original Windows account, and copy all the data over. Again, it didn't work. So I emptied the file again, and copied all my calendar entries over to the new PST file in batches (first 10, then another 10, etc).
    What I found at the end is that one single calendar entry I created a few days ago caused my sync to stop working. Once I removed this entry, everything worked fine again. Don't ask me what was wrong with it (I made a backup just in case Apple wants to see it), but now everything works again.
    If you want to save some time to find which one it is, you may start deleting entries that you created just recently before it stopped working.
    Hope that helps.

    Hi im having the same problem. I use outlook 2003 on windows xp and until recently my sync (using usb) was working fine. Now it would seem that calendar items are no longer syncing. can you give any further details of the calendar entry which was causing your problem? im wondering if it was added on a certain date perhaps.
    I am running the inbox repair tool to see if my pst file has any problems but would appreciate any other help in the mean time.
    Cheers

  • How can I sync my IPOD Nano 4 to iTunes on my PC? I've already tried the sync button on iTunes and it says it is synced. I've also tried the 5 steps recommended by Apple to fix sync problems with no luck.

    How can I sync my ipod nano 4 to iTunes on my PC? I've tried the sync botton on iTunes and the 5 steps recommended by Apple to correct sync problems with no luck.

    How is your iPod configured to sync content from your iTunes library? Any error messages during the sync process? 
    You may want to reset warnings on the device by right->clicking on it under Devices and choosing Reset Warnings.  Then resync the iPod to see if any alerts appear.
    Is this the same computer you normally sync the Nano with?
    B-rock

  • How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share form

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

    How to stop the spinning ball/pizza that is stalling repairs to project on imovie 09? on macosx10.5.8 using iomega and superspeed ext h.d. as storage for the events and projects archive of a wedding video that has had audio sync problems on all share formats (iDVD, mp4, and last of all iTunes). The project label now carries signal with yellow triangled exclamation “i tunes out of date”.
    To solve the sync problem I’m following advice and detaching sound from all of the 100 or so short clips.  This operation has been stalled by the spinning ball. Shut down restart has not helped.
    The Project is mounted from Iomega and superspeed ext hd connected to imovie09 on macosx 10.5.8.
    What to do to resume repairs to the audio sync problem and so successfully share for youtube upload?

  • ICal Print List Hang / Font Issue / Sync Problems...

    Okay, here's a couple issues all wrapped up into one thread/post - reason is cause I suspect they may all be tied together somehow, but am not sure.
    Sync Problems...
    Regarding the Syncing problems, you can find an ongoing thread about @ http://forums.markspace.com/viewtopic.php?t=1632
    In short, some of us are having issues with events syncing to our Palm to the wrong timezone, causing them to be an hour off (usually within the new & old DST date change). Yes, all the usual fixes have been tried - pls read the thread noting "adairnet" and ymatto" postings.
    Also, in addition to this time issue, I have iCal events that I've deleted in iCal still show up on the Palm after one-way syncing!
    Print List Hang...
    Every week I print a "list" of events from a certain calendar. The past couple weeks I noticed some lines in the notes field printing on top of each other. Twas odd indeed, but I hadn't had the time to look into the reason. Then this week I was going thru my usual printing proceedure and now iCal locks up, hangs up, crashes, forcing me to force-quit the program. It's usually after I extend the dates beyond 2 or 3 days, but I've not been able to find a consistency. I've redone events thinking they were corrupt with no success.
    Font Problems...
    After the Print List issue above, I opened my Console program to see if it was reporting anything. At first it indicated that it could not find Helvetica Neue and would substitute it for Helvetica. This put me in touch with some font corruption - so I got rid of those bad fonts and activated Helvetica Neue which got rid of that message. But made me wonder if there are more font problems causing the print hanging & syncing problems. I have FontAgent Pro and do have some font issues that I'm trying to work out.
    But the Console is displaying another string of messages every time the Print List proceedure hangs up which I cannot figure out...
    2007-04-24 16:24:54.151 iCal[28975] NSATSGlyphStorage inconsistency. Cannot find run storage for character range {138 67} for CTRun 0xDBE87D0. Ignoring the run...
    2007-04-24 16:24:55.175 iCal[28975] -[NSMutableStringProxyForMutableAttributedString replaceOccurrencesOfString:withString:options:range:] called with out-of-bounds range. For apps linked on Tiger this will raise an exception. For earlier apps it will produce this one-time warning and continue with existing behavior (which is undefined).
    2007-04-24 16:24:55.176 iCal[28975] * NSThread: ignoring exception '* -[NSMutableStringProxyForMutableAttributedString replaceOccurrencesOfString:withString:options:range:]: Range or index out of bounds' that raised during delayed perform of target 0xdde58d0 and selector 'renderPreview'
    So, all of this is causing me to wonder if the iCal or SyncServices database is corrupt. Is there a way to dig into the iCal db and check for corruption &/or fix it?
    Or does anybody have any further suggestions on any of these issues?
    thanx.jason.

    RedKamel,
    The SyncServices folder should be avoided like "a swarm of bees". This article discusses some of the issues that can arise when the SyncServices folder is deleted or modified:
    http://docs.info.apple.com/article.html?artnum=301920
    Data loss and Data corruption can result from deleting or modifying the SyncServices folder, and that data loss or corruption can be propogated to devices, .Mac, and other applications that sync with SyncServices.
    If you have isolated an issue with the other steps in your post, I would recomend speaking with AppleCare before removing that folder.
    Hope this helps,
    Nathan C.

  • Ipod syncing problems...?

    Im having several ipod syncing problems. I have an Ipod touch, 4th gen with the standard USB cable that comes with to charge it and sync it with. Today, i plugged it into my computer like normal to sync some new songs onto it from itunes. But, it started acting up. First, it kept syncing on and off, and the sync sound wouldnt stop- it wouldnt stay synced. then, later, when it finally did, not long after it said "this device does not support charging," and itunes didnt recognize my ipod anymore, so i couldnt sync my songs. is there any way i can fix this? thanks in advance.

    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

  • IPhone Sync Problems with VISTA After iTunes Upgrade to 7.4

    Upon upgrading to iTunes 7.4 I was unable to sync my Outlook calendar or contacts to the iPhone. Called Apple Support that they seemed to know nothing about this problem general problem despite all of the discussions on this and many other tech. boards.
    After being told remove and reinstall iTunes and Outlook, set-up a new user account, etc... (none of which worked) I finally concluded that perhaps the .pst file being used by outlook was simply incompatible with iTunes for some reason (e.g. unsupported recurring calendar items).
    SOLUTION: Create a new outlook .pst data file. Once created, open up that new file along with the defective .pst file. Then, simply change the view of calendars and contacts in your old calendar such that you can see all of the items in a list. Highlight the items you want to keep and simply click-and-drag them to the nes .pst file. This solves all of the sync. problems I had post-7.4 upgrade. It takes less than 3 minutes to complete this painless fix.
    This was so annoying for me that I'd be happy to help someone complete this simple task if they need help. < Edited by Host, for your protection, no personal information please. >

    Then it would appear to be an issue with your router. What router? Model? Is the firmware up to date?

  • My iPhone 5 is not being recognized by my iMac.  All my other devices, including iPod and iPad are recognized with no sync problems.  I've tried every approach with online help as well as an Apple advisor by phone.  Help?

    My iPhone 5 is not being recognized by my iMac.  All my other devices, including iPod and iPad are recognized with no sync problems.  I've tried every approach with online help as well as an Apple advisor by phone.  Help?  Any other suggestions other than going to an Apple Store?

    Back to life**
    Oh I know there are many other vocabulary mistakes but never mind them I was just too excited when I wrote all of that while typing very quickly
    P.S: if you have any question then ask and please do tell me if it works or not with u but I'm definitely sure it'll work so tell me this and we'll get excited together
    Also if you have an experience to share then do share it as well please.
    Peace

  • Sync problem - earlier today I updated both iTunes and my iPod Touch. Since then, I have tried syncing the two. The iPod Touch claims that there is no music on the iPod, however, when I connect it to my computer it says my full library is on there.

    Sync problem - earlier today I updated both iTunes and my iPod Touch. Since then, I have tried syncing the two. The iPod Touch claims that there is no music on the iPod, however, when I connect it to my computer it says my full library is on there. At present, I am unable to listen to songs on the iPod when not connected to the computer. What can I do to fix this?
    Thanks for any help!

    - Have you reset your iPod:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next would be to backup your iPod and then restore you iPod from backup via iTunes.

  • Ipod sync problems ipod 2.2.1 touch OS10.6.8 itunes 10.6.1 The photos sync but the calendars and contents will not.  I keep getting this error message... «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be sta

    ipod sync problems
    ipod 2.2.1 touch OS10.6.8 itunes 10.6.1
    The photos sync but the calendars and contents will not.  I keep getting this error message...
    «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be started.»

    Greetings,
    See this post: https://discussions.apple.com/message/12799057#12799057
    Cheers.

  • Hot Sync problems with Windows Vista using a Tungsten E2

    Need Help solving a hot sync problem. Have a Tungsten E2, about a year old. Use Windows Vista OS. Can not sync to desktop. It worked fine for awhile then stopped sync'ing. Have reinstalled Palm Software, Have downloaded Palm 6.2. Have deleted all 3rd party apps,,,and their back up files. Particulary,,,,Epocrates apps, Took over my PDA. Installations and updates gets to synchronizing Calender and 'freezes' have left it on overnight figurng lots of data,,,,no progress. I need help. I really enjoy using this equipment.  I use my PDA for all my scheduling of work shifts appts etc. I would appreciate some suggestions. Thanks in advance. Mike.
    Post relates to: Tungsten E2

    Hi..  Welcome to the Palm forums.  So if I am understanding you when you try to sync it goes to calendar and freezes and never completes the sync.  That being the case the first thing you want to do is go to the conduits and turn off calendar then sync and all should be successful, except calendar will not sync.  What this indicates is that you have corrupted data in your calendar, most likely on the E2.  Do a google search on your computer for a utility 'dbfixit' and download it to your computer.  Extract it so you have the dbfixit.prc file and double click on it to put it in the installer.  Then, insuring the calendar conduit is off, sync to install it.  Once installed run dbfixit.  This utility is free or can be purchased for (I believe) 12.95.  The free version will search for corruption and problems let you know where they are and you will have to manually fix or delete them.  If you register it, when you run the utility it will find the errors and fix them as well.  Once all errors are fixed, turn the calendar conduit back on and you should be able to sync.

Maybe you are looking for

  • Time Out Error in BPEL

    Hi, We are trying to invoke a Web Service from BPEL Process (10.1.3.3.0) and we received below time out error message in em console. </part></Invoke_1_setJobPostingXML_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/ex

  • Value field in 0ic_c03

    I have a requirement where I need to calculate the stock  in the plant & its value Can any one tell me what is the keyfiure needs to be taken for the value For example for material1 the qty available in the plant is 10 & I should show the value of th

  • MBA Mouse clicks not registering?

    I've got a weird one with my son's MBA (2008), running Mountain Lion. It's not recognizing mouse clicks from either trackpad or external Magic Mouse. This is happening from boot- normal boot, safe boot and booting into tools menu. He was playing mine

  • Is there a way to execute the SQL command in PLSQL block

    Hi all With reference to the above subject do you have any example. Thanks in advance.

  • Unable to display purchase orders

    Hi All, User is not able to Find purchase orders when going from 'Process Purchase orders' tab.(in production system) Even though purchase orders exist for search criterion,it is showing message 'No pruchase orders corresponding to search criterion'.