Reputation: 3661
OS: Debian 8.1 X64
trying to install eJabberd Community server based on this tutorial
At the end of installation, it pops error message
Error: Error running Post Install Script.
The installation may have not completed correctly
What am I doing wrong?
Upvotes: 0
Views: 206
Reputation: 41558
It looks like /bin/sh
is Dash on your system (apparently the default since Debian Squeeze). However, the postinstall.sh
script inside the package uses brace expansion, which while widely supported in various shells is not required by the POSIX standard, and thus Dash is not in error by not supporting it. The postinstall.sh
script should either specify /bin/bash
instead of /bin/sh
in its first line, or abstain from using Bash-specific features.
You should be able to get a functioning ejabberd install by explicitly running the postinstall script with Bash:
sudo bash /opt/ejabberd-15.07/bin/postinstall.sh
Upvotes: 2