Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkU64-00081Z-QI for pgsql-general@arkaria.postgresql.org; Wed, 02 Dec 2020 15:31:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkU63-0007pO-PP for pgsql-general@arkaria.postgresql.org; Wed, 02 Dec 2020 15:31:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkU62-0007nv-MX for pgsql-general@lists.postgresql.org; Wed, 02 Dec 2020 15:31:11 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkU5x-0003Y4-Pw for pgsql-general@postgresql.org; Wed, 02 Dec 2020 15:31:10 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9A45CF40; Wed, 2 Dec 2020 10:31:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 02 Dec 2020 10:31:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=B bSb41WmTjgKSCHWouPqH0ovdOCq4/kPaBvH/iVh5S0=; b=CskIriPSxyAqCklIr hrMKdTEi8brr9afWV9/8igwiqAEw6xkYLjKKV/lGtohjuGTdk00MENf3AkCPe2Lz YA11i+uxU087VfXoedemSUDgxgd9zH13KrG2JvTXSZRjXT56hJ8pa5oo5qUn18fB juMqOW9rWMEFhj7tOulWMU8iNEGyEwYDvXt9hH8Wwo3MfAmJl1bltgl2y/nzh0hl W36T2CTotOp0YlEODcg9fEFDlcU0Eb72yhC2IS26+NTYoYxHbbhYIIDtJ8PkgMz8 ovBqUjX8n9j/I4sWTnhJWDIDoLW4wMn2+4j9JsH2NbLdNC0clv0phVb/Uo3ooAvg l9fcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=BbSb41WmTjgKSCHWouPqH0ovdOCq4/kPaBvH/iVh5 S0=; b=JmstoljFDiztRB2G7NFK3I3hcCBbiXPVCfThF5Vw2Om2fHiejYtA9dM1r hZvVctvMvu2ncqrEQ7ZKfTEd89DkbI4yHZ/Ih7yv+y5UbETBl7neAsO5SK8HtMgf iPe3tCYA8Gj8vcFwy7VDul/HKXQc/LqeRBxHvLIwcehAVFxo/AJ7q2TEmJ3mvJER 0T4RbnwDVBarnPOT1DHuCddZiVEPYkwpYMRsq5R8RpYq4UifzRdWWkJM8H9EBbtI C++OEUqPUCTHIVrC2CoGZs+VCJg59PfEFw/0UsFC6FxAQ4IR/0N1rGiHs2GzShUb Sd+SVBL+L/nr34HR2kf4NvdbbfNBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeigedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeetjedvteffjeeuvdelieeffeehuedthffgvdfhhffh kedvudevgedvjedufefgveenucfkphepjeehrddujedvrddurdeileenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghv vghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-1-69.tukw.qwest.net [75.172.1.69]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A6421080063; Wed, 2 Dec 2020 10:31:02 -0500 (EST) Subject: Re: error on connecting port 5432 To: Atul Kumar , Tom Lane Cc: Postgres General References: <2e7b686b-7f1a-d5f9-75d8-c7a754798789@aklaver.com> <1399058.1606841635@sss.pgh.pa.us> From: Adrian Klaver Message-ID: <0b93ba45-9dfb-e5a8-119f-df793f51e06f@aklaver.com> Date: Wed, 2 Dec 2020 07:31:01 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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