0 Replies Latest reply on Nov 11, 2018 5:11 PM by 3081763

    FileNotFoundException: 00000007.jdb

    3081763
      Hello,

      I have a severe problem; it seems BDB corrupted one of my databases; when I try to open it I get this:

      (removing block-quote as web editor seems broken; can people please use GF-MD in 2018?)

      Exception in thread "AWT-EventQueue-0" com.sleepycat.je.EnvironmentFailureException: (JE 6.4.25) /data/projects/Maeanderungen/workspaces_kunstradio/Maeanderungen-octo-13.mllt last LSN=0x7/0x0 LOG_INTEGRITY: Log information is incorrect, problem is likely persistent. Environment is invalid and must be closed.
           at com.sleepycat.je.recovery.RecoveryManager.traceAndThrowException(RecoveryManager.java:3226)
           at com.sleepycat.je.recovery.RecoveryManager.redoLNs(RecoveryManager.java:2052)\
      ...
      Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 6.4.25) /data/projects/Maeanderungen/workspaces_kunstradio/Maeanderungen-octo-13.mllt java.io.FileNotFoundException: /data/projects/Maeanderungen/workspaces_kunstradio/Maeanderungen-octo-13.mllt/00000007.jdb (No such file or directory) LOG_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
           at com.sleepycat.je.log.FileReader.readNextEntry(FileReader.java:278)
           at com.sleepycat.je.recovery.RecoveryManager.redoLNs(RecoveryManager.java:2000)
           ... 55 more
      Caused by: java.io.FileNotFoundException: /data/projects/Maeanderungen/workspaces_kunstradio/Maeanderungen-octo-13.mllt/00000007.jdb (No such file or directory)
        

       

       

      The db was created with 5.0.104 (as the application is Java 6 compatible); but I now also tried opening it with 6.4.25 (see log above) and 7.4.5, always the same error. I'm using nothing fancy, ACID is configured, then only `db.get`, `db.put` and `txn.commit`. So 99% certainly this is a bug in BDB. The directory only contains files `00000008.jdb` through `0000000f.jdb`.

       

      Is there any chance I can recover this database?

       

      Best, ..h.h..