Corrupt container

Hi,
Long time reader, first time writer. I'm in the development phase of a project using DbXml. During testing, one of my containers became corrupt. I've tried everything I know to recover the data.
If I try to open the environment, it gives me a "Resource temporarily unavailable" error. I then try to run db_recover via the command line:
kevinc$ cd /path/to/dbxml_files/
kevinc$ db_recover -h /path/to/dbxml_files/
db_recover: Recovery function for LSN 70 2990296 failed on backward pass
db_recover: PANIC: No such file or directory
db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
If I run a "db_stat" or "db_verify" or "db_dump" or a "db_recover -f", I get an "unable to join environment" error.
Some things that may (or may not) be relevant:
- Only one environment is normally open at a time. (This may not have been true at the time of corruption, but the "bug" has since been fixed and the connection is no longer live once I tried the command line stuff.)
- I can open and add to the container from the "dbxml" command line just fine.
- I've reindexed the container.
- Version: Oracle: Berkeley DB XML 2.4.16: (October 21, 2008)
Berkeley DB 4.6.21: (September 27, 2007)
- Fedora 9
While it's not imperative to retrieve the data, I'd like to know for future reference, in case it happens again. Is there a way to recover the data?
Thanks,
Kevin

Thanks eleddy and George.
eleddy: I've not re/moved any of the log files (nor other files). As for deleting the environment files, you lost me...I mean, if I delete stuff, it's the same as deleting data, no? Disk space is ample and permissions have not been changed since it was working fine. I ran db_recover and other utils as root. Also, after dumping and recreating the containers, I am able to run db_recover with no problems.
George: I've never thought about using the dbxml command line to extract the data...tho, it would be tedious, I guess that could work. I believe my environment became corrupt by writing data (and metadata) to the container, not closing that environment, and then searching on that metadata with a new environment. That bug is fixed. I've since started with fresh containers. However, after playing...I mean "programming" some more, I started a query that was going to take a while. (I hadn't indexed what I needed to index yet.) This time, I used the dbxml shell to do the testing. I killed that process so I could index and start over. Afterwards, I noticed my container was corrupt. I ran db_recover on it, and now I am getting errors saying to run database recovery using catastrophic recovery...which, I was doing anyway...I will address recovery questions to the BDB forum...
Thanks again!

Similar Messages

  • Project Server 2010 PWA Site corrupted? default.aspx Corrupted, contains jibberish?

    Hey Everyone,
    Running Project Server 2010 Server w/ SQL Server 2008 R2 back end
    Sometime after 5:30 pm Friday , our main PWA site url which is
    http://servername/PWA  now contains the below mess of characters and text... seems the default.aspx file located in
    \\servername/PWA share got corrupted, messed with? ANY ideas how to fix this? or how why this happened.  really need a fix...... Thanks
    Jack Galante Sr Systems Engineer

    Jack,
    Are you the Project Server Administrator?Does this happen for all users or just one? If just one, please see if the users system is the issue.
    If it is all users, then Do you know if anybody else with approproate permissions added any custom code?
    I am not really sure of the issue here. Here are a few things you could try:
    1) Reboot all the servers
    2) Restart the Project Server related services like Events Service and Queue Service
    3) Navigate to Central Admin, and see if you restart the Project Application Service. 
    If none of the above work, then I would recommend contacting Microsoft Support before making any further changes.
    Prasanna Adavi,PMP,MCTS,MCITP,MCT http://thinkepm.blogspot.com

  • Error in downloading jars through jnlp from Oracle 10.1.3 App Server

    I am working on migrating an application (containing two WARs) from Resin servlet server to Oracle 10.1.3 App Server. The migration was unit tested successfully. One of the WARs was implemented as a web service that downloaded JARs to the client PC through jnlp. When I tried to combine the two WARs into one (application) WAR, some of the JARs failed to download with an error message stating that they were "corrupted". 5 of the 6 "corrupted" contain native code, although two other native code JARs were able to download successfully.
    Most of the time the jnlp failure was accompanied with this error: WARNING: Exception returned by remote server: {0}
    javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details
         at com.evermind.server.rmi.RMIClientConnection.handleLookupResponse(RMIClientConnection.java:819)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:283)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Error: Unexpected error during lookup : Lookup error: javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
         javax.naming.NoPermissionException: Not allowed to look up java:comp/ServerAdministrator, check the namespace-access tag setting in orion-application.xml for details
    Why is the jnlp failing when the WARs are part of the (main) application, but OK when it is part of a web service WAR? How can I overcome this problem?
    Thanks for your help.

    Hi Marc ,
    Thanks for your reply.....
    Did you mentioning the script (upgrade_10131_
    10133_oracle.sql) in the orabpel. I had run this script after applying the patch.
    Still iam facing the same issue.
    what need to be done?
    Could you please help me on this, because I need to do the Fault Handling Framework in BPEL and so i need the faultpolicy folder to be present.
    Since I got the folder by applying the patch, but what happend is when i try to check out for the activity status in the BPEL Console Activity tab it is showing the error as mentioned earlier. Any problem with patch implementation or any bug is there. So far i done the patch installation successfully without error and i upgraded the orabpel schema using the mentioned script also. Any other things i need to do?
    Regards,
    Ashok.

  • Missing Calendar "Dot" on days with events.

    I sync multiple calendars on my iPhone, and I am not sure when but now I no longer have the dot on days with events scheduled for any of my calendars. Any Ideas? ty.
    -Anthony

    If your phone gets an error message and will not sync, eject iphone temorarily.
    Find your backed up LOCAL file and replace in Library > Application Support > Sync Services > Local
    Remove new LOCAL file if your mac has created a new one. Once you replace it with the old one it will alow you to delete from the trash
    Reconnect your iphone
    In itunes > Info tab Sync Calendars > All Calendars
    Apply > Sync
    You may be prompted to advise because it is going to change a percentage of info on you mac > say yes
    Your Calendars should now reappear on your computer.
    I did try to re-import my exported calendars. I had the same problem all over again, so it seems that there was some corruption contained in the old calender .ics files. I had to start the whole process again. Trick is to keep your data in icloud and your phone. You are essentially repairing and replacing you iCal using your phone and iCloud. It is your computer files .ics files that are corrupt and need new ones making.
    Hope that helps

  • Illustrator files containing graphs corrupt and will not open after saving

    I have created a series of graphs in illustrator and after saving when I try to reopen them, I get the following error message:
    Can't open the illustration. The illustration contains an illegal operand. Offending operator: 1#INF
    This happens whatever format the file is saved in.
    I am using CC.
    Any ideas why and how to prevent it happening in the future?

    vnqaa,
    If you are saving elsewhere than your own harddisk, that may be the cause. Otherwise, something else has obviously corrupted the files, possibly related to graphs.
    One thing often tried first is to create a new document and File>Place the corrupted one to see how much may be rescued that way.
    Here is a website where you can see whether it can rescue the file, and if it can, you may pay for a subscription to have it done,
    http://www.recoverytoolbox.com/buy_illustrator.html
    and another similar website,
    http://markzware.com/adobe-software/fix-illustrator-file-unknown-error -occurred-pdf2dtp-file-recovery/
    As far as I remember, the former is for Win and the latter for Mac.
    Here are a few pages about struggling with it yourself:
    http://daxxter.wordpress.com/2009/04/16/how-to-recover-a-corrupted-ill ustrator-ai-file/
    http://helpx.adobe.com/illustrator/kb/troubleshoot-damaged-illustrator -files.html
    http://kb2.adobe.com/cps/500/cpsid_50032.html
    http://kb2.adobe.com/cps/500/cpsid_50031.html

  • Uploading files containing swedish letter åäö gets ecoding corrupted in firefox for mac. Same features works fine in all other browsers. Is this a bug in firefox for mac?

    When uploading a file containing swedish letter å, ä or ö the file name is gets corupted in the filename. There are som encoding issues just for the mac version, since the file name is uploaded correctly in all other browsers on mac and all browsers in windows.

    What form does this corruption take? According to https://bugzilla.mozilla.org/show_bug.cgi?id=695995 the difference is decomposed vs precomposed Unicode forms, but that should not actually affect any Unicode-complian software. If there's a site that shows a problem here, can you point me to it?

  • How can I add a 200 gig collection containing 1 corrupt song to iTunes...

    ...given that the program crashes if it encounters a corrupt file during the import process, and fails to save any of the songs it has imported so far?
    I seriously hope the answer is not "hold the software's hand as you import the albums one at a time, close the program, and reopen it to save your progress"

    I'm not sure if I clarified the situation enough.  The collection of music is already in the iTunes folder.  But iTunes itself only recognizes music once it's built a little database of what is in the iTunes folder. Normally you can do this by Add Folder To Library and selecting multiple folders, or even a folder containing all the music you want to add... and it would all go swimmingly except if it encounters a bad file at any point, it just chokes.  This itself could be worked around, but it'd be a rather tedious process, especially if it turns out there are multiple bad files.

  • Numbers 2.1 when exported as an excel file and my application tries opening it, it says file contains corrupt data.

    I recently updated my iPad to the latest iOS 7 and updated my numbers app to 2.1. When i export it to a excel file and then when my C# application(using gembox library) tries reading it, i would get an error "file contains corrupt data". before making the update to iOS 7 and before updating my numbers the process worked fine!

    That didn't work for me and the page times out right about 5
    minutes (300 seconds). I don't have timeout checked in the CF
    Administrator so I don't think it is CF that is causing the
    timeout. I checked IIS also and the timeout is set to 900 seconds.
    Is there a possibility that SQL Server has some sort of
    connection limit and I'm using too many cfquery tags? If anyone has
    experienced a similar problem I would really appreciate the help,
    thanks.

  • Windows Live Mail could not be started .... Your Calendar contains corrupt data .... ox8000fff

    I downloaded the Windows Live Essentials for Windows 7 running under Parallels 5.0.9310.  When I try to bring up Windows Live Mail I receive the error:
    Windows Live Mail could not be started.  Closing Windows Live Mail.  Your calendar contains corrupt data that is forcing Windows Live Mail to close.  (ox8000fff).
    I have:
    1.  Done a repair via control panel
    2.  Deinstalled just mail from the control panel, removed the registry entries for Windows Live Mail in hkey_current_user and hkey_local_machine.
    3.  Reinstalled just mail.
    Nothing seems to work.  I am still getting the error.

    Hi Caprichoso,
    Since it is to be more of Windows Live Mail issue, I kindly recommend you to contact Windows Live Mail Technical Support Team for a specific solution. Here I would like to share the following method based on my research:
    You can click Start, click Control Panel and click Clock, Language, and Region, click Date and Time, click Change time zone and uncheck the box in front of “Automatically adjust clock for Daylight Saving Time”, click OK twice.
    Best Regards
    Dale

  • Windows Live Mail could not be started. Closing Windows Live Mail. Your calendar contains corrupt data that is forcing Windows Live Mail to close. (0x8E5E0247

    Hi
    Can you please HELP??
    I recently had to change my hard drive for my laptop (Sony Vaio). The IT guy replaced my HDD and ghost all my information
    from old to new drive. Everything works perfect except for Windows Live Mail.
    When I open WLM I get this error:
    “Windows Live Mail could not be started. Closing Windows Live Mail. Your calendar contains corrupt data that is forcing
    Windows Live Mail to close. (0x8E5E0247)”
    I have since done the following:
    PROBLEM SOLUTION 1:
     1. Close Windows Live Mail and any other Windows Live programs.
     2. Click Start (then Run for
    Windows XP), paste the following path below and press Enter:
    %Localappdata%\Microsoft\Windows Live Mail\Calendars
    3. Rename the folder of the account you use to sign in to Windows Live Mail to
    sync your calendar (ex. rename [email protected] to [email protected]).
    4. Restart your computer for the changes to take effect.
     5. Launch Windows Live Mail again.
    THIS DID NOT WORK SO I DID THE FOLLOWING:
    PROBLEM SOLUTION 2:
    I removed WLM (uninstall) and reinstalled and still nothing.
    PROBLEM SOLUTION 3:
    I also renamed the WLM folder and reinstalled WLM, then deleted the new WLM folder and still nothing.
    PROBLEM SOLUTION 4:
    I also tried to import my emails from WLM to Microsoft Outlook but I only have a copy of my mails from the directory. 
    I do not have an EXPORT copy saved anywhere. Is there any way I can export the WLM to Microsoft outlook?
    PLEASE HELP I AM AT WITS END.

    I have had many problems with permissions on Windows Vista, 7,8 & 81.1.  It is usually after an update or installation, especially one that requires a reboot to finish (some AVG, Windows Live, Windows Updates, etc).  Once File(s), Folder(s)
    and Registry Key(s) permissions are screwed up, it can take days to work them out if ever.
    After having spent several hours on a clients PC and online forums with this problem.  I transferred her user profile with a free program called
    Transwiz (run as Administrator) to a zip file on the HDD.  I renamed her user in manage User Accounts to "Username old".  I then ran Transwiz again to restore the profile but telling it to create a new user using the original Username.
     After it completed restoring the profile, I logged out of "Username old" and logged in to Username and all wass well, I only needed to supply the email password which is not transferred.  When you move profile data, all the old permissions
    have to be removed and <st1:personname w:st="on">new</st1:personname> permissions added so the data and files belong to the <st1:personname w:st="on">new</st1:personname> user.  This cleared up all the permission
    problems.
    James Taylor

  • Deployment Issue: The saved State dictionary contains inconsistent data and might have been corrupted.

    Hi,
    I have been working on a C# project. It all works fine except the installer. I can install the project but if I then repair it and then try to un-install it I get the following error:
    "An exception occured while uninstalling. This excepion will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete --> The saved State dictionary contains inconsistent data and might have been corrupted."
    This error happens whenever I try to un-install/repair/modify it having previously tried to repair it. It seems that in repairing it the .InstallState file becomes corrupted. I can un-install it by replacing the .Installstate file with a working version. However the end users will not know how to do this. Is there any way of fixing this?
    Just in case it is important: It's a Framework 2 project, built in VS2005, it consists of a windows service and a forms application the service relies heavily on SOAP.
    Thanks for any help,
    Joe

    I've got almost the same problem
    I can't uninstall service that was just installed with install util. Error message is
    An exception occurred during the uninstallation of the .Service.WindowsService.ProjectInstaller installer.System.ArgumentException: The savedState dictionary contains inconsistent data and might have been corrupted.
    There was no repair or modify after install.
    Then I had removed .InstallState file and installUtil did not find any problem in savedState dictionary ;-)
    I checked InstallState file but have not found any visible problem with it
    Please take a look if you know what is InstallState file
    https://onedrive.live.com/redir?resid=5622404b58b0055f!132&authkey=!AA0PsRyTJUTdPgk&ithint=file%2cInstallState
    Regards

  • Why is DVD SP4 creating a corrupt video in the timeline when the corruption does not appear in the imported Quicktime ProRes 422 self contained movie?

    I am having a strange issue that just occurred when trying to create a DVD using DVD Studio Pro 4. The workflow is as follows: Import a self contained Quicktime ProRes 422 as an asset into DVDSP 4. Drag the assets onto Track 1 in the Graphical viewer as a First Play item. The video is only corrupted in a section of the timeline, yet when you look at that section in Quicktime the video appears to be ok. Does anyone have an idea why this is happenning?

    Thanks for the quick reply Gary. I was wondering why this corruption happenned recently, when I have used this workflow previously without any artifacts for several years. Do you think that something has gotten corrupted in DVDSP?
    Do you also recommend using Compressor always to created the files for DVDSP vs. having DVDSP do the encoding?
    Thanks

  • Before installation of "flasplayer 13x32" recieved Security message re" it being an executable file that may contain viruses and codes that can corrupt my computer".

    Downloaded "flashplayer 13x32". A security message appeared from Microsoft "This is an executable file and may contain viruses or codes that will harm your computer". Question: If its corrupted, why did Adobe Website download it.??

    "This is an executable file and may contain viruses or codes that will harm your computer".
    The keyword is "MAY"...
    NOWHERE in that does it say "This is a virus."
    What you're seeing is a standard Windows warning about ANY executable file you can download.
    Adobe isn't, and never has been, in the business of making malware. That said, there are literally millions of fake downloads of things like Reader, Shockwave and Flash Player.
    Bottom line: If you don't trust the download... DON'T USE the download.
    There are two sources to trust for Adobe freeware:
    For Flash Player - Adobe Flash Player Distribution | Adobe
    For Reader - Adobe - Adobe Reader Distribution
    You can bookmark those links and use them ANY time you get an update notification, to know you're getting the download directly from the source.

  • Camera roll empty but shows 6.1 gb.  Restored to original settings after backing up.  When I restored the backup camera roll still shows 6.1 gb and is till empty.  I imagine that the backup contains some corruption

    Camera roll empty but shows 6.1 gb.  Restored to original settings after backing up.  When I restored the backup camera roll still shows 6.1 gb and is still empty.  I imagine that the backup contains some corruption

    Hi cfgolf,
    Thanks for contacting Apple Support Communities. I agree with your assessment that something is going on with that previous backup. If you restored from that backup and the issue continues, I would recommend restoring and Set up as new. Before you restore, make sure you Transfer content so that you can sync it back after setting up as new. The instructions on how to Transfer content and Set up as new are both listed in this article.
    iOS: How to back up your data and set up your device as a new device
    http://support.apple.com/kb/ht4137
    2. Transfer content
    Before you erase your device, take a few minutes to transfer your content from your device to your computer to ensure that all your critical data is safe.
    6. Set up as new
    Complete the setup assistant. When prompted to set up your device, select Set Up as New iPhone and tap Next to continue.
    Skip the Apple ID sign-in, in case the original issue was related to any of your content on iCloud.
    Note: After setting up as new, you will need to enter the Visual Voicemail password for iPhone (on carriers that support Visual Voicemail). If you've forgotten the password, contact your carrier to help you reset it.
    After erasing and setting up as a new device, your device is now in a factory configuration. Test to determine if erasing and setting up as a new device resolved the issue. Content on the device may have caused unexpected behavior.
    If the issue is still present, you may want to contact Apple Support.
    If the issue is now resolved, sync one type of content at a time back to the device. For example, if you had an issue playing music, add songs from iTunes and confirm they will play. If your contacts weren't loading successfully, add the contacts back. After each sync, test to see if the issue has returned.
    Cheers,
    -Joe

  • Recorded FLV files contain corrupt timestamps

    Howdy -
    I'm running FMS 4.5.3 r2005 on standard AWS Linux box.  I'm recording the streams using NetStream.publish("appendWithGap") from a small custom Flash app running on IE+Windows.
    Usually, the generated .flv file is fine. However, I've found a number of cases where the .flv file generated was corrupt.  By using ffprobe -show_packets I'm able to see that the presentation timestamp (PTS) of sequential packets occasionally remain the same.  This happens for both audio and video at times. For example, consider the output of the command:
    $ ffprobe -show_packets saved.flv | egrep -e '(pts=|codec)'
    codec_type=video
    pts=0
    codec_type=video
    pts=0
    codec_type=video
    pts=0
    codec_type=video
    pts=0
    codec_type=video
    pts=0
    codec_type=video
    pts=0
    codec_type=video
    pts=3912
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    codec_type=video
    pts=3944
    I really don't know much about the internals of the FLV format, but I assume that invalid timestamps like these make for a non-playable (corrupt) video.
    Any idea what may cause FMS to record such a video?
    What kind of information would be helpful to debug this?
    Obviously, my client expects every video recorded to be one that an be played back, and so these corrupt videos are alarming to say the least.
    FYI, due to privacy restrictions I can't share the recorded video without a signed NDA.  If it would help, I can provide the entire output of ffprobe.
    Thanks,
    Ben

    Flvcheck has validated the format of file, and it is correct. The logs "Adding Silence message" indicates that audio message was expected and is not recieved after a particular time check, because of which video may appear stalled.
    Flvcheck may claim the file is valid, but event after running flvcheck -s the video is corrupt.  According to ffprobe, many of the timestamps are still the same. When I attempt to play the file in an flv player, the entire video is run through up front in sort of a fast-forward view, and then the audio plays out more or less normally.
    This makes sense, as the video player is probably playing all these frames with the same timestamp sequentially, which makes for the fast-forward effect.
    To debug this issue, a good starting point would be, validating the input to FMS. FMS records what is published to it.
    Does FMS tinker with the video frame timestamps, or are they just passed through to the file system?
    Since you are able to reproduce this issue, can you please enable livestream logging and check if input stream to FMS is different from what it is recording.
    Unfortunately I can't regularly reproduce it - though it does happen on a somewhat regular basis (it was happening a couple times a week).
    Is it safe to turn live stream logging on for a few days to see if I can catch this issue happening? Or, will live logging chew up resources and cause issues?
    Thanks for the assistance!
    -Ben

Maybe you are looking for

  • 20" Cinema Display with G4 dual 450

    I just purchased a 20" Cinema Display to use on my G4 dual 450. I'm going to buy the ATI Radeon 7500 graphics card that's recommended, but I'm confused. Is there more than one version of this card? In the specs I don't see the Mac operating system me

  • DB start & Stop With Multiple Homes

    I have four instances on my box in total. Two instances(orcl & prod) run on a file system, One instance (+Asm) is ASM storage and the last instance(test) uses the asm storage. Following are the contents of my oratab file in /etc/oratab orcl:/u01/orac

  • J2EE Engine Debugging ... Help required

    <b>There is a problem with the debugging my J2EE applications. I am a new user on SAP Portals. I set the server parameters through the config tool for setting the debugging of the server. But when I opened the Netweaver, it was still showing me the "

  • Can I download and use celtx script software on the Blackberry Playbook?

    Can I download and use celtx script software on the Blackberry Playbook?  I really love the program and was looking at buying a playbook but would only do it if I could download that software.

  • Macbook Pro Retina graphic problem

    I have the new macbook pro Retina , 4-5 times a week  the graphic is  very laggy , in the games like World of Warcraft or Diablo i have 5-9 fps   at the apple hotline  we make many tries to find die problem and the last thing  which helped was the SM