I was trying to setup redash via the bootstrap.sh script. While running the script on an aws instance running 12.04 - I am getting the following error.
The system user `redash' already exists. Exiting.
psql (PostgreSQL) 9.1.11
contains support for command-line editing
redis-cli 2.8.17
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Creating redash postgres user & database.
createuser: could not connect to database postgres: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
I checked that psql is already installed on my machine
$psql --version
psql (PostgreSQL) 9.1.11
contains support for command-line editing
It seems that the postgre server is not running. How can I check that postgre server was correctly installed by the script and is up and running?
Thanks