Rodrigo Lenzi created DIRSERVER-2005:
----------------------------------------
Summary: 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
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)