Skip to content

Commit

Permalink
install: Add nice error message for RabbitMQ not having started.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed Sep 30, 2015
1 parent 5bf66e0 commit 40ec59b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/lib/install
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ fi
cp -a /root/zulip/zproject/local_settings_template.py /etc/zulip/settings.py
ln -nsf /etc/zulip/settings.py /root/zulip/zproject/local_settings.py

if ! rabbitmqctl status >/dev/null; then
set +x
echo; echo "RabbitMQ seems to not have started properly after the installation process."
echo "Often, this can be caused by misconfigured /etc/hosts in virtualized environments"
echo "See https://github.com/zulip/zulip/issues/53#issuecomment-143805121"
echo "for more information"
echo
set -x
exit 1
fi

/root/zulip/scripts/setup/configure-rabbitmq

/root/zulip/scripts/setup/postgres-init-db
Expand Down

0 comments on commit 40ec59b

Please sign in to comment.