Problem
After installing postgresql in a new Ubuntu 14.04 installation you get the error:
1 |
No PostgreSQL clusters exist; see "man pg_createcluster" |
and when you try to start the server with:
1 |
sudo service postgresql start |
you get the error that the server does not exist:
1 |
psql: coud not create to server: No such file or directory ... |
Solution
The solution can be found in the article here, and is to create manually the first cluster by:
1 |
sudo pg_createcluster 9.3 main |