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 18.104.22.16887 to 22.214.171.12486"
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 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.