Re: authentication failure - Mailing list pgsql-general

From Sameer Kumar
Subject Re: authentication failure
Date
Msg-id CADp-Sm5w_QHff08W3nOTFoeVHtJ1EbszLKqFrnYAT99gg1dt0w@mail.gmail.com
Whole thread Raw
In response to Re: authentication failure  (Jayadevan <maymala.jayadevan@gmail.com>)
List pgsql-general

On Sun, Jan 5, 2014 at 6:45 PM, Jayadevan <maymala.jayadevan@gmail.com> wrote:
Sameer Kumar wrote
> This only tells that there is one instance running!
>
> There could be multiple PostgreSQL installations. And I guess that is what
> Tom meant here.

I doubt that was what Tom meant. Anyway, we can see from the error that the
request did reach the server.


Sameer Kumar wrote
> Can you try
> $ which psql
> $ which pg_clt
>
> Can you set your $PGUSER variable to postgres and then try?
>
> $ export $PGUSER=postgres

It is already set.

I suggested this since you mentioned su - postgresql does not give you the same error.

Which user are you using (while you get the error)?

 
How would which psql is being used have an impact?



I was just trying to understand more about your environment. This will let us know how many installations you have.

What is the value for your $PGDATA, $PGPASSWORD?



--
View this message in context: http://postgresql.1045698.n5.nabble.com/authentication-failure-tp5785193p5785366.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Jayadevan
Date:
Subject: Re: authentication failure
Next
From: Sameer Kumar
Date:
Subject: Re: file system level backup