Psql no pudo conectarse al servidor: ¿No existe tal archivo o directorio, error 5432?
Estoy tratando de correrpsql
en mi máquina Vagrant, pero recibo este error:
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"?
Nota: Vagrant 1.9.2 Box: ubuntu / trusty64,https://atlas.hashicorp.com/ubuntu/boxes/trusty64
EDITAR Comandos que he usado para instalar y ejecutar postgres:
sudo apt-get update
sudo apt-get install postgresql
sudo su postgres
psql -d postgres -U postgres