无法启动ApacheDS(全新安装)

我有一台Ubuntu Server 12,Apache,MySQL,PHP的虚拟机。 我正试图在同一台机器上安装ApacheDS。 所以,我安装了xubuntu,java和apacheds(使用deb包)没有问题。 然后,当我尝试使用以下命令启动ApacheDS:

$ sudo /etc/init.d/apacheds-2.0.0-M15-default start 

我得到:

 Starting ApacheDS - default... $ 

然后如果我执行:

 $ sudo /etc/init.d/apacheds-2.0.0-M15-default status 

我得到:

 Starting ApacheDS - default is not running 

我检查了/ var / log / syslog,那里什么也没有! 出了什么问题? 任何想法?

我有同样的问题。

您可以在“控制台”模式下看到启动问题。 只要执行:

 $ sudo /etc/init.d/apacheds-2.0.0-M15-default console 

在我的情况下,我得到了以下错误消息,这源于“java”命令:

 Running ApacheDS - default... wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... wrapper | JVM exited while loading the application. jvm 1 | Error occurred during initialization of VM jvm 1 | Could not reserve enough space for object heap jvm 1 | Error: Could not create the Java Virtual Machine. jvm 1 | Error: A fatal exception has occurred. Program will exit. wrapper | There were 1 failed launches in a row, each lasting less than 300 seconds. Giving up. wrapper | There may be a configuration problem: please check the logs. wrapper | <-- Wrapper Stopped 

这是需要修复的java选项。 在我的情况下,我不得不减less初始堆大小:

 java -Xms16m -Xmx64m ...