Log file corrupt and can't open the database.

I use Replication Manager to manage my Replication; and there is only one site currently in my application.
I killed the App process with signal -9. (ie. $ kill -9 appID).
Then I try to restart the App, but the event_callback function got a PANIC event when to open the envirment.
The open flag is:
flags = DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL |
DB_INIT_REP | DB_INIT_TXN | DB_RECOVER | DB_THREAD;
ret = dbenv->open(dbenv, path, flags | DB_SYSTEM_MEM, 0);
What's the reason cause this problem?
How can recover it ?
The logs list as below:
[D 11/19 09:44] dbpf using shm key: 977431433
[E 11/19 09:44] [src/io/dbpf-mgmt.c, 400]
[E 11/19 09:44] yuga: DB_LOGC->get: LSN 1/9776: invalid log record header
[E 11/19 09:44] yuga: Log file corrupt at LSN: [1][9906]
[E 11/19 09:44] yuga: PANIC: Invalid argument
[E 11/19 09:44] [src/io/dbpf-mgmt.c] Rep EventGot a panic: Invalid argument (22)
Edited by: dbnicker on Nov 18, 2010 6:08 PM

First, what version of Berkeley DB are you running and on what system?
The error indicates something amiss in the log. The LSN values are quite
small. Can you run 'db_printlog -N -h <env path>' and post the log
contents?
If you are using BDB 5.0 or later, can you also post the contents of
the __db.rep.diag00 file in the environment home directory? Thanks.
Sue LoVerso
Oracle

Similar Messages

  • Why after downloading a pdf am I getting that the file is corrupt and can not open?

    why after downloading a pdf am I getting that the file is corrupt and can not open?

    Probably the file got corrupted during the download?  Download it again.
    If that does not correct the problem, can you share that file download?

  • Working on linking one pdf to other documents and got and (43) error and can't open the main pdf.

    Working on a pdf document linking to other pdfs and got a (43) error message and can't open the document. How to fix.

    Hi dotcofton,
    Is it possible that the PDFs you're working on are on a USB? Windows can return this error when a device is no longer accessible by Windows.
    Please let us know if that is not the case, and we will go from there.
    Best,
    Sara

  • Compaq Laptop make noise and can't open the windows.. Noise at HardDisk part

    Why my sister's Compaq Laptop make noise and can't open the windows.. huhuhu.. the sound come from HardDisk in that laptop.. its sound like the HDD reader scratched the Disc insde.. how can it be?? my sister scold me already couze she wanna use for her work.. 

    Hi Hawaiian_Starman,
    Thank you for the suggestion.
    I ran the first aid in the Keychain both for verification and for repair and both immediately returned with "no problems found".
    As for the certificate, according the web administrator nothing had changed for the certificates.
    even on the windows laptop I also get the certificate as being expired, but by simply accepting that I still have access.
    I had a pop up every time that alerted me to the certificate issue, but whether I "continued" or not that still did not matter.
    Yesterday, in an effort to find a solution, I went into the "details" and entered to trust this website.
    Now that certificate issue does not pop up anymore. But I do not know how to reverse that either.
    I have the feeling indeed it has something to do with a certificate, but how is the question.

  • I have PC with Windows XP. I wish to buy a book but it says I need iOS with a specific version of iBooks to open the file. How can I open the product without have a Apple product?

    I have PC with Windows XP. I wish to buy a book but it says I need iOS with a specific version of iBooks to open the file. How can I open the product without using an Apple product?

    What is the GarageBand version that your friend is using?
    If it is GarageBand '11, version 6.0.5, you can buy GarageBand '11 as a boxed retail version with the iLIfe '11 bundle, e.g. from Amazon.
    Then you can upgrade GarageBand '11 to 6.0.5, using this upgrader from the Support page:
                     GarageBand 6.0.5
    GarageBand 6.0.5 will work well with your system.  But if your friend is using the newest GarageBand 10, this will not help. Then ask your friend to send you audio files for each track, so you can recreate the project from the audio.  Or your friend could also use GarageBand '11 for the projects you want to share, that will run well in all newer MacOS X versions, even with GarageBand 10.0 installed on the same system.
    -- Leonie

  • How can i open the database by force?

    my database is crash because the machine power problem, when i restart again, oracle error say the control file is older than the system tablespace file,
    so i have to create the controlfile again, then , the database need recover , but my database is not archived, it can't take a media recoer , what should i do?
    how can i open the database even lost some data?

    Pallofa,
    Try open img file using some software.
    You need a software to mount the img file.
    http://techie-buzz.com/how-to/mount-iso-files-as-a-virtual-cd-dvd-drive.html
    If thinstead of using an img file, just use this command.
    repair-bde e: d: -rp xxxx-xxxxx-xxxxxx-xxxxx -f -lf c:\log.txt
    where d is the portable disk whereyou want the data and d drive should at least
    equal to e drive.
    Where xxxx-xxxx-xxxxx is the 48 digit recovery password.
    -lf will generate a log file and point to a certain location, here I have pointed to c drive.
    After repair-bde is completed, run chkdsk /f on D drive, then try to access your data.
    Manoj Sehgal

  • I installed the latest version of Adobe Reader and Can't open the files

    I just installed the lastest version of Adobe Reader and can't open any files

    Hi,
    I am unable to open pdf files by double clicking on the file.  I get an error message:  Acrobat failed to connect to a DDE Server.

  • Iphoto, note, notewriter, all close unexpectedly and can't open the app program

    Just had my computer less than 10 days... I have problem opening up iphoto, note and notewriter...all close unexpectedly and can't open these app.
    What cause this problem and how to fix it?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • I downloaded pages, completed file sharing but can not open the documents on my ipad

    I have pages on my ipad2, I went through the file sharing instructions for 2 files.  I can not open them in pages.  When I go to Documents, copy from itunes, the files show but cannot be selected.

    Quit Pages and restart the iPad and try again.
    In order to quit or close apps - Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Make sure that they are compatilbe file extensions on the files or they will not open ... .doc, .docx, .pages

  • TS1368 I keep getting this error message and can't open the iTunes store. I've reinstalled iT a half dozen times with no results. "Registry settings used by the iT drivers for importing & burning CDs & DVDs are missing" reinstall iTunes

    I can't open the iTunes store and keep getting this error message. "Registry settings used by the iT drivers for importing & burning CDs & DVDs are missing. Reinstall iTunes." I've reinstalled iT a half dozen times with no results.

    You might have two different things going on at once here.
    Starting with the registry settings message.
    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • TS3274 Just got an ipad and can't open the SIM Card slot - is it meant to be spring loaded - as it comes with a little tool that you poke in the hole, but it will not pop out any help please?

    Just got an ipad air, ordered from Apple online store, can't open the SIm card slot - comes with a special tool, but is it meant to be springloaded and just pop out? I think it is faulty.

    Push pin in firmly (tap to enlarge image)

  • My i pod touch screen is very slow and can't open the full page to close the voice over

    my ipod4 touch sceen very slow and i can't open the full page can't scrow to close the voice over

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • After using an ExtendScript (via ESTK) Illustrator becomes corrupted and "Can't open illustration."

    Hey, thanks for reading.
    I'm having a strange problem with Illustrator CS5 and ESTK CS5. I'm new to writing ExtendScripts, so I haven't a clue what could be going wrong here but here's the skinny:
    I've written the following code, which is very specialized to the exact document I'm working with. Using the ExtendScript Toolkit, the script goes through the following loops:
    The primary problem:
    For some reason, running this script causes Illustrator to become somehow corrupted. I can continue working with the document as long as it is open, but if I try to close it and re-open it, I get the infuriatingly unhelpful error dialog "Can't open illustration." With no extra details.
    The same error comes up if I try to open any other .ai files. Shutting down and rebooting doesn't fix the problem. I have to completely uninstall Illustrator, then re-install it before it will work again. And even then, if I try to open the ExtendScript-corrupted file the whole Illustrator app gets corrupted and needs to be reinstalled.
    Oh, also Illustrator itself shows up as "(Not responding)" while the script is running, but the ESTK console clearly shows that the script is chugging along as expected.
    Specifics about the script:
    There are 4 "Buttons" on the document, and a library full of nearly-identical symbols in the Library (different colored backgrounds for the buttons).
    The script cycles through every symbol in the library, replacing and deleting instances of the previous symbol.
    Then, for each symbol, it cycles through an array (technically an object-literal) of { language-code: "string" } pairs, and saves a .png of each artboard for each word.
    What follows is a pared-down version of the full script:
    (I tried to add a few $.sleep(10); calls, hoping that maybe just a brief slowdown in the processes might help. It didn't.)
    This script (in its original form) outputs a ton of files very, very quickly.
    Script Example
    var folder = Folder.selectDialog();                     // Ask for a folder choice.
    var aDoc = app.activeDocument;                        // Declare an active Document reference.
    var textLayer = aDoc.layers.getByName('text');   // Get the text layer, for moving it back/forward
    var textFrms = aDoc.textFrames;                       // Get all text frames, for language swap
    var allSymbols = aDoc.symbols;                         // Get array of all symbols in the symbol library
    var allSymbolItems = aDoc.symbolItems;            // Get an array of all symbol instances in the active document
    var helpTextArray =
        en: "help",
        az: "Kömək",
        cs: "Nápověda",
        da: "Hjælp",
        de: "hilfe",
        el: "Bοήθεια",
        en: "help",
        es: "ayuda",
            * There's normally 3 arrays with many more languages / translations
    if( aDoc &&                                      // We have an activeDocument
         folder &&                                    // and we have a selected output folder
         allSymbols.length > 0 &&             // We've got symbols
         allSymbolItems.length > 0 &&      // and we've got symbol instances "symbolItems"
         textFrms.length > 0 ) {                 // and we've got textFrames to manipulate.
        // For each symbol in our symbol library...
        for(var i = 0; i < allSymbols.length; i++) {
            // Run through all instances of symbols (symbolItems), and replace with a different symbol.
            for(var ii = 0; ii < allSymbolItems.length; ii++) {
                // Move text layer out of the line of fire.
                $.writeln('Move text to back');
                textLayer.zOrder(ZOrderMethod.SENDTOBACK);
                var currObj = allSymbolItems[ii];
                var newObj = aDoc.symbolItems.add(aDoc.symbols[i]);
                var symbolColor = aDoc.symbols[i].name;
                // Add the new / replacement symbol.
                newObj.left = currObj.left;
                newObj.top = currObj.top;
                newObj.width = currObj.width;
                newObj.height = currObj.height;
                // Remove the old symbol.
                currObj.remove();
                // Bring text back up to the front.
                $.writeln('Bring text to front');
                textLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
                redraw();
                $.sleep(10)
            // Run through each language and each buttonText and save a copy.
            var currArray = helpTextArray;
            var currArrayName = "help";
            for(currLang in currArray) {
                switchText(currLang, currArray);
                $.sleep(10)
                // Run function to save .pngs of each artboard
                exportAll(currLang, symbolColor, currArrayName);
            } // end for (currLang in currArray)
        } // end symbols.length
    } // end if
    function switchText(lang, array) {
        //var textFrms = activeDocument.textFrames;
        var newText = array[lang];
        newText = (newText === "") ? array["en"] : newText;
        for(var i = 0; i < textFrms.length; i++) {
            var isHorizontal = ( textFrms[i].width > textFrms[i].height );
            var scale = 100;
            var scaleMatrix;
            textFrms[i].contents = newText;
               * There's normally an automatic text-resizer here
        } // for var i
    function exportAll(lang, color, buttonText) {
        var artBds = aDoc.artboards;
        var options = new ExportOptionsPNG24();
            options.antiAliasing = true;
            options.transparency = true;
            options.artBoardClipping = true;
        for(var i = 0; i < artBds.length; i++) {
             var currBoard = artBds.setActiveArtboardIndex(i);
             var buttonPosition =  artBds[i].name;
             var newFile = new File(folder.fsName+"/"+buttonText+"_"+color+"_"+buttonPosition+"_"+lang+".png");
             aDoc.exportFile(newFile,ExportType.PNG24,options);
             $.writeln('A file was saved with the name:: '+buttonText+'_'+color+'_'+buttonPosition+'_'+lang+'.png');
             $.sleep(10)
    function revertToOriginal() {
        $.writeln('Revert');
        // Switch the text back to help.
        switchText("en", helpTextArray);
        // For each symbol instance...
        for(var i = 0; i < allSymbolItems.length; i++) {
            // Move text layer out of the line of fire.
            $.writeln('Move text to back');
            textLayer.zOrder(ZOrderMethod.SENDTOBACK);
            var currObj = allSymbolItems[i];
            // Add in the placeholder since we're reverting.
            var newObj = aDoc.symbolItems.add(aDoc.symbols[0]);
            var symbolColor = aDoc.symbols[0].name;
            // Add the new / replacement symbol.
            newObj.left = currObj.left;
            newObj.top = currObj.top;
            newObj.width = currObj.width;
            newObj.height = currObj.height;
            // Remove the old symbol.
            currObj.remove();
            // Bring text back up to the front.
            $.writeln('Bring text to front');
            textLayer.zOrder(ZOrderMethod.BRINGTOFRONT);
            redraw();
            $.sleep(10)
            $.writeln('REVERT');
    revertToOriginal();
    Are there best practices that I'm unaware of here that could be causing this corruption?
    Does anyone know what could be happening?
    The only error I ever get is "Can't open illustration." There's never anything more helpful, so I have no idea what could be going wrong.
    If there's any more information that would be of use to anyone I'd be happy to share. This is wasting a lot of my time and making me pull my hair out like crazy,

    I have not had the time to look over your script but at a glance there are a few things I would handle differently…
    Firstly returning a document to a given state… If you play with this snippet you can see that app.undo() returns to the last called app.redraw() if there is one else it undo's the whole script…
    #target illustrator
    doSymbols();
    function doSymbols() {
        var doc = app.activeDocument;
        var sym = doc.symbols[0];
        for ( var i = 0; i < 4; i++ ) {
            var foo = doc.symbolItems.add( sym );
            foo.position = Array( i * 72, -( i * 72 ) );
            app.redraw(); // Comment this out to see…
        app.undo(); // Returns to last redaw state if any…?
    Secondly your symbols… You know you can just change the symbol instance's symbol reference…? If they are almost the same particualy size then its an easy swap…?
    #target illustrator
    doSymbols();
    function doSymbols() {
        var doc = app.activeDocument;
        var sym = doc.symbols[1]; // Next symbol in the palette
        for ( var i = 0; i < 4; i++ ) {
            doc.symbolItems[i].symbol = sym;
            app.redraw();

  • I copied a series of events in iMovie 10.0.5 to another Mac and can't open the library

    I took a series of events on my SOURCE MAC computer, and created a NEW LIBRARY with them on a SECOND MAC computer.  Now when I try to open the file from either the SOURCE MAC  or the SECOND MAC  I get the following error:
    The operation couldn’t be completed. Permission denied   “iMovie Library MiniDV” is already in use by “SOURCE COMPUTER UID” on “SOURCE COMPUTER NAME”
    I checked the permissions and ownership of the file on the SECOND MAC and it shows my SECOND MAC USERID as having READ/WRITE authority.
    Any ideas?  I can't find anyway around this -- have restarted both computers as well

    There is no precise way but as long as you have unchecked "Wrapping Timeline" in the "View" menu the approximate time of the start of each clip is displayed at the top of the timeline.  You can also add the durations of each of the clips which are shown as you hover the cursor over them.
    Geoff.

  • Are my MP3 File Duplicate and can I delete the duplicates

    I have just bought an iPOd and started to use iTunes. I went to FILE and ADD FOLDER which then copied all my MP3's into the My Music/iTunes Folder which iTunes created. Now the question is are these files copied accross to the new iTunes location and if so can I delete them from the original location to save disk space etc (there is over 30GB of MP3's).
    Also, as the iTunes folder has been craeted on my Prmary Drive (C:\My Documents\My Music.....) is it possible to move all these fules to me second hard drive which is where I store my music, video's etc and ifd so how do I tell iTunes and iPod that is where they are and that is where the synchronisation needs to be.
    Sorry if these are simple questions but I am new to this and the Help file in my iTunes does not work hence I am stubbling around in the dark so to speak.
    Intel   Windows XP Pro   It's getting old now

    "Now the question is are these files copied accross to the new iTunes location and if so can I delete them from the original location to save disk space etc"
    If you had "Copy files to iTunes music folder when adding to library" checked in Edit>Preferences>Advanced>General when you created your iTunes library then you can delete the originals from the folder you added them from.
    "as the iTunes folder has been craeted on my Prmary Drive (C:\My Documents\My Music.....) is it possible to move all these fules to me second hard drive which is where I store my music, video's etc and ifd so how do I tell iTunes and iPod that is where they are and that is where the synchronisation needs to be."
    Yes it is, see this guide: Moving your iTunes Music Folder

Maybe you are looking for

  • How to get On Account Balance for a Customer in Accounts Receivables(AR)

    Hi, Pls let me know how i can get the On Account Balance and Customer Balance for a particular customer in AR. Pls let me if there is any SQL query or function availabe to get On Account Balance in AR. Is On Account Balance and Customer balance is sa

  • My itunes is playing up. every time I play a track or album I get a crackling interference noise. What's this all about and how can I stop it?

    my itunes is playing up. Every time I play a track or album I get a crackling interference noise.  It sometimes abates for a while but then comes right back again!What's this all about and how can I stop it?

  • Error with the view of a form

    Hi, I have a problem with the view of a form before start a workflow: This is the aspect that it has (it shows the colums of the form): and this is the aspect of the same action in other sites (the correct way): How can I change the aspect of the fir

  • System env in jnlp file

    hi, is it possible to do something like this in jnlp file, somehow? some.jnlp: <?xml version="1.0" encoding="UTF-8"?>      <resources>           <property name="my_property" value="${HOME_DIR}/some_subdir">      </resources> </jnlp>i need to use syst

  • Validation in PO

    Hi, >  I have created a purch.req for an item with item category service. >  For eg. i give the quantity as 100 in item detail. >  When i create the purch.order i give the quantity as 50 only. >  Next time when i create the PO for the remaining 50.It