Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKAxA-00012U-Im for pgsql-bugs@arkaria.postgresql.org; Tue, 28 Jul 2015 19:54:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZKAxA-0001Mn-06 for pgsql-bugs@arkaria.postgresql.org; Tue, 28 Jul 2015 19:54:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZKAx9-0001Mh-M8 for pgsql-bugs@postgresql.org; Tue, 28 Jul 2015 19:54:19 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZKAx5-0003LS-35 for pgsql-bugs@postgresql.org; Tue, 28 Jul 2015 19:54:19 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [181.226.158.182]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 25E5D4008E3; Tue, 28 Jul 2015 12:54:08 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id BF2D78A2; Tue, 28 Jul 2015 16:54:04 -0300 (CLT) Date: Tue, 28 Jul 2015 16:54:04 -0300 From: Alvaro Herrera To: Kevin Grittner Cc: "manoj.itara@gmail.com" , "pgsql-bugs@postgresql.org" Subject: Re: BUG #13520: postgres not connecting with opnerp7.0 Message-ID: <20150728195404.GE2441@postgresql.org> References: <20150727111525.2737.73761@wrigleys.postgresql.org> <876143710.3967803.1438112835579.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <876143710.3967803.1438112835579.JavaMail.yahoo@mail.yahoo.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Kevin Grittner wrote: > "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