Le 19/05/2017 à 03:17, Ezsra McDonald a écrit : > I had a successful build. What do I do with M24? How do I access my M20 > data? > > I tried the following: > > Install M24 over the M20 install. Got complaints about config.ldif so I > removed it. There are now complaints about some attributes not being found. > > ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist! and some > others.
You need to configue the newly installed server accordingly to your previous configuration (you can use studio for that purpose). Once done, you have two options : - if you have reconfigured your naming contexts (ie, the partitions), you shoud be able to reuse the existing databases - otherwise you should reimport the data as ldif > > > I tried Installing M24 and replacing the partition with my M20 partition. > There are errors loading and the instance shuts down. > > STATUS | wrapper | 2017/05/18 20:15:13 | --> Wrapper Started as Daemon > STATUS | wrapper | 2017/05/18 20:15:13 | Launching a JVM... > INFO | jvm 1 | 2017/05/18 20:15:14 | Wrapper (Version 3.2.3) > http://wrapper.tanukisoftware.org > INFO | jvm 1 | 2017/05/18 20:15:14 | Copyright 1999-2006 Tanuki > Software, Inc. All Rights Reserved. > INFO | jvm 1 | 2017/05/18 20:15:14 | > INFO | jvm 1 | 2017/05/18 20:15:16 | [20:15:15] ERROR > [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to > start the service. > INFO | jvm 1 | 2017/05/18 20:15:16 | > org.apache.directory.api.ldap.model.exception.LdapOtherException > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1822) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1251) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:364) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:197) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:153) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:175) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) > INFO | jvm 1 | 2017/05/18 20:15:16 | Caused by: > org.apache.directory.api.ldap.model.exception.LdapOtherException > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:94) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:809) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.doInit(DefaultPartitionNexus.java:233) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89) > INFO | jvm 1 | 2017/05/18 20:15:16 | ... 7 more > INFO | jvm 1 | 2017/05/18 20:15:16 | Caused by: > org.apache.directory.api.ldap.model.exception.LdapException > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2755) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.lookup(AbstractBTreePartition.java:1381) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.doInit(JdbmPartition.java:495) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89) > INFO | jvm 1 | 2017/05/18 20:15:16 | ... 10 more > INFO | jvm 1 | 2017/05/18 20:15:16 | Caused by: > org.apache.directory.api.ldap.model.exception.LdapOtherException > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:371) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:360) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.forwardLookup(JdbmIndex.java:58) > INFO | jvm 1 | 2017/05/18 20:15:16 | at > org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.getEntryId(AbstractBTreePartition.java:2732) > INFO | jvm 1 | 2017/05/18 20:15:16 | ... 13 more > STATUS | wrapper | 2017/05/18 20:15:17 | <-- Wrapper Stopped > > > > > > > > On Thu, May 18, 2017 at 11:18 AM, Ezsra McDonald <ezsra.mcdon...@gmail.com> > wrote: > >> I may have the build running. I will let you know. >> >> Thanks again. >> >> On Thu, May 18, 2017 at 11:12 AM, Ezsra McDonald <ezsra.mcdon...@gmail.com >>> wrote: >>> Emmanuel,Thank you for your response, >>> >>> It cannot find a dependency `Could not resolve dependencies for project >>> org.apache.directory.server:apacheds-interceptors-admin:bund >>> le:2.0.0-M24-SNAPSHOT` >>> >>> >>> >>> On Thu, May 18, 2017 at 10:23 AM, Emmanuel Lécharny <elecha...@gmail.com> >>> wrote: >>> >>>> Hi Ezra, >>>> >>>> there were some bug in the command line which has been fixed in trunk. >>>> We don't have nightly build for ApacheDS, but you can easily build the >>>> project : k-just run 'mvn clean install' at the root of checked out >>>> soure (svn co http://svn.apache.org/repos/asf/directory/apacheds/trunk), >>>> then move to the 'installers' directory and type 'mvn clean install >>>> -Pinstallers', that will generate an installer for your target OS (in >>>> installers/target/installers directory) >>>> >>>> >>>> >>>> Le 17/05/2017 à 00:56, Ezsra McDonald a écrit : >>>>> We are running ADS M20 on Linux. >>>>> >>>>> We had some database issues so we tried the partition-plumber.jar. It >>>> seems >>>>> to run fine and rebuilds everything. Next we try to start the server. >>>> The >>>>> server startup takes nearly 15 minutes. Once we get the banner we >>>> connect >>>>> to the server. The partition is empty. >>>>> >>>>> Next, we tried installing M23 and created a partition. We replaced the >>>>> partition with the partition data from the M20 instance. >>>>> >>>>> We see the following in the wrapper log however the instance never >>>> seems to >>>>> start complete. >>>>> >>>>> TATUS | wrapper | 2017/05/16 17:40:07 | --> Wrapper Started as Daemon >>>>> STATUS | wrapper | 2017/05/16 17:40:07 | Launching a JVM... >>>>> INFO | jvm 1 | 2017/05/16 17:40:07 | Wrapper (Version 3.2.3) >>>>> http://wrapper.tanukisoftware.org >>>>> INFO | jvm 1 | 2017/05/16 17:40:07 | Copyright 1999-2006 Tanuki >>>>> Software, Inc. All Rights Reserved. >>>>> INFO | jvm 1 | 2017/05/16 17:40:07 | >>>>> INFO | jvm 1 | 2017/05/16 17:40:08 | Trying to repair the >>>> following >>>>> data :/opt/ApacheDS/var/lib/default >>>>> INFO | jvm 1 | 2017/05/16 17:40:08 | Starting the service. >>>>> >>>>> I don't see any logs related to repairs. Those would be handy. Maybe >>>> it is >>>>> still repairing but I can't tell. The files are not changing size on >>>> the >>>>> file system. >>>>> >>>>> >>>>> If I restart M23 with the repair argument we get an error: >>>>> >>>>> Repairing ApacheDS - default... >>>>> FATAL | wrapper | Unable to resolve the full path of the >>>> configuration >>>>> file, wrapper.app.parameter.1=repair: No such file or directory >>>>> Starting ApacheDS - default... >>>>> >>>> -- >>>> Emmanuel Lecharny >>>> >>>> Symas.com >>>> directory.apache.org >>>> >>>> -- Emmanuel Lecharny Symas.com directory.apache.org