Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzSvH-0000bU-TN for pgsql-general@arkaria.postgresql.org; Sat, 04 Jan 2014 15:14:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VzSvH-00059s-59 for pgsql-general@arkaria.postgresql.org; Sat, 04 Jan 2014 15:13:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzSvE-00059h-R8 for pgsql-general@postgresql.org; Sat, 04 Jan 2014 15:13:56 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzSvC-0000Ec-Ey for pgsql-general@postgresql.org; Sat, 04 Jan 2014 15:13:56 +0000 Received: by mail-pa0-f50.google.com with SMTP id kp14so15036482pab.37 for ; Sat, 04 Jan 2014 07:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=23DetG9nTBoZU8n9To7DOXLlb5TqBQ+6XJHTjo0d+3A=; b=05KLKOOFVfDJXKIxxdDK8LBiww8usMmapSpSFKD4GnWylGyP1/8jyN3AL2Vznw+9mp iM5ni81mWCLGK1WDQgKWRx4xKRoyP0mOCA3gzKwlAJqUWfnKtveJlaa8fcWlrkkkLDL/ CNyrRk72MQGgYR/rg1ENxBE55jKcsfxol3NeAx2vV2oVVImkWZe9GrHEJztK7sPrpEYL FSh/KpTzO8yCNxa0vmMTLVvRkFU7Kg6npMbhL3gVhLQq11yMFzIBqu5TSDPAkXCfLzyp hiyKyykLXilVZm58WNazFTf38ymLzJUURl1540VCHSNu7hkv0ngXkpNyt3AG/YIaKgjy vVbA== X-Received: by 10.68.130.103 with SMTP id od7mr45861951pbb.87.1388848432025; Sat, 04 Jan 2014 07:13:52 -0800 (PST) Received: from panda.site (174-21-132-251.tukw.qwest.net. [174.21.132.251]) by mx.google.com with ESMTPSA id yz5sm68412234pac.9.2014.01.04.07.13.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 04 Jan 2014 07:13:50 -0800 (PST) Message-ID: <52C8252C.5050602@gmail.com> Date: Sat, 04 Jan 2014 07:13:48 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Jayadevan M , Tom Lane CC: dinesh kumar , "pgsql-general@postgresql.org" Subject: Re: authentication failure References: <52C6C8EE.7060207@gmail.com> <9602.1388761635@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On 01/03/2014 09:29 PM, Jayadevan M wrote: > There is only one instance - > > ps -eaf | grep bin/postgres | grep -v grep > postgres 3203 1 0 2013 ? 00:02:04 /usr/pgsql-9.3/bin/postgres > > The basic checks I did - > Connectivity from other machines work (so server is accessible) > No .pgpass file in the system > Able to login as postgres and application users from the same system (as > long as it is not from the chroot environment). So this is not a > show-stopper- I am able to work and application is also working fine > Even in the chroot, as I mentioned, once I do a 'su - postgres', I am > able to login. So, if when you are in the chroot environment what user(s) fail to log in and are they the same user(s) as outside the chroot? > > Overall, it is just a minor inconvenience, but I would like to resolve > this. The no password supplied message comes back so fast, it is as if > it did not even attemp to connect. Well, per Toms suggestion you will need to look at the Postgres log file to see from the servers perspective. Also, in case there is third party program involved it would not hurt to tail the system log during your connection attempts. > > > > -- Adrian Klaver adrian.klaver@gmail.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general