Home > Ask the Oracle Database / Applications Experts > Oracle RAC and database clustering Questions & Answers > "Failed to request gap sequence" error with switchover
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

"Failed to request gap sequence" error with switchover

Bill Cullen EXPERT RESPONSE FROM: Bill Cullen

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 24 April 2007
When I do dataguard switchover and issue the following command:
SQL>alter database commit to switchover to primary;
The system doesn't respond. I checked the alert file and found the following error message. Could you please tell me how to fix it?
 
Fri Apr 22 16:55:52 2007
Completed: alter database recover managed standby database di 
Fri Apr 20 16:56:07 2007 Failed to request gap sequence. 
Thread #: 1, gap sequence: 4-39 All FAL server has been attempted.
Fri Apr 22 16:56:38 2007
alter database commit to switchover to primary 
Fri Apr 22 16:56:38 2007 ALTER DATABASE COMMIT 
TO SWITCHOVER TO PRIMARY
Thanks.

>

Right after you initiate the "recover managed standby database disconnect" command, your standby database is attempting to resolve the gap sequence between the time of the backup used to create the standby and the current archivelog according to the controlfile of the primary database. This is fine, but notice that you immediately receive an error saying "Failed to request gap sequence." It is very likely that the archivelog on the production server (that contains the thread #1 node) has been moved or compressed, so the primary database cannot find it to complete the request.

Check the alert log of the primary database. This will provide details on what is going on, most likely in a trace file created on the primary server. If it is indeed a matter of the archivelog being moved, either move it back to the original location on the primary server or register a copy on the standby server (ALTER DATABASE REGISTER LOGFILE 'file_name').

Good luck,

Bill


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle RAC and database clustering
Using connection load balancing with Oracle RAC
Configure two listeners without RAC in Oracle
Difference between Oracle RAC and Data Guard
Oracle UDP protocol or Veritas LLT for interconnect traffic?
Can't refresh individual table with replication system
Migrating to Oracle RAC from single-instance database
ORA-01801 error in RAC environment
Impact of changing OCR on RAC database
Switching RAC database to noarchivelog mode
Cost of two-node RAC implementation

Oracle RAC and database clustering
Can I have a single Oracle 11g RAC instance across multiple databases?
Review: Oracle's 11g R2 database has some good and bad
Scaling an Oracle database: What is the best strategy for you?
Oracle releases new database, says 11g upgrade will cut costs
E-discovery firm swaps out Microsoft SQL for Oracle RAC
Firm dumps MySQL on Red Hat for Oracle Database on Oracle Linux
How to back up archive log files in RAC
eHarmony spurns Microsoft, finds match with Oracle 10g
How to back up RAC database with RMAN
Using connection load balancing with Oracle RAC

Oracle error messages
Oracle error 6550 may mean incorrect Oracle export version
Why does the archive log in Oracle give me the ORA-16032 error?
Are we getting the ORA-00382 error because we're at maximum block size?
How do I solve the ORA-00257 error in Oracle?
Solving common Oracle errors guide
Solving common Oracle errors guide
Error during RMAN backup
ORA-12560 error with Oracle 10g Instant Client
Unable to view Oracle tables in NetBeans
IMP-00017 error message with Oracle import

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Real Application Cluster  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts