Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2121

ApacheDS fails to start after upgrading to 2.0.0-M21

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-M21
    • Fix Version/s: 2.0.0-M24
    • Component/s: core
    • Labels:
      None

      Description

      We just upgraded from 2.0.0-M20 to 2.0.0-M21 for the security vulnerability fix. We are having an issue where apacheDS fails to start. It is throwing the following exception:
      org.apache.directory.api.ldap.model.exception.LdapOtherException:null
      org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable#get|JdbmTable.java:371
      org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex#forwardLookup|JdbmIndex.java:360
      org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex#forwardLookup|JdbmIndex.java:58
      org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition#getEntryId|AbstractBTreePartition.java:2518
      org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition#add|AbstractBTreePartition.java:684
      org.apache.directory.server.core.DefaultDirectoryService#initializeSystemPartition|DefaultDirectoryService.java:1755
      org.apache.directory.server.core.DefaultDirectoryService#initialize|DefaultDirectoryService.java:1815
      org.apache.directory.server.core.DefaultDirectoryService#startup|DefaultDirectoryService.java:1250
      com.entrustdatacard.foundation.usermgnt.ldap.EmbeddedDirectoryService#start|EmbeddedDirectoryService.java:252
      com.entrustdatacard.foundation.web.listener.DirectoryServiceListener#contextInitialized|DirectoryServiceListener.java:43
      org.apache.catalina.core.StandardContext#listenerStart|StandardContext.java:4727
      org.apache.catalina.core.StandardContext#startInternal|StandardContext.java:5167
      org.apache.catalina.util.LifecycleBase#start|LifecycleBase.java:150
      org.apache.catalina.core.ContainerBase#addChildInternal|ContainerBase.java:725
      org.apache.catalina.core.ContainerBase#addChild|ContainerBase.java:701
      org.apache.catalina.core.StandardHost#addChild|StandardHost.java:717
      org.apache.catalina.startup.HostConfig#deployWAR|HostConfig.java:945
      org.apache.catalina.startup.HostConfig$DeployWar#run|HostConfig.java:1768
      Please let me know if there is any temporary solution before this gets fixed.
      Thanks!!

        Issue Links

          Activity

          Hide
          pfm.smits Pierre Smits added a comment -

          Closing as it appears to be a duplicate.

          Show
          pfm.smits Pierre Smits added a comment - Closing as it appears to be a duplicate.
          Hide
          elecharny Emmanuel Lecharny added a comment -

          We have released a M23 version that can be started with a 'repair' mode. Could you give it a try ?

          Show
          elecharny Emmanuel Lecharny added a comment - We have released a M23 version that can be started with a 'repair' mode. Could you give it a try ?
          Hide
          raik kalpesh raicha added a comment -

          Thanks Emmanuel Lecharny, for the quick response. Any updates on when M22 version might be released. Thanks.

          Show
          raik kalpesh raicha added a comment - Thanks Emmanuel Lecharny , for the quick response. Any updates on when M22 version might be released. Thanks.
          Hide
          elecharny Emmanuel Lecharny added a comment -

          The tool will be included in the server, it should be enough to restart the server with the 'repair' parameter instead of start.

          I'm currently working on that (it works on my test environment, but the script is a bit reluctant to accept this command...).

          So basically the meat is there, I need to take care of the scripts.

          Show
          elecharny Emmanuel Lecharny added a comment - The tool will be included in the server, it should be enough to restart the server with the 'repair' parameter instead of start. I'm currently working on that (it works on my test environment, but the script is a bit reluctant to accept this command...). So basically the meat is there, I need to take care of the scripts.
          Hide
          raik kalpesh raicha added a comment -

          Thanks Emmanuel Lecharny for your comments. Is there some tool that I can use to repair the database, or the only solution right now is to remove the data and re-import. Can you please provide some information about the release dates of M22 version. Thanks!!

          Show
          raik kalpesh raicha added a comment - Thanks Emmanuel Lecharny for your comments. Is there some tool that I can use to repair the database, or the only solution right now is to remove the data and re-import. Can you please provide some information about the release dates of M22 version. Thanks!!
          Hide
          elecharny Emmanuel Lecharny added a comment -

          Your database is likely to be corrupted. Remove i and reimport the data.

          We are currently working on a 'repair' mode for the next version.

          Show
          elecharny Emmanuel Lecharny added a comment - Your database is likely to be corrupted. Remove i and reimport the data. We are currently working on a 'repair' mode for the next version.
          Hide
          raik kalpesh raicha added a comment -

          DefaultDirectoryService.startup() method call fails.

          Show
          raik kalpesh raicha added a comment - DefaultDirectoryService.startup() method call fails.

            People

            • Assignee:
              Unassigned
              Reporter:
              raik kalpesh raicha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development