Change 5977383300318 for thread 2 is in sequence #4

Hi All,
the database was a single one on 10gR2
i was doing a cold clone from one instance to another, when running recover
"recover database using backup controlfile"
it was always looking for sequence # 4 but in the archive log i only have #2 and #3.
i do not have sequence #4 anywhere on the system.
can you suggest a solution for this?
Thanks in advance.
SQL*Plus: SYS@CLONE >recover database using backup controlfile;
ORA-00279: change 5977383300318 generated at 05/05/2010 11:59:06 needed for
thread 2
ORA-00289: suggestion : /u10/app/oracle/oradata/arch/2_4_718195767.arc
ORA-00280: change 5977383300318 for thread 2 is in sequence #4
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/u10/app/oracle/oradata/arch/2_3_718195767.arc
ORA-00310: archived log contains sequence 3; sequence 4 required
ORA-00334: archived log: '/u10/app/oracle/oradata/arch/2_3_718195767.arc'

Hello,
When you Backup the database you should either:
1. Make a Cold Backup:
- Shutdown the original database and copy it's datafiles, redolog files, controlfiles, PFILE/SPFILE.
2. Make a Hot Backup:
- Set the original database in BEGIN BACKUP mode, then copy the datafiles, controlfiles, PFILE/SPFILE.
- Generate a last Archive log alter system switch logfile; and copy all the Archived log since the beginning of the Backup.
- Set the original database in END BACKUP mode.
In the first case, you don't need to make a Recovery.
In the second case you'll have to make a Recovery.
Else, you may use the DUPLICATE statement from RMAN:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
Hope this help.
Best regards,
Jean-Valentin

Similar Messages

  • ORA-00280: change 84116020212 for thread 2 is in sequence #251560

    Y'ello All,
    While trying to recover an offline datafile on a two node RAC, it keeps asking for threads from both nodes with is normal.
    My questions are:
    a) Is there a script that will tell me the list of archive logs needed to recover that particular datafile?
    b) I only know how to restore archive logs for one thread, see below
    run
    allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    restore archivelog from sequence 147422 until sequence 147427 thread 1;
    release channel p1;
    But want to restore both threads at the same time, not running twice the rman command for thread 1 and then thread 2.
    will the below work?
    run
    allocate channel p1 type 'sbt_tape' parms 'ENV=(tdpo_optfile=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    restore archivelog from sequence 147422 until sequence 147427 thread 1;
    restore archivelog from sequence 251561 to 251573 thread 2;
    release channel p1;
    Kindly help and advice.
    DID

    Use RMAN list backup; and list backupset n; to show the datafiles and archivelogs that make up a backup or backup set. You can expand this by using list backup by file;
    I guess for your thread two line, you meant
    restore archivelog from sequence 251561 until sequence 251573 thread 2;The command should work

  • ORA-16145: archival for thread# 1 sequence# 1424 in progress

    Dear All,
    I am configuring data guard between primary and DR databases. After giving "recover standby database" command it is display following error.
    SQL> recover standby database;
    ORA-00279: change 93766011 generated at 02/22/2013 00:30:05 needed for thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/oradata/EGXTDR/archives/1_1424_805147492.arc
    ORA-00280: change 93766011 for thread 1 is in sequence #1424
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-16145: archival for thread# 1 sequence# 1424 in progress
    This is the already applied log file sequence:
    SQL> select max(sequence#) from v$archived_log where applied='YES';
    MAX(SEQUENCE#)
    1423
    I have checked archive log path and found frequently copying archive logs from sequence# 1424 and later to the physical path.
    I think this is the reason for "ORA-16145: archival for thread# 1 sequence# 1424 in progress" error.
    Please anyone advice why this continuous copying same archive logs from primary to DR.
    Thank you in advance.

    and found frequently copying archive logs from sequence# 1424 and later to the physical pathDo you mean that Oracle is automatically frequently copying the same archivelogs ? Which sequences -- e.g. does it start at 1424 and continue to 1430 and then restarts at 1424 again , running in a loop ?
    Oracle is not known to do that.
    OR do you have a background / cron / scripted job that copies the archivelogs --- and is looping ?
    Hemant K Chitale

  • ORA-16145: archival for thread# sequence# in progress

    Hi,
    10gR2 Database is configured in Dataguard maximum performance mode with no standby redo log file.
    Archive log switching application on standby was working earlier but , it's stopped and unable to apply archive log on standby.For command 'recover standby database' it's giving ORA-16145: archival for thread#1 sequence# 5 in progress. The archive file is copied manually also ,but even though the problem persists.No archive log gap found for the secondary.the archivelogs are getting shipped properly.
    Any suggestion? Thanks..

    Hi,
    FTPed the archive log file and started the standby recovery but ,
    it gave error:ORA-01274: cannot add datafile
    '/d01/db/apps_st/data/non_apps_ts_data001.dbf' - file could not be
    created
    When started recovery after changing the parameter 'standby_file_management' to auto,
    it's giving
    ORA-00283: recovery session canceled due to errors
    ORA-01111: name for data file 38 is unknown - rename to correct file
    ORA-01110: data file 38: '/d01/db/tech_st/10.2.0/dbs/UNNAMED00038'
    ORA-01157: cannot identify/lock data file 38 - see DBWR trace file
    ORA-01111: name for data file 38 is unknown - rename to correct file
    ORA-01110: data file 38: '/d01/db/tech_st/10.2.0/dbs/UNNAMED00038'
    Pls advice.....Thanks

  • Media Recovery Waiting for thread 1 sequence (in transit)

    I have rebuilt our standby database using an rman duplicate since it was missing many archive logs.
    Following the duplicate, the standby is now almost in sync with the primary. Logs are shipping across but are not being applied in a timely manner. How long should it take for an archive log from the primary to be applied to the standby?
    I need to know this so that a proper script can be set up to check the primary and standby. At the moment they are never exactly in sync - always one sequence number behind the primary.
    Why is the standby is not applying in a timely manner?
    From the alert log:
    Media Recovery Waiting for thread 1 sequence 11278 (in transit)
    The log seems to be "in transit" for a long time
    PRIMARY:
    SQL> select max (sequence#) current_seq from v$log;
    CURRENT_SEQ
    11278
    SB:
    SQL> select MAX (SEQUENCE#), APPLIED FROM V$ARCHIVED_LOG where APPLIED ='YES' GROUP BY APPLIED;
    MAX(SEQUENCE#) APP
    11277 YES
    ALERT LOG:
    RFS[2]: Archived Log: '/backup/prod/log_1_11277_704816194.dbf'
    Primary database is in MAXIMUM PERFORMANCE mode
    Mon Nov 1 15:22:01 2010
    Media Recovery Log /backup/prod/log_1_11272_704816194.dbf
    Mon Nov 1 15:26:49 2010
    Media Recovery Log /backup/prod/log_1_11273_704816194.dbf
    Mon Nov 1 15:29:54 2010
    Media Recovery Log /backup/prod/log_1_11274_704816194.dbf
    Mon Nov 1 15:34:18 2010
    Media Recovery Log /backup/prod/log_1_11275_704816194.dbf
    Mon Nov 1 15:36:42 2010
    Media Recovery Log /backup/prod/log_1_11276_704816194.dbf
    Mon Nov 1 15:39:43 2010
    Media Recovery Log /backup/prod/log_1_11277_704816194.dbf
    Mon Nov 1 15:42:34 2010
    Media Recovery Waiting for thread 1 sequence 11278 (in transit)
    I should add that I understand that for the Primary and Standby to be out by one log is not cause for concern (they are applying). Its just that I wanted to script a check that would compare them both, and and the moment they are never equal - when I understand that they should be and that the logs should be applied almost immediately.
    Edited by: Dan A on Nov 1, 2010 4:36 PM

    How long should it take for an archive log from the primary to be applied to the standby?depends on network speed also.
    make sure the archives are shipped to standby location.
    PRIMARY:
    SQL> select max (sequence#) current_seq from v$log;
    CURRENT_SEQ
    11278(this is log not archivelog ) ..... :)SB:
    SQL> select MAX (SEQUENCE#), APPLIED FROM V$ARCHIVED_LOG where APPLIED ='YES' GROUP BY APPLIED;
    MAX(SEQUENCE#) APP
    11277 YES
    Hi check is MRP started or not?
    primary database you need not check current sequence, check last generated sequence..not current sequence.
    current sequence is redo log which has been not yet archived
    I think everything is perfect here.. no issues.
    Hope you understood, let me know if not clear , thanks.

  • LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed

    db-version 10.2.0.2
    os windows server 2003
    part of the alert log:
    Thread 1 cannot allocate new log, sequence 219
    Private strand flush not complete
    Current log# 2 seq# 218 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO02A.LOG
    Current log# 2 seq# 218 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO02B.LOG
    Thread 1 advanced to log sequence 219
    Current log# 3 seq# 219 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\HTMLDB63\REDO03A.LOG
    Current log# 3 seq# 219 mem# 1: C:\ORACLE\DB_1\HTMLDB63\REDO03B.LOG
    part in the trace-file of the lgwr:
    LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed
    is this a bug too or a real problem?

    According to Note: 284618.1 "Archivelog for thread % sequence % will NOT be compressed" message in trace files on 10.1.0.x, it is just an informational message and can be ignored.
    Your version on the other hand is 10.2.0.2. There are several unanswered forum thread on metalink concerning the message in 10.2.0.2 database. One thread answers by Oracle supports points the person asking the question to the note above.

  • LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed

    Following is a meesage in db01_lgwr_9265.trc
    *** 2007-08-03 05:37:19.254
    LGWR: Archivelog for thread 1 sequence 9335 will NOT be compressed
    *** 2007-08-03 05:52:38.565
    LGWR: Archivelog for thread 1 sequence 9336 will NOT be compressed
    *** 2007-08-03 06:07:51.288
    LGWR: Archivelog for thread 1 sequence 9337 will NOT be compressed
    *** 2007-08-03 06:35:26.796
    LGWR: Archivelog for thread 1 sequence 9338 will NOT be compressed
    *** 2007-08-03 06:45:55.290
    LGWR: Archivelog for thread 1 sequence 9339 will NOT be compressed
    *** 2007-08-03 07:11:16.890
    LGWR: Archivelog for thread 1 sequence 9340 will NOT be compressed
    *** 2007-08-03 09:12:54.310
    LGWR: Archivelog for thread 1 sequence 9341 will NOT be compressed
    *** 2007-08-03 09:18:43.238
    LGWR: Archivelog for thread 1 sequence 9342 will NOT be compressed
    *** 2007-08-03 09:27:38.027
    LGWR: Archivelog for thread 1 sequence 9343 will NOT be compressed
    *** 2007-08-03 09:35:25.323
    LGWR: Archivelog for thread 1 sequence 9344 will NOT be compressed
    ---------------------------------------------------->
    Why these messages are appearing in trace file ... ?
    Thanks
    SSM

    Additional information from the same note 284618.1
    The message is harmless and requires no action.
    The message is suppressed as of 10.2.0.3 from bug fix 4670363.
    Bug 4670363 - Repeated "LGWR: Archivelog for thread" trace messages
    Oracle Metalink Doc ID: Note:4670363.8
    Range of versions believed to be affected Versions < 11
    Versions confirmed as being affected 10.2.0.2
    Platforms affected Generic (all / most platforms affected)
    This issue is fixed in 10.2.0.3 (Server Patch Set)
    11g (Future version)
    Adith

  • LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed

    I am checking today's trace file & getting this message
    What it means & what is its solution
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed

    i am getting this message
    LGWR: Archivelog for thread 1 sequence 107066 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107067 will NOT be compressed
    LGWR: Archivelog for thread 1 sequence 107068 will NOT be compressed
    & the space consumption is going very high , 3 GB in 3 hours...
    what should be the solution?

  • How can I include the results are coming from a new thread, in the main sequence report?

    Hi,
    I have a main sequence which calls other sequence running in a new thread.
    I cannot see the results (limit test etc.) comming from that sequence.
    Is there any trick to it?
    Andras

    Hi again Andras.
    I got a reply from the technical support. I hope this help you.
    To include in main report the results of your test in another thread you must follow these steps:
    1.- Right click on the sequence call where you create the new thread. In "Specify Module" panel, just right "Run sequence in a new thread" press "Settings" button and disable "Automatically wait for the thread to complete..."
    2.- At the end of your main sequence add a new "synchronization - wait" step. Configure your wait, selecting in the upper ring tab "wait for thread".
    3.- Then select below "specify by sequence call" and pick over your thread name.
    With these changes your main sequence will add the results from your thread to your main sequence report.
    I hope it works for you. (but sadly it doesn't work for me)

  • Change documents for customer Z table - serious help wanted

    Hi all,
    I am no beginner and I don't expect any comments from beginners.
    Situation: My customer wants to replace the material valuation transactions MRN1 MRN2 MRN3 due to bad performance and locking problems with own developed programs.
    The valuation results will be stored in a customer Z-Table on a monthly base. For auditing and transparency purposes, this Z-table has to get a change object and the update routines will have to write change documents.
    Due to the expected size of the new Z-table, it is not advisable to simply switsch on table logging.
    In this huge project (and in none I participated!) nobody ever implemented the change document process for a Z-table. <b>BUT EVERYBODY CAN TELL YOU THI IS NO PROBLEM AT ALL.</b>
    I read some documentation at SAP and serached for threads or blogs here. I could not find anything desribing that in depth.
    So before I start, I'd be happy to get some hints from people who created own change documents and implemented the process. Links to documentation and other helpful pages are also welcome.
    If I can keep the process simple, I'd like to create a BLOG on this - because I think, in the future it will get more and more difficult to pass the auditing process with undocumented features and uncontrolled table changes.
    TIA.
    Regards,
    Clemens

    Hi,
    Please check this thread.
    http://www.sapdevelopment.co.uk/tips/changedoc/cd_createch.htm
    Once you create your change document object using generate update pgm option then  please check the WRITE document fm.
    I have done this long back i am updating CDHDR and CDPOS for 2 table YATT and YATTPLANTS. Here YATT have single record (header table) and YATTPLANTS have multiple records (item table)
    function yatt_write_document           .
      call function 'CHANGEDOCUMENT_OPEN'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          planned_change_number   = planned_change_number
          planned_or_real_changes = planned_or_real_changes
        exceptions
          sequence_invalid        = 1
          others                  = 2.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'SEQUENCE INVALID'.
        when 2. message a600 with 'OPEN ERROR'.
      endcase.
    if upd_yctc                           ne space.
       call function 'CHANGEDOCUMENT_SINGLE_CASE'
         exporting
           tablename              = 'YATT                          '
           workarea_old           = o_yatt
           workarea_new           = n_yatt
            change_indicator       = upd_yattc
            docu_delete            = 'X'
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'SINGLE ERROR'.
        endcase.
      endif.
      if upd_yctcauthplnts                  ne space.
        call function 'CHANGEDOCUMENT_MULTIPLE_CASE'
          exporting
            tablename              = 'YATTPLANTS                 '
            change_indicator       = upd_yattplants
            docu_delete            = 'X'
          tables
            table_old              = yyattplants
            table_new              = xyattplants
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'MULTIPLE ERROR'.
        endcase.
      endif.
      call function 'CHANGEDOCUMENT_CLOSE'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          date_of_change          = udate
          time_of_change          = utime
          tcode                   = tcode
          username                = username
          object_change_indicator = object_change_indicator
          no_change_pointers      = no_change_pointers
        exceptions
          header_insert_failed    = 1
          object_invalid          = 2
          open_missing            = 3
          no_position_inserted    = 4
          others                  = 5.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'INSERT HEADER FAILED'.
        when 2. message a600 with 'OBJECT INVALID'.
        when 3. message a600 with 'OPEN MISSING'.
    *    WHEN 4. MESSAGE A600 WITH 'NO_POSITION_INSERTED'.
    * do not abort, if positions are not inserted!!!
        when 5. message a600 with 'CLOSE ERROR'.
      endcase.
    endfunction.

  • Table to look for change documents for users

    Hi friends,
    Is there any standard table to look for change documents for a user?change document through SUIM does not give the correct log.
    Thanks for you support.

    Julius
    Looking at another of Tracy's other post (http://scn.sap.com/thread/3598947) she's trying to use ACL. Hence needing to know the tables to write joins/queries to hit tables within ACL
    I've seen ACL used and have had the fun experience of Auditors using Google to find tables to perform checks on without context of what has actually been implemented in their particular system.
    Regards
    Colleen

  • How can I include results of a subsequenc​e, which runs in a new thread, in the main sequence test report

    Hi!
    I', m working with TestStand Version 4.2.1. I have a main sequence, which calkls different subsequences. All these steps are properly reported. One of subsequences runs as "new thread". How can I include its results in common test report of the main sequence?
    I have markes variables of the subsequence as it is requred for test report (it works OK if it is not a new thread). If the the numerical test, which is executed in this subsequence is correct, I get no results at all. If the numeric test failed I get somewhere in the main sequence report a "red message", that test failed whithout any reference to the step or values of vaiables which were not correct.
    I tried an option "On the fly" in the Report Configuration , but haven' got any useful results. What shall I do?
    Best regards
    Solved!
    Go to Solution.

    Hi,
    I tried it but without success:
    1) I got a reference to the Thread as "Locals.Step1=RunState.Thread" for every of 2 steps which start a thread
    2) I put both "Waits" after steps with (and without) threads, at the same place, where they were before
    3) The sequence run OK, but when it came to Wait for Thread 1 it waited for ever, I had to terminate sequence
    Does it mean, that I got a false reference (suppose No - please, have a look at attached pic)?
    Or does it mean, that Waits are badly placed in the sequence (threads are already terminated)? Here is a pic of sequeces calls with Wait after them.
    Regards
    Attachments:
    Thread.JPG ‏34 KB
    SequenceCall.JPG ‏32 KB

  • Use the same code module for several steps in the sequence

    Hello All,
      I have been trying to set up a sequence that uses the same code module for all of the steps in the sequence, but am having trouble referring back to it when I need to send it commands.  I have gotten as far as calling the VI in a new thread so that it can be run asynchronously.  I can run the simple sequence and it will indeed open the VI, and move on to the next step.  When I close the VI manually from the front panel, the sequence in TestStand completes, as expected.  So it appears that I have that much working. 
      My question is how to call the separate thread from the main sequence or other sub sequences when I need to edit the parameters.  If I insert an Action step, I am required to select a VI file, but from what I can tell, it opens a different instance of the file, and does not provide an interface with the other instance running asycronously.  My next guess was to use a Statement step, but I was not able to figure out how to configure the lookup string to call the VI parameters.  Beyond that, I'm not sure how to proceed.  Please advise.   
      My intention is to start the code module VI (asynchronously), run several different subsequences within the main sequence that call that same VI and edit it's parameters, close everything and report on the results.  If I am misunderstanding how TestStand is supposed to work, please let me know. 
    Thanks,
    GSinMN    
    Solved!
    Go to Solution.

    What I do is use a Queue to send data to the asynchronous VI.  So it can run and do whatever, but also recieve the commands from the queue.  I use an Action Engine that holds the queue reference and sends the commands.  So you really just have to call the Action Engine from your sequences.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • The credit card info on the account has changed but for some reason there is no option for me to make the changes.  In addition, cloud has stopped working and all other programs that need to be updated cannot be.

    the credit card info on the account has changed but for some reason there is no option for me to make the changes.  In addition, cloud has stopped working and all other programs that need to be updated cannot be??

    Make sure that EVERY DETAIL is the same in every place you enter your information
    -right down to how you spell and punctuate the parts of your name and address
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -Credit card https://helpx.adobe.com/utilities/credit-card.html
    -email address https://forums.adobe.com/thread/1446019
    -http://helpx.adobe.com/x-productkb/global/didn-t-receive-expected-email.html

  • SAP PM : Unprocessed future change recs for order number : Error Message 688

    Dear Experts
    I received the following message when trying to close a PM order.
    Unprocessed future change recs for order number  prevent del. flag/c -  Error Message 688
    Kindly advise on the steps to be taken to resolve the above error.
    Thanking you in advance for your assistance.
    Regards
    Barry

    Hi Barry,
    Please find below thread for your reference.
    Error message when business completion of a production maintenance order
    Unprocessed future change recs for order prevent del. flag/completion
    Regards
    Terence

Maybe you are looking for

  • Using a registered object outside a UnitOfWork

    We are constructing a multi-tiered application using TopLink 4.6. The Model and Controller are in different JARs but are part of the same EAR. Data objects mapped in TopLink are sent by the Model to the Controller. The Controller may modify these obj

  • 5th gen iPod freezes when play iTunes video, then sad icon, then normal

    I tried to watch some Tv shows I downloaded from iTunes and sometimes it would play. Then the next time I select the video it freezes to a black screen. Sometimes I can press "menu" and return it the the main screen. But if I select the video again,

  • Windows update 8.1 in my netbook

    Good morning. When I bought my  Satellite C50-B a week ago I turned off Windows Update. Actually my notebook is working great, but I want to know if you think it´s necessary to run WU manually some times for updating all or if I can stay Ok with the

  • SQL Developer (Cloud connections) to Cart not working

    I follow the QBE execise along with Oracle Public Cloud. Why nothing happend when I drag/drop tables in SQL Developer (Cloud connections) to Cart?

  • Jsf 1.1 to jsf 1.2 migration - from-view-id and wildcards

    In our jsf application, we have a lot of navigation cases that use: <from-view-id>*</from-view-id> This worked in JSF 1.1, but now trying to get things to work with jsf 1.2 in glassfish v2 (build 19) I am seeing this error/stacktrace in the server.lo