Foros del Web » Programación para mayores de 30 ;) » Bases de Datos General » PostgreSQL »

[SOLUCIONADO] Imposible conectar a postgres 9.1 recien instalado

Estas en el tema de Imposible conectar a postgres 9.1 recien instalado en el foro de PostgreSQL en Foros del Web. Código: 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"?...
  #1 (permalink)  
Antiguo 28/08/2013, 08:24
Avatar de jhg
jhg
 
Fecha de Ingreso: marzo-2012
Mensajes: 96
Antigüedad: 12 años, 1 mes
Puntos: 1
Imposible conectar a postgres 9.1 recien instalado

Código:
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"?
__________________
JHG
  #2 (permalink)  
Antiguo 28/08/2013, 10:05
Avatar de huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: Imposible conectar a postgres 9.1 recien instalado

Revisa que el servicio se encuentre iniciado.

En linux normalmente es:
service postgresql restart|start|status|stop

En windows en panel de control-herramientas administrativas-servicios debe aparecer el servicio de postgresql
__________________
Without data, You are another person with an opinion.
W. Edwads Deming
  #3 (permalink)  
Antiguo 28/08/2013, 11:09
Avatar de jhg
jhg
 
Fecha de Ingreso: marzo-2012
Mensajes: 96
Antigüedad: 12 años, 1 mes
Puntos: 1
Respuesta: Imposible conectar a postgres 9.1 recien instalado

En lo que respondias estuve probando a desinstalar y pugar todo, apt-get purge de postgresql y postgresql-9.1 y borrar el usuario postgres etc y reinicie el servidor y ahora al instalarlo de nuevo se ha quedado funcionando, puede que cuando antes tuve un error con los locales algo quedara corrupto. Graciras igualmente.
__________________
JHG

Etiquetas: imposible, instalado, postgres, recien
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 10:43.