[
https://issues.apache.org/jira/browse/DIRSERVER-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141576#comment-14141576
]
Rodrigo Lenzi commented on DIRSERVER-2005:
------------------------------------------
The last part of the description is missing:
Fixes the issue.
> apacheds.sh script does not run under Debian based distros
> ----------------------------------------------------------
>
> Key: DIRSERVER-2005
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2005
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 2.0.0-M17
> Environment: Debian Linux
> Reporter: Rodrigo Lenzi
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> The tar.gz distribution of apacheds is throwing an error while trying to run
> {code}
> ./apacheds.sh start
> {code}
> {code}
> ./apacheds.sh: 64: ./apacheds.sh: Syntax error: "(" unexpected (expecting ")")
> {code}
> After some research, and since works fine under Arch Linux, I figured out the
> that the script (apacheds.sh) is using the /bin/sh link. Which under Debian
> systems is pointing to dash (the Debian Almquist Shell).
> Changing the first line of the script to
> {code}
> #!/bin/bash
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)