pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaime Casanova <jaime@2ndquadrant.com>
To: David Hernández <davhern@gmail.com>
Cc: POSTGRES <pgsql-es-ayuda@postgresql.org>
Subject:  Re: [BUGS] ¿Está el servidor en ejecución localmente y aceptando conexiones en el socket de dominio Unix <</tmp/.s.PGSQL.5432>>?
Date: Mon, 20 Jun 2011 09:26:09 -0500
Message-ID: <BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinE_F4seS1sgDMUFA_4fMieb1X6BQ@mail.gmail.com>
References: <BANLkTinE_F4seS1sgDMUFA_4fMieb1X6BQ@mail.gmail.com>

2011/6/20 David Hernández <davhern@gmail.com>:
> Hola,
>
> estoy desesperado, no consigo levantar postgresql en Opensuse, me sale el
> siguiente error al intentar levantar el servicio:
>
> psql: no se pudo conectar con el servidor: No exite el fichero o el
> directorio ¿Está el servidor en ejecución localmente y aceptando conexiones
> en el socket de dominio Unix <</tmp/.s.PGSQL.5432>>?
>
> he leido en distintos sitios que es posiblemente debido a que el socket se
> ha quedado abierto, sin envargo el fichero /tmp/.s.PGSQL.5432 no existe, ni
> aun haciendo una busqueda de todo el disco duro. He probado tambien
> desinstalar el programa, y volver a instalar, pero nada no hay manera.
>
> Agradezco cualquier ayuda :).
> Saludos.
>
>

Saludos,

Esta es una lista en inglés, te estoy redireccionando a una lista en español.

Respecto a tu problema, el mensaje que mencionas no sale al "levantar"
el servicio sino al tratar de conectarte mediante el cliente psql...
psql es un cliente de linea de comandos de postgresql y sirve para
ejecutar sentencias SQL y chequear objetos de la base de datos pero
para conectarte usando psql el servicio *ya* debe estar levantado...

para levantar el servicio usas el comando pg_ctl:

pg_ctl -D /ruta/a/la/carpeta/data start


-- 
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación



view thread (8+ messages)  latest in thread

Message-ID: <BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com>
Permalink:  ../BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jaime@2ndquadrant.com, davhern@gmail.com, pgsql-es-ayuda@postgresql.org
  Subject: Re: [BUGS] ¿Está el servidor en ejecución localmente y aceptando conexiones en el socket de dominio Unix <</tmp/.s.PGSQL.5432>>?
  In-Reply-To: <BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com>
  References: <BANLkTinE_F4seS1sgDMUFA_4fMieb1X6BQ@mail.gmail.com> <BANLkTin1+OSo6LPKCT2xBDEb23JsMULiTQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox