Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1325

An error occurred while attempting to perform index rebuild: The database environment could not be opened: (JE 5.0.73)


    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.6.0
    • Fix Version/s: 5.5.0, 3.5.2
    • Component/s: backends
    • Labels:
    • Environment:
      Virtual machine in VMWare
      OS: SUSE Linux Enterprise 11 SP2
      Processor: 2
      Memory 4 GB


      I will upgrade from Opendj-2.5.0 Express1 to Opendj-2.6.0. I download the last version of Opendj-2.6.0 on 30 January 2014.

      After stop opendj instance I make a copy from the directory OOpenDJ-2.5.0-Xpress1 to copy OpenDJ-2.6.0. Make a symbolic Link "opendj" from OpenDJ-2.6.0. Start ./opendj/upgrade and "OpenDJ was successfully upgraded from version to"
      By the next action "rebuild index" I become follow error:

      Feb 03, 2014 12:21:33 PM com.sleepycat.je.utilint.DaemonThread run
      SEVERE: <DaemonThread name="Cleaner-1"/> caught exception, com.sleepycat.je.EnvironmentFailureException: Envronment invalid because of previous exception: (JE 5.0.73) /srv/ldap-pv/OpenDJ-2.6.0/db/userRoot fetchTargetof 0x24ee/0x91a5f parent IN=7985 IN class=com.sleepycat.je.tree.IN lastFullVersion=0x24f3/0x192ee8 lastLoggeVersion=0x24f3/0x192ee8 parent.getDirty()=false state=0 LOG_FILE_NOT_FOUND: Log file missing, log is likely nvalid. Environment is invalid and must be closed. Exiting
      com.sleepycat.je.EnvironmentFailureException: Environment invalid because of previous exception: (JE 5.0.73)/srv/ldap-pv/OpenDJ-2.6.0/db/userRoot fetchTarget of 0x24ee/0x91a5f parent IN=7985 IN class=com.sleepycat.jetree.IN lastFullVersion=0x24f3/0x192ee8 lastLoggedVersion=0x24f3/0x192ee8 parent.getDirty()=false state=0 LO_FILE_NOT_FOUND: Log file missing, log is likely invalid. Environment is invalid and must be closed.
      at com.sleepycat.je.tree.IN.fetchTarget(IN.java:1429)
      at com.sleepycat.je.tree.IN.findParent(IN.java:3113)
      at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:784)
      at com.sleepycat.je.tree.Tree.getParentINForChildIN(Tree.java:715)
      at com.sleepycat.je.cleaner.FileProcessor.findINInTree(FileProcessor.java:1289)
      at com.sleepycat.je.cleaner.FileProcessor.processIN(FileProcessor.java:1228)
      at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java:692)
      at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:289)
      at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:148)
      at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:163)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.FileNotFoundException: /srv/ldap-pv/OpenDJ-2.6.0/db/userRoot/000024ee.jdb (No such file o directory)

      Before I start the rebuild-index the file was avail. But now it's not avail. I check the directory ./db/userRoot and a second file is also missing. I can not find a log file where perhaps more information could be of this error.


        1. rebuild-index-err.out
          112 kB
        2. rebuild-index-err.out
          112 kB
        3. upgrade.log
          21 kB

          Issue Links



              • Assignee:
                matthew Matthew Swift
                peter.kogler@bka.gv.at peter.kogler@bka.gv.at [X] (Inactive)
              • Votes:
                1 Vote for this issue
                4 Start watching this issue


                • Created: