Hi Mike, I think it may be related to DIRSERVER-1365 (Modification on the current init script (at least version 1.5.4) placed under /etc/init.d) [1].
Could you try to run it using "sudo /etc/init.d/apacheds start" or "sudo /etc/init.d/apacheds console"? Hope this helps, Pierre-Arnaud [1] - https://issues.apache.org/jira/browse/DIRSERVER-1365 On Wed, Jul 8, 2009 at 10:55 PM, Mike Lyon <[email protected]> wrote: > Hello All, > > Running RHEL, installed from the binary download, install script created > user/group apacheds:apacheds, when I try to start the daemon by going to > etc/init.d and running sudo ./apacheds console (I having also tried start > instead of console too) and then ran sudo ./apacheds status to verify it's > running and it's not. In the wrapper.log file and also the error it throws > when I run the console syntax, I get: > > [ml...@sjcharadb01p init.d]$ sudo ./apacheds console > Running Apache Directory Server - default... > wrapper | --> Wrapper Started as Console > wrapper | Using tick timer. > wrapperp | server listening on port 32000. > wrapper | Command[0] : java > wrapper | Command[1] : > > -Dlog4j.configuration=file:////var/lib/apacheds-1.5.4/default/conf/log4j.properties > wrapper | Command[2] : -Dapacheds.var.dir=/var/lib/apacheds-1.5.4/default > wrapper | Command[3] : > -Dapacheds.log.dir=/var/lib/apacheds-1.5.4/default/log > wrapper | Command[4] : > -Dapacheds.run.dir=/var/lib/apacheds-1.5.4/default/run > wrapper | Command[5] : -Dapacheds.instance=default > wrapper | Command[6] : > -Dbootstrap.start.class=org.apache.ldap.server.Service > wrapper | Command[7] : > -Dbootstrap.stop.class=org.apache.ldap.server.Service > wrapper | Command[8] : -Xms384m > wrapper | Command[9] : -Xmx384m > wrapper | Command[10] : -Djava.library.path=../lib > wrapper | Command[11] : -classpath > wrapper | Command[12] : > > ../lib/bootstrapper.jar:../lib/wrapper.jar:../lib/slf4j-api-1.4.3.jar:../lib/slf4j-log4j12-1.4.3.jar:../lib/log4j-1.2.14.jar > wrapper | Command[13] : -Dwrapper.key=hgW0ibWhSgDMZ9Rs > wrapper | Command[14] : -Dwrapper.port=32000 > wrapper | Command[15] : -Dwrapper.jvm.port.min=31000 > wrapper | Command[16] : -Dwrapper.jvm.port.max=31999 > wrapper | Command[17] : -Dwrapper.debug=TRUE > wrapper | Command[18] : -Dwrapper.pid=19240 > wrapper | Command[19] : -Dwrapper.version=3.2.3 > wrapper | Command[20] : -Dwrapper.native_library=wrapper > wrapper | Command[21] : -Dwrapper.cpu.timeout=10 > wrapper | Command[22] : -Dwrapper.jvmid=1 > wrapper | Command[23] : org.apache.directory.daemon.TanukiBootstrapper > wrapper | Command[24] : /opt/apacheds-1.5.4 > wrapper | Command[25] : org.apache.directory.server.Service > wrapper | Command[26] : /var/lib/apacheds-1.5.4/default/conf/server.xml > wrapper | Launching a JVM... > wrapper | JVM process exited with a code of 0, leaving the wrapper exit > code set to 0. > wrapper | JVM already down. > wrapper | Signal trapped. Details: > wrapper | signal number=17 (SIGCHLD), source="unknown" > wrapper | Received SIGCHLD, checking JVM process status. > wrapper | JVM process exited with a code of 1, setting the wrapper exit > code to 1. > wrapper | Unable to start a JVM > jvm 1 | wrapper | Unable to start JVM: Permission denied (13) > wrapper | <-- Wrapper Stopped > [ml...@sjcharadb01p init.d]$ > > The Jave version I am running is: > > [ml...@sjcharadb01p bin]$ ./java -version > java version "1.6.0_07" > Java(TM) SE Runtime Environment (build 1.6.0_07-b06) > Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode) > [ml...@sjcharadb01p bin]$ > > > Any ideas? > > Thank You, > Mike >
