Enviado em 24/09/2012 - 12:25h
instalei o postgres com as seguintes linhas de comando(utilizei as mesmas no ubuntu desktop e funcionou bem):
add-apt-repository ppa:pitti/postgresql
apt-get update
apt-get install postgresql postgresql-common
apt-get install postgresql-contrib-9.1
não sei se ta certo mas nao apareceu a pasta /etc/postgres somente a /etc/postgres-common
e ta dando o seguinte erro quando tento conectar ou usar o comando psql:
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"
alguem poderia me ajudar :D