pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Atul Kumar <akumar14871@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: error on connecting port 5432
Date: Wed, 2 Dec 2020 07:31:01 -0800
Message-ID: <0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com> (raw)
In-Reply-To: <CA+ONtZ7jTGdw4HGxnOT_8oHyS7koGCBCMQw5g1QER+vo9EJJAw@mail.gmail.com>
References: <CA+ONtZ7KAKbePMZ08ifi=QvugZ+-XOK6mSwWkg1bgDm8gsmMFQ@mail.gmail.com>
	<CA+ONtZ5tGvDy+UJdiW=ZiWOLW9aJo9-hK1b6SHjGwr1r5sGUkg@mail.gmail.com>
	<2e7b686b-7f1a-d5f9-75d8-c7a754798789@aklaver.com>
	<CA+ONtZ4AgtE1w+mSWb8h_r_fyoC3wj05Fd3czC136zU+6Y1V5Q@mail.gmail.com>
	<1399058.1606841635@sss.pgh.pa.us>
	<CA+ONtZ7jTGdw4HGxnOT_8oHyS7koGCBCMQw5g1QER+vo9EJJAw@mail.gmail.com>

On 12/1/20 11:02 PM, Atul Kumar wrote:
> Thanks a lot Tom, I appended the -h /tmp and it worked.
> 
> I need just one more help from you.
> 
> Could you tell me that why & how that socket file existed in /tmp directory.
> 
> What is the practice to make sure that this file (.s.PGSQL.5432)
> should be inside /var/run directory ? so that it will not throw such
> error.
> 
> Please help me.

We have been trying, but you have not provided the information necessary 
to come up with a solution.

So once again:

What OS and version?

Do you have more then one instance of Postgres on this machine?

Where did you get your Postgres code/packages from?


> 
> 
> 
> 
> 
> 
> Regards,
> Atul
> 
> 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (12+ messages)

Message-ID: <0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com>
Permalink:  ../0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com/
Also on:    postgresql.org/message-id/0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, akumar14871@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: error on connecting port 5432
  In-Reply-To: <0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com>
  References: <CA+ONtZ7KAKbePMZ08ifi=QvugZ+-XOK6mSwWkg1bgDm8gsmMFQ@mail.gmail.com> <CA+ONtZ5tGvDy+UJdiW=ZiWOLW9aJo9-hK1b6SHjGwr1r5sGUkg@mail.gmail.com> <2e7b686b-7f1a-d5f9-75d8-c7a754798789@aklaver.com> <CA+ONtZ4AgtE1w+mSWb8h_r_fyoC3wj05Fd3czC136zU+6Y1V5Q@mail.gmail.com> <1399058.1606841635@sss.pgh.pa.us> <CA+ONtZ7jTGdw4HGxnOT_8oHyS7koGCBCMQw5g1QER+vo9EJJAw@mail.gmail.com> <0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.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