From: Adrian Klaver <adrian.klaver@gmail.com>
To: Jayadevan M <maymala.jayadevan@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: dinesh kumar <dineshkumar02@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: authentication failure
Date: Sat, 04 Jan 2014 07:13:48 -0800
Message-ID: <52C8252C.5050602@gmail.com> (raw)
In-Reply-To: <CAFS1N4g1jmzcdHvOsK4VfzkM0-5YiM4LiDDy0ECJ9YvWrhdt+Q@mail.gmail.com>
References: <CAFS1N4jxhPcR7ae70QSDTW2EhhfZE9H88D62f9kPswOF8ok_ZA@mail.gmail.com>
<CADfwSsAP6RbdRwPQRXK7oZSV8LKKrNGYJQU-Bnyt+TppWq2r-g@mail.gmail.com>
<CAFS1N4h_0cdgQQ7pMT0QUyq1VD_D45V05jESctGrp722=ExqbQ@mail.gmail.com>
<CALnrH7pgBvr-a2-BX1QRkwJswMxdZ6W8JL5r9XWuBBnsCfHSfw@mail.gmail.com>
<CAFS1N4j5B7tR2fyjEMotG55EAYCdzkfjbUzU+YtYiFb7xmt9AQ@mail.gmail.com>
<52C6C8EE.7060207@gmail.com>
<9602.1388761635@sss.pgh.pa.us>
<CAFS1N4g1jmzcdHvOsK4VfzkM0-5YiM4LiDDy0ECJ9YvWrhdt+Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
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
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@gmail.com, maymala.jayadevan@gmail.com, tgl@sss.pgh.pa.us, dineshkumar02@gmail.com
Subject: Re: authentication failure
In-Reply-To: <52C8252C.5050602@gmail.com>
References: <CAFS1N4jxhPcR7ae70QSDTW2EhhfZE9H88D62f9kPswOF8ok_ZA@mail.gmail.com> <CADfwSsAP6RbdRwPQRXK7oZSV8LKKrNGYJQU-Bnyt+TppWq2r-g@mail.gmail.com> <CAFS1N4h_0cdgQQ7pMT0QUyq1VD_D45V05jESctGrp722=ExqbQ@mail.gmail.com> <CALnrH7pgBvr-a2-BX1QRkwJswMxdZ6W8JL5r9XWuBBnsCfHSfw@mail.gmail.com> <CAFS1N4j5B7tR2fyjEMotG55EAYCdzkfjbUzU+YtYiFb7xmt9AQ@mail.gmail.com> <52C6C8EE.7060207@gmail.com> <9602.1388761635@sss.pgh.pa.us> <CAFS1N4g1jmzcdHvOsK4VfzkM0-5YiM4LiDDy0ECJ9YvWrhdt+Q@mail.gmail.com> <52C8252C.5050602@gmail.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