[ https://issues.apache.org/jira/browse/DIRSERVER-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376417#comment-14376417 ]
Alvaro Feitais commented on DIRSERVER-2055: ------------------------------------------- This was the output from the console: alvaro@dsi6164l:~/ambienteDSI/servidores/apacheds-2.0.0-M19/bin$ /bin/bash -x apacheds.sh default start > logs.txt ++ dirname apacheds.sh + PROGRAM_DIR=. + '[' -z '' ']' ++ cd ./.. ++ pwd + ADS_HOME=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19 + '[' -z /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19 ']' + HAVE_TTY=0 ++ tty + '[' /dev/pts/3 '!=' 'not a tty' ']' + HAVE_TTY=1 + cygwin=false + case "`uname`" in ++ uname + ADS_INSTANCE_NAME= + ADS_ACTION= + '[' 2 -eq 1 ']' + '[' 2 -eq 2 ']' + ADS_INSTANCE_NAME=default + ADS_ACTION=start + '[' -r /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/bin/setenv.sh ']' + false + '[' -z '' ']' + ADS_INSTANCES=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances + RUN_JAVA= + '[' -z '' ']' ++ which java + RUN_JAVA=/usr/bin/java ++ JARS=("$ADS_HOME"/lib/*.jar) ++ IFS=: ++ echo /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/lib/apacheds-service-2.0.0-M19.jar + CLASSPATH=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/lib/apacheds-service-2.0.0-M19.jar + ADS_INSTANCE=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default + ADS_OUT=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/log/apacheds.out + ADS_PID=/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/run/apacheds.pid + false + '[' -z '' ']' + ADS_CONTROLS=-Dapacheds.controls=org.apache.directory.api.ldap.codec.controls.cascade.CascadeFactory,org.apache.directory.api.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeFactory,org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,org.apache.directory.api.ldap.codec.controls.search.subentries.SubentriesFactory,org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncDoneValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncInfoValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncRequestValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory + '[' -z '' ']' + ADS_EXTENDED_OPERATIONS=-Dapacheds.extendedOperations=org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration.CertGenerationFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.storedProcedure.StoredProcedureFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectFactory + '[' 1 -eq 1 ']' + echo 'Using ADS_HOME: /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19' + echo 'Using JAVA_HOME: ' + echo '' + '[' start = start ']' + '[' 1 -eq 1 ']' + echo 'Starting ApacheDS instance '\''default'\''...' + '[' -f /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/run/apacheds.pid ']' ++ cat /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/run/apacheds.pid + PID=15360 + kill -0 15360 + eval '"/usr/bin/java"' -Dapacheds.controls=org.apache.directory.api.ldap.codec.controls.cascade.CascadeFactory,org.apache.directory.api.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeFactory,org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,org.apache.directory.api.ldap.codec.controls.search.subentries.SubentriesFactory,org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncDoneValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncInfoValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncRequestValueFactory,org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory -Dapacheds.extendedOperations=org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration.CertGenerationFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.storedProcedure.StoredProcedureFactory,org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectFactory '-Dlog4j.configuration="file:/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/conf/log4j.properties"' '-Dapacheds.log.dir="/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default/log"' -classpath '"/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/lib/apacheds-service-2.0.0-M19.jar"' org.apache.directory.server.UberjarMain '"/home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19/instances/default"' '&' + echo 15392 And that was printed inside the logs.txt: Using ADS_HOME: /home/alvaro/ambienteDSI/servidores/apacheds-2.0.0-M19 Using JAVA_HOME: Starting ApacheDS instance 'default'... > Apacheds M19 not starting > ------------------------- > > Key: DIRSERVER-2055 > URL: https://issues.apache.org/jira/browse/DIRSERVER-2055 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Affects Versions: 2.0.0-M19 > Environment: Linux Ubuntu 14.04 > OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) > OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode) > Reporter: Alvaro Feitais > Priority: Critical > Attachments: apacheds.sh, apacheds_sh.png > > > When I try to start ApacheDS, using the command sh apacheds.sh > appears this message. > Usage: apacheds.sh [<instance name>] <action> > If <instance name> is ommited, 'default' will be used. > <action> is one of start, stop. > When I use sh apacheds.sh default this message appears > apacheds.sh: 105: apacheds.sh: Syntax error: "(" unexpected (expecting ")") > I downloaded apacheds-2.0.0-M19.tar.gz -- This message was sent by Atlassian JIRA (v6.3.4#6332)