pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Kevin Grittner <kgrittn@ymail.com>
Cc: manoj.itara@gmail.com <manoj.itara@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13520: postgres not connecting with opnerp7.0
Date: Tue, 28 Jul 2015 16:54:04 -0300
Message-ID: <20150728195404.GE2441@postgresql.org> (raw)
In-Reply-To: <876143710.3967803.1438112835579.JavaMail.yahoo@mail.yahoo.com>
References: <20150727111525.2737.73761@wrigleys.postgresql.org>
	<876143710.3967803.1438112835579.JavaMail.yahoo@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Kevin Grittner wrote:
> "manoj.itara@gmail.com" <manoj.itara@gmail.com> wrote:
> 
> > I facing a issue while connecting postgres.Can you solve it.
> >
> > 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"?
> 
> This is not a bug; for future questions on usage, please send an
> email to pgsql-general@postgresql.org, to post to the appropriate
> list.
> 
> The hint says it all -- either the server is not running (and you
> need to start it before you can connect), or it is running using a
> different port number or subdirectory (and you should specify that
> in your connection options).

Given the socket path in the HINT, I would suggest that the client
library has been installed via Debian packages, and the server probably
hasn't --- most likely, the socket is in the default path of /tmp.  So
if you try something like "host=/tmp" then it might be able to connect.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <20150728195404.GE2441@postgresql.org>
Permalink:  ../20150728195404.GE2441@postgresql.org/
Also on:    postgresql.org/message-id/20150728195404.GE2441@postgresql.org

 · 

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: alvherre@2ndquadrant.com, kgrittn@ymail.com, manoj.itara@gmail.com
  Subject: Re: BUG #13520: postgres not connecting with opnerp7.0
  In-Reply-To: <20150728195404.GE2441@postgresql.org>
  References: <20150727111525.2737.73761@wrigleys.postgresql.org> <876143710.3967803.1438112835579.JavaMail.yahoo@mail.yahoo.com> <20150728195404.GE2441@postgresql.org>

* 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