Capture stuck at one archive file

I have set up a 1-to-1 one-way streams replication in Oracle 10.2. (schema level capture).
Source DB (SRC)& destination DB (DEST) on : SUSE Linux Enterprise Server 10 SP2 (ia64)
The capture, propagation and apply did run okay for few hours. Now I find that the capture is stuck at a particular archive file and not moving further. I also registered the archives manually using:
alter database register or replace logical logfile ....
This also has not helped.
Please help. Thanks.

We suppose that you have already tried to stop/start the capture.
Creating LCR is an Internal Streams action which cannot be impeded by any form of data locking. So you are facing a database resource constraints (library cache lock on a streams structure) or an archive log corruption, usually after a file system full with 2 destination registered and you retook the archive which was on the file system full(I already met this once).
Run this to check you don't have any library cache lock:
set lines 190
col  kglkmod format 9999999
col  kglkreq format 9999999
col  kglnaobj format a50
col  kglnaown format a22
col OBJ_OWNER for a16 head  'Object Owner'
col OBJ_NAME for a26 head 'Object Name'
col module for a26
col lck_cnt for 999 head 'Lck|cnt'
col lock_req for 999 head 'Lck|req'
col lock_mode for 9999 head 'Lck|mode'
col State for a8
col seconds_in_Wait head 'Seconds|in wait'
col wait_time head 'wait|time' for 999999
select
distinct
   ses.ksusenum sid, KSUSEMNM module,
   ob.kglnaown obj_owner, ob.kglnaobj obj_name
   ,lk.kgllkcnt lck_cnt, lk.kgllkmod lock_mode, lk.kgllkreq lock_req
   , w.state, w.event, w.wait_Time, w.seconds_in_Wait
from
  x$kgllk lk,  x$kglob ob,x$ksuse ses , v$session_wait w
  where lk.kgllkhdl in (select kgllkhdl from x$kgllk where kgllkreq >0 )
and ob.kglhdadr = lk.kgllkhdl
and lk.kgllkuse = ses.addr
and w.sid = ses.indx
order by seconds_in_wait desc
/If you pick nothing, then I suggest to put all working session on trace 10046.
This query list all the sessions associated to capture activity and their type.
Run this several time to see if one of the session is advancing and set it into trace.
set linesize 132
col ROLE format a16
col SESSION_ID format 99999 head 'Logmr|id' justify c
col WORK_MICROSEC format 9999990.99 head 'Work(sec)'
col OVERHEAD_MICROSEC format 9999990.99 head 'Overead (sec)'
set lines 190
select SESSION_ID,ROLE,SID,spid,LATCHWAIT,
        LATCHSPIN,
        WORK_MICROSEC/1000000,
       OVERHEAD_MICROSEC/1000000
from  V$LOGMNR_PROCESS
/Once you have the trace there should be an SQL witch is circling, that's would be a starting point.

Similar Messages

  • One arcive file currupted

    Hi ,
    I did my COLD backup using 10g RMAN now one archive file is corrupted how i ignor this file recover rest of files using RMAN please .
    Thanks in advance

    All,
    Does it ask for archivelog when the backup taken is a
    cold backup?
    thanks
    PkWhen you're database is in archivelog mode ( which it is )
    and you give the command "restore database" followed by a "recover database" command, Rman will try to recover your database until the last known archivelog registered in the control file.
    You could try a Point in time recovery ( with the SCN as suggested above) to over come this issue.
    When you loose an archivelog file you cannot do a full recovery until you're last checkpoint.
    An you will have to go back until the last correct archivelog.
    If there is a workaround to this problem it will result in an inconsistent dataset, and then you're problems just begin.
    try and recreate a correct set of data from this database and hope you're lost data is back and correct. so in my humble opinion this could easily be a dead and street after many hours of headache

  • CAPTURE process error - missing Archive log

    Hi -
    I am getting cannot open archived log 'xxxx.arc' message when I try to start a newly created capture process. The archive files have been moved by the DBAs.
    Is there a way to set the capture process to start from a new archive ?
    I tried      
    exec DBMS_CAPTURE_ADM.ALTER_CAPTURE ( capture_name => 'STRMADMIN_SCH_CAPTURE', start_scn =>9668840362577);
    I got the new scn from DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();.
    But I still get the same error.
    Any ideas ?
    Thanks,
    Sadeepa

    If you are on 9i, I know that trying to reset the scn that way won't work. You have to drop and recreate the capture process. You can leave all the rules and rulesets in place, but I think you have to prepare all of the tables again.

  • How to capture Archive File name in File/Ftp Adapter

    Hi,
    I want to capture the archive file name when working with File/Ftp Adapters. I think there is no out of box property available to achieve this (Like jca.file.filename).
    Please let me know if there is any possible solution.
    Thanks
    JGun

    Hi,
    Use jca.file.PhysicalArchiveDirectory/jca.file.LogicalArchiveDirectory depends upon which you have configured.
    Thanks

  • Reader is stuck on one file and wont load a new file why?

    reader is stuck on one file wont load a new file why?

    Hey george,
    Could you please let me know if you are using the latest version of Adobe Reader i.e. 11.0.10
    What OS version are you using?
    Have you opened the file on the web or within Reader itself?
    You might close the file, launch Reader and go to Edit> Preferences> Security(Enhanced) and uncheck 'Enable Protected Mode at startup' option.
    Let me know if this sorts your problem.
    Regards,
    Anubha

  • Scanning multiple pages as one pdf file

    Hi Im using a Macbook Pro 10.9.5 and am trying to scan multiple pages and save as one pdf file.  One suggestion is to use image capture.  However, when I try to do this it says no camera or scanner is detected but it does not give me an option to copy multiple pages.  Any suggestions.  I have tried lowering the resolution but still have no luck.  

    Hi SusieG1026,
     Are you sure to select  file type Correct as text in image capture window? 

  • Had to uninstall Firefox, now I can't reinstall. Get error message "Can not find archive file." Please help!

    I believe I had some kind of virus attack. I got everything cleaned up. (I HOPE) In the process of cleaning the virus, I unintalled Firefox because it wouldn't open. Kept getting the error message that Firefox was already open and I had to close out of the sessions or restart the computer. After restarting the computer several times and not being able to find any open sessions in task manager, I uninstalled. When trying to reinstall, I get the error message "can not find archive file." I've tried downloading Firefox from cnet as well as the Mozilla site to no avail. Please help. I'm getting tired of using Chrome already!

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Generate multiple XML files from one Invoices file in AR Selected Invoices

    I have converted our Oracle EBS 11i Selected Invoice RAXINV.rdf to XML and created a template for XML Bursting. I'm bursting fine at the:
    /ZRAXINV/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_CF_NO/G_CF_NO. My question is since I'm writing out my pdf output invoices to the filesystem on Sharepoint; I also need to archive the XML part of each invoice broken down by the same group as .//LIST_G_CF_NO/G_CF_NO. When I convert the rdf to XML it produces one XML file from which I created the templates.
    My requirement is to archive both the individual invoices from the templates and the corresponding XML pieces on Sharepoint so that we will be able to search and link the xml to the pdf written out to the filesystem on Sharepoint.
    Any idea how should go about this requirement will be much appreciated.
    Thanks,
    Leo

    So how does it take this file
    file>
    <statement>
    <name>John Dow </name>
    <address>123 Main</address>
    <phone>972-213-3434</phone>
    </statement>
    <statement>
    <name>Jane Dow </name>
    <address>345 Main</address>
    <phone>972-213-3534</phone>
    </statement>
    <statement>
    <name>Marry Dow </name>
    <address>678 Main</address>
    <phone>972-213-3435</phone>
    </statement>
    </file>
    and create these three different one?
    1.)
    <statement>
    <name>John Dow </name>
    <address>123 Main</address>
    <phone>972-213-3434</phone>
    </statement>
    2.)
    <statement>
    <name>Jane Dow </name>
    <address>345 Main</address>
    <phone>972-213-3534</phone>
    </statement>
    3.)
    <statement>
    <name>Marry Dow </name>
    <address>678 Main</address>
    <phone>972-213-3435</phone>
    </statement>
    Is it not going to just grab each element after the file tag? I'm just confused about that.

  • How can I reference more than one jar file

    hi, In an applet, I use
    Archive = "foo.jar" to reference this jar file.
    But how can I reference more than one file?
    Thanks.

    Suggestion: spend a few minutes reading the tutorials.
    http://java.sun.com/docs/books/tutorial/applet/appletsonly/html.html
    You can specify multiple archive files by separating them with commas:
    <APPLET CODE="myapplet.class" ARCHIVE="file1, file2"     WIDTH=anInt HEIGHT=anInt>
    </APPLET>

  • How to create one ISO file large than 2G

    hi,
    here when I create one ISO with 3G(larger than 2G) on solaris 10 machine, I met below error:
    mkisofs: File too large. cannot fwrite 32768*1
    Anyone has suggestion for this problem? How to create one ISO files larger than 2G?
    See the detail logs information:
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    mkisofs -o my.iso -A "Software DVD" -D -L -P "Study "-p CBC/XLE -r -T -V R50 -v iso
    mkisofs: The option '-L' is reserved by POSIX.1-2001.
    mkisofs: The option '-L' means 'follow all symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
    mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
    mkisofs: The option '-P' is reserved by POSIX.1-2001.
    mkisofs: The option '-P' means 'do not follow symbolic links'.
    mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-P'.
    mkisofs: Use -publisher in future to get old mkisofs behavior.
    Warning: creating filesystem that does not conform to ISO-9660.
    mkisofs 2.01 (sparc-sun-solaris2.10)
    Scanning iso
    Scanning iso/rac_stage3
    Using RAC_S000 for /rac_stage2 (rac_stage1)
    Using RAC_S001 for /rac_stage1 (rac_stage3)
    Using INSTA000.1;1 for ..
    Writing: The File(s) Start Block 48
    0.42% done, estimate finish Thu Feb 1 16:12:35 2007
    0.84% done, estimate finish Thu Feb 1 16:12:36 2007
    1.26% done, estimate finish Thu Feb 1 16:12:36 2007
    1.69% done, estimate finish Thu Feb 1 16:12:36 2007
    2.11% done, estimate finish Thu Feb 1 16:12:36 2007

    87.65% done, estimate finish Thu Feb 1 16:14:54 2007
    88.07% done, estimate finish Thu Feb 1 16:14:54 2007
    mkisofs: File too large. cannot fwrite 32768*1
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Thanks!

    does it matter "copy protection" ? for the problem that i have?
    my computer is alwyes get stuck while i trying to made a dvd or image
    i made few disks wite menu in the past & i had not problems at all

  • How do I restore addresses from archive file or time machine without iCloud overriding?

    I recently had an issue with my address book contacts.  About 90% of the contacts disappeared, then synched through iCloud to my iphone and ipad.....so nearly all my contacts were lost on all devices.  I have both time machine and an address book archive file.
    When I tried restoring from time machine, the iCloud synching saw it as an older version of the file and went to the deleted contacts version....i.e. I was right back where I started.
    When I tried importing from the address book archive, the same thing happened.....iCloud saw the imported version as an older copy of the contacts file and deleted out everything I had just imported.
    The only way I was able to get the contacts back was to go to time machine (with address book application open), select all the contacts, copy them, cancel out of time machine, and then paste the contacts into the current version of address book.....I guess the system sees that as a "new" version of the contact and doesn't overrite it.  Problem is that it doesn't carry over all the different groups that way, and I have to move addresses into the groups all over again....kinda time consuming.
    Any ideas on how to import from archive or restore from time machine (the normal way) without iCloud synching overriding the "older" and desired version of the file?  Address book doesn't have any option to "override current contacts with imported ones".....
    Thanks.

    Try this:
    Turn off your internet connection completely: check it's really off.
    Import your backup into Address Book.
    Select all your contacts.
    From the File menu choose Export>vCard and save the file somewhere convenient.
    Now turn the internet connection back on. Your contacts will disappear from Address Book again.
    From the File menu choose 'Import' and select the file you exported to.
    Hopefully this contacts list will stay in place: wait until it's synced to iCloud and check that it's on the website and syncs to your Phone.

  • How to Archive Files to Two target systems based on Condition

    Hi All,
    Iam doing Idoc--File Interface.
    we have to send the file to Two Different systems based on the plant condition
    If plant = 123 then send to ABC system ELSE if Plant = 999 then send it to XYZ system.
    And Archive the file to one Archive folder of the any one system. this is working fine correctly.
    Archive means not exactly Archiving, just we are droping one more extra file to Archive folder for refference
    Now i need to construct like this
    If plant = 123 then send to ABC system and Archive to Archive directory ELSE if Plant = 999 then send it to XYZ system and Archive to Archive directory.
    Please suggest me on this
    Regards
    Vamsi

    If Plant = 123 then select the BS1(ABC System)
    Ex: //sapdev/test/ABC/item.txt
    For Archive If Plant = 123 then select the BS1(ABC System) Archive folder
    Ex: //sapdev/test/ABC/Archive/item.txt
    If Plant = 999 then select the BS2(XYZ System)
    Ex: //sapdev/test/XYZ/item.txt
    For Archive If Plant = 123 then select the BS2(XYZ System) Archive folder
    Ex: //sapdev/test/XYZ/Archive/item.txt
    Then this becomes very simple:)
    I m assuming you are already using conditional Receiver determination,now for each receiver just configure an extra interface in Interface determination.
    so you will have 2 interface determination and each one of them will have 2 inbound messages,they can use same interface mapping.
    you already will have 1 conditional receiver determination.
    You can also do this via OS script if you have experience in that.
    Thanks
    Aamir

  • How to archive files in another ftp server?

    Hi,gurus:
       My scenario is file to file and my sender adapter is ftp adapter.
       Now I want to archive the send file in another ftp server,how can I  implement it?
       There is a parameter "Archive files on FTP server" when I choose the processing mode "archive".What's  it's use?Thanks in advance.

    Hi,Santhosh:
      Thanks for your reply.
      I have checked your blog before,and it is very useful for me.
      I still have a problem about command line.
      In an sap note,I found the principle of the execution of the command line is like below code:
    import java.util.*;
    import java.io.*;
    public class test {
    public static void main(String args[]) {
    try {
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec("C:/data/test.bat <param1> <param2>");
    } catch (Exception e) {
    e.printStackTrace();
    But you know this method has restriction.If my bat file has many commands,it only execute a part of commands(sometimes 8,sometimes 9 ).
    My bat file is like below:
    echo open 192.168.67.149 >c:
    data
    copyResult.txt
    echo <username> >>c:
    data
    copyResult.txt
    echo <password> >>c:
    data
    copyResult.txt
    echo cd /receive>>c:
    data
    copyResult.txt
    echo get %2>>c:
    data
    copyResult.txt
    echo cd /ok>>c:
    data
    copyResult.txt
    echo put %2>>c:
    data
    copyResult.txt
    echo cd /archive>>c:
    data
    copyResult.txt
    echo delete send.txt>>c:
    data
    copyResult.txt
    echo quit >>c:
    data
    copyResult.txt
    ftp -s:c:
    data
    copyResult.txt
    del %2
    I wanna merge all the "echo" in one command,so it may execute successfully,but I don't know the method.Any ideas?

  • Archiving file in application server

    Hi
    Can anybody of you please let me know how to archive a file from one directory to other in the application server?
    I dont want to read one file into an internal table and then loop on that to create a new file.
    Looking for some FM or command that would do this in one shot.
    Any clue is very appreciated
    Best Regards
    Chinmou

    My  friend   there is   no   such  one program which will  do  archive  or   one function  module which  will do  as you wanted  .
    Basicall  for archiveing the data   into file  it requesite 4  basic function  modules  as .
    code] "ARCHIVE_OPEN_FOR_WRITE'
    "ARCHIVE_NEW_OBJECT'
    "ARCHIVE_GET_STRUCTURES'
    "ARCHIVE_SAVE_OBJECT[/code]    
    so  based up on the archive  obect   it will have  own  write  program  which will   use  above  4  function  modules  and  collects the  table data from the basic  archiveing  obecjt  from  the   AOBJ  tcode  archive object structure then  creates  struture for that data and then  write's  it .
    so below  is the logic  .       
    CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE'
        EXPORTING
         call_delete_job_in_test_mode        = 'X'
         create_archive_file                 = 'X'
          object                              = v_arch_obj
         comments                            = 'ILM test FILE'
    *   DO_NOT_DELETE_DATA                  = ' '
    *   OUTPUT_SEL_SCREEN_WHEN_DIALOG       = 'X'
    *   OUTPUT_SEL_SCREEN_WHEN_BATCH        = ' '
       IMPORTING
         archive_handle                      = v_handle
    * EXCEPTIONS
    *   INTERNAL_ERROR                      = 1
    *   OBJECT_NOT_FOUND                    = 2
    *   OPEN_ERROR                          = 3
    *   NOT_AUTHORIZED                      = 4
    *   OTHERS                              = 5
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *This function module should always be called when a new data object is
    *to be prepared for writing to an archive.
      CALL FUNCTION 'ARCHIVE_NEW_OBJECT'
        EXPORTING
          archive_handle                = v_handle
    *   OBJECT_ID                     = ' '
    * EXCEPTIONS
    *   INTERNAL_ERROR                = 1
    *   WRONG_ACCESS_TO_ARCHIVE       = 2
    *   OTHERS                        = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ** get the structures for the archiving object
    *** loop through that
      CALL FUNCTION 'ARCHIVE_GET_STRUCTURES'
        EXPORTING
          archive_handle                = v_handle
        TABLES
          record_structures             = it_structures
    * EXCEPTIONS
    *   WRONG_ACCESS_TO_ARCHIVE       = 1
    *   OTHERS                        = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    i_stru-PARLIST[] = i_par_list[].
    * writing data object into the archive file
      CALL FUNCTION 'ARCHIVE_SAVE_OBJECT'
        EXPORTING
          archive_handle                = v_handle
    * IMPORTING
    *   OBJECT_OFFSET                 =
    *   ARCHIVE_NAME                  =
    * EXCEPTIONS
    *   FILE_IO_ERROR                 = 1
    *   INTERNAL_ERROR                = 2
    *   OPEN_ERROR                    = 3
    *   TERMINATION_REQUESTED         = 4
    *   WRONG_ACCESS_TO_ARCHIVE       = 5
    *   OTHERS                        = 6
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    reward  points if it is usefull ...
    Girish

  • Read some HR archive files (object PA_PIDX) using Abap report

    Hi experts,
    an ABAP program that is supposed to read some HR archive files (object PA_PIDX) but all we can read is the object, we cannot access the individual lines. Please help
    My code
    Output of the report as well as output of archive program
    Cycles comptab. archivés
    0000000038
    0000000040
    0000000044
    0000000045
    0000000047
    0000000050
    Cycles comptab. ignorés (pour détails voir protocole de job)
    0000000001  Simulation
    0000000002  Simulation
    0000000003  Simulation
    0000000004  Simulation
    0000000005  Simulation
    .....etc
    Please help
    Edited by: Blaiso on Apr 1, 2011 5:54 PM
    Edited by: Blaiso on Apr 1, 2011 5:59 PM
    Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Apr 2, 2011 9:59 PM

    Hi Ajay,
    1.  You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
    2. Can you give some more details for this question to be answered.
    3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
    4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
         . Spool Parameters
         (ii). Start date
         (iii). Archive selection of files.
        Unless you enter values for any one of these options , You cannot execute the batch job.
    Hope this would help you.
    Regards - Swarna.

Maybe you are looking for

  • Report designer in BI 7

    Hi, Can any one provide documents on how to use report designer in BI 7 to create formated reports. Regards Venkata Devaraj

  • Power Point 2010 getting a presenter error

    Power Point 2010 with Adobe Presenter 8. When I try to save a document or hit any button on the Presenter ribbon I get the following. Adobe Presenter has emcountered an unexpected problem while working with this presentation. Try saving your work to

  • RDBMS Version 8.0.5.0.0  Start시 mount 상태로 있어요.

    alert 로그 파일을 보면 아래와 같이 마지막 부분에 alter database mount 상태로 있습니다.. db를 mount 후 open 하고 싶습니다. 방법이 없나요... Wed Aug 12 17:47:01 2009 Shutting down instance (abort) License high water mark = 3 Instance terminated by USER, pid = 9937 Wed Aug 12 17:50:12 2009 S

  • WDS 2012 - Stopped pushing Drivers after disabling a Driver Group

    Hi Guys, i really would appreciate your help on this: I have a WDS 2012 server which was working fine and pushing drivers ok to windows 7 clients I have disabled a driver group in order to apply the image on a different hardware and re-enabled after

  • Change printer IP address

    I have changed my router and the old network no longer exists. When I try to connect the printer wirelessly it tells me that the network IP address is different from the the printer IP address. I tried typing the printer IP address into my browser an