directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Blatzheim <andreas.blatzh...@netcologne.de>
Subject New partition in ADS 2.0 M8
Date Thu, 22 Nov 2012 11:03:51 GMT
Hi, 
I'm new to ApacheDS and for sure have some questions. 

I try to create my own partition but get some error messages. So here is what I did so far:


0. Install JAVA on the Ubuntu Box 
1. Install the .deb package of apache 2.0.0 M8 at a Ubuntu Server.
2. Change the wrapper.conf at /var/lib/<apacheds-dir>/default/conf/wrapper.conf to get
the right java-vm
3. Start ApacheDS in console mode and test functions with ApacheDS Studio. 

Up  to this point everything works fine. However I like to get rid of the dc=example, dc=com
partition. So I tried to rename it, which is not possible for the rootDSE. 
In addition I tried to follow some descriptions from the mailing list. But that caused some
errors in the ApacheDS Studio. As a result I can not load the current config and add a partition.

So I decided to create my own LDIF with the tools of ApacheDS Studio, store them on the server
and create a 2nd instance. If I now start the apacheDS Server I got some error messages. 

ERRORS: 
root@MyServer:/opt/jre/bin# /opt/apacheds-2.0.0-M8/bin/apacheds console mycloud
Running ApacheDS - mycloud...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    | 
jvm 1    | [01:47:47] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] -
Failed to start the service.
jvm 1    | org.apache.directory.shared.ldap.model.exception.LdapOtherException
jvm 1    | 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:89)
jvm 1    | 	at org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:284)
jvm 1    | 	at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:166)
jvm 1    | 	at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
jvm 1    | 	at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
jvm 1    | Caused by: java.lang.NullPointerException
jvm 1    | 	at org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doDestroy(SingleFileLdifPartition.java:435)
jvm 1    | 	at org.apache.directory.server.core.api.partition.AbstractPartition.destroy(AbstractPartition.java:118)
jvm 1    | 	at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:85)
jvm 1    | 	... 4 more
wrapper  | <-- Wrapper Stopped

It create the SCHEMA Partition, but fails with the other settings. 
Any Help here? 

 


Versions
Linux =  Linux MyServer 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:29:15 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
JAVA =  java version "1.7.0_09" | Java(TM) SE Runtime Environment (build 1.7.0_09-b05) | Java
HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)


Andreas Blatzheim
Ginsterweg 31 
50189 Elsdorf 

Mail: andreas.blatzheim@netcologne.de
Phone: 	+49(0)2274 905017
Mobile: 	+49(0)151 21285278







Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message