[
https://issues.apache.org/jira/browse/DIRSERVER-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-2005.
------------------------------------------
Resolution: Won't Fix
Fix Version/s: 2.0.0-M19
This is typically something you should fix on your server. bash is not
available on many linux/unix platform, when sh is.
Just make sh point to something like bash on your platform.
> 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
> Fix For: 2.0.0-M19
>
> 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)