com.sleepycat.je.DatabaseException: (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access.

JIRA | Noah Levitt | 8 years ago
  1. 0

    I would hope that the source dir for the persist processor is not written to, so it shouldn't bug out if it's not writable. nlevitt@crawling106$ HERITRIX_OUT=/dev/stdout CLASS_MAIN=org.archive.crawler.processor.recrawl.PersistProcessor bash /0/heritrix/heritrix-1.15.4-200903140303/bin/foreground_heritrix /2/crawldata/LOC-INDONESIA-008/state persist-state-dir 05/05/2009 22:35:32 +0000 INFO org.archive.crawler.processor.recrawl.PersistProcessor populatePersistEnv 0 records imported from /2/crawldata/LOC-INDONESIA-008/state to BDB env persist-state-dir Exception in thread "main" com.sleepycat.je.DatabaseException: (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access. at com.sleepycat.je.log.FileManager.checkEnvHomePermissions(FileManager.java:1765) at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:1682) at com.sleepycat.je.log.FileManager.<init>(FileManager.java:260) at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:327) at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:147) at com.sleepycat.je.Environment.<init>(Environment.java:210) at com.sleepycat.je.Environment.<init>(Environment.java:150) at org.archive.util.bdbje.EnhancedEnvironment.<init>(EnhancedEnvironment.java:53) at org.archive.crawler.processor.recrawl.PersistProcessor.setupEnvironment(PersistProcessor.java:342) at org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistEnv(PersistProcessor.java:149) at org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistSourceToHistoryMap(PersistProcessor.java:292) at org.archive.crawler.processor.recrawl.PersistProcessor.populatePersistEnv(PersistProcessor.java:252) at org.archive.crawler.processor.recrawl.PersistProcessor.main(PersistProcessor.java:324)

    JIRA | 8 years ago | Noah Levitt
    com.sleepycat.je.DatabaseException: (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access.
  2. 0

    I would hope that the source dir for the persist processor is not written to, so it shouldn't bug out if it's not writable. nlevitt@crawling106$ HERITRIX_OUT=/dev/stdout CLASS_MAIN=org.archive.crawler.processor.recrawl.PersistProcessor bash /0/heritrix/heritrix-1.15.4-200903140303/bin/foreground_heritrix /2/crawldata/LOC-INDONESIA-008/state persist-state-dir 05/05/2009 22:35:32 +0000 INFO org.archive.crawler.processor.recrawl.PersistProcessor populatePersistEnv 0 records imported from /2/crawldata/LOC-INDONESIA-008/state to BDB env persist-state-dir Exception in thread "main" com.sleepycat.je.DatabaseException: (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access. at com.sleepycat.je.log.FileManager.checkEnvHomePermissions(FileManager.java:1765) at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:1682) at com.sleepycat.je.log.FileManager.<init>(FileManager.java:260) at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:327) at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:147) at com.sleepycat.je.Environment.<init>(Environment.java:210) at com.sleepycat.je.Environment.<init>(Environment.java:150) at org.archive.util.bdbje.EnhancedEnvironment.<init>(EnhancedEnvironment.java:53) at org.archive.crawler.processor.recrawl.PersistProcessor.setupEnvironment(PersistProcessor.java:342) at org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistEnv(PersistProcessor.java:149) at org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistSourceToHistoryMap(PersistProcessor.java:292) at org.archive.crawler.processor.recrawl.PersistProcessor.populatePersistEnv(PersistProcessor.java:252) at org.archive.crawler.processor.recrawl.PersistProcessor.main(PersistProcessor.java:324)

    JIRA | 8 years ago | Noah Levitt
    com.sleepycat.je.DatabaseException: (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access.
  3. 0

    recovery fails with NPE

    Oracle Community | 8 years ago | ArtemGr
    java.lang.RuntimeException: com.sleepycat.je.DatabaseException: (JE 3.3.69) last LSN=0x0/0xeb8
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 3.07::When will 2009.01.0.4-fuse be ready in Maven2 repository? ks

    hivmr.com | 8 months ago
    com.sleepycat.je.DatabaseException: (JE 3.3.75) Lock, transaction, latch or memory left behind at environment close
  6. 0

    Failure in EnvironmentImpl.checkLeaks

    Oracle Community | 8 years ago | 679093
    com.sleepycat.je.DatabaseException: (JE 3.3.75) Lock, transaction, latch or memory left behind at environment closeat com.sleepycat.je.dbi.EnvironmentImpl.checkLeaks(EnvironmentImpl.java:1610)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sleepycat.je.DatabaseException

      (JE 3.3.75) The Environment directory /2/crawldata/LOC-INDONESIA-008/state is not writable, but the Environment was opened for read-write access.

      at com.sleepycat.je.log.FileManager.checkEnvHomePermissions()
    2. Berkeley DB Java Edition
      Environment.<init>
      1. com.sleepycat.je.log.FileManager.checkEnvHomePermissions(FileManager.java:1765)
      2. com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:1682)
      3. com.sleepycat.je.log.FileManager.<init>(FileManager.java:260)
      4. com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:327)
      5. com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:147)
      6. com.sleepycat.je.Environment.<init>(Environment.java:210)
      7. com.sleepycat.je.Environment.<init>(Environment.java:150)
      7 frames
    3. org.archive.util
      EnhancedEnvironment.<init>
      1. org.archive.util.bdbje.EnhancedEnvironment.<init>(EnhancedEnvironment.java:53)
      1 frame
    4. org.archive.crawler
      PersistProcessor.main
      1. org.archive.crawler.processor.recrawl.PersistProcessor.setupEnvironment(PersistProcessor.java:342)
      2. org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistEnv(PersistProcessor.java:149)
      3. org.archive.crawler.processor.recrawl.PersistProcessor.copyPersistSourceToHistoryMap(PersistProcessor.java:292)
      4. org.archive.crawler.processor.recrawl.PersistProcessor.populatePersistEnv(PersistProcessor.java:252)
      5. org.archive.crawler.processor.recrawl.PersistProcessor.main(PersistProcessor.java:324)
      5 frames