pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Chandra 12108 <Dinesh.Chandra@cyient.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Unable to connect Postgres using psql while postgres is already running.
Date: Wed, 10 Jan 2018 09:01:24 +0000
Message-ID: <78c05a653d2f4c32aa324daac84ed5ec@cyient.com> (raw)

Hi Expert,

After restarting PostgreSQL Server, I am unable to connect postgres from putty, I am getting error

psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

While postgres is already running and also I am able to connect databases from PGAdmin tool but not from command prompt.

Software-postgresql-9.3
Os-Centos

Regards,
Dinesh Chandra
|Database administrator (Oracle/PostgreSQL)| Cyient Ltd. Noida.
------------------------------------------------------------------
Mobile: +91-9953975849 | Ext 1078 |dinesh.chandra@cyient.com<mailto:%7Cdinesh.chandra@cyient.com>
Plot No. 7, NSEZ, Phase-II ,Noida-Dadri Road, Noida - 201 305,India.



________________________________

DISCLAIMER:

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Check all attachments for viruses before opening them. All views or opinions presented in this e-mail are those of the author and may not reflect the opinion of Cyient or those of our affiliates.

view thread (3+ messages)  latest in thread

Message-ID: <78c05a653d2f4c32aa324daac84ed5ec@cyient.com>
Permalink:  ../78c05a653d2f4c32aa324daac84ed5ec@cyient.com/
Also on:    postgresql.org/message-id/78c05a653d2f4c32aa324daac84ed5ec@cyient.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Dinesh.Chandra@cyient.com
  Subject: Re: Unable to connect Postgres using psql while postgres is already running.
  In-Reply-To: <78c05a653d2f4c32aa324daac84ed5ec@cyient.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