Re: Fwd: Restarting with pg_ctl, users, and passwords.

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Matthew Pettis" <matthew(dot)pettis(at)gmail(dot)com>
Cc: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: Restarting with pg_ctl, users, and passwords.
Date: 2008-08-20 18:27:34
Message-ID: dcc563d10808201127h277aaac5k1014abf5729b949e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Wed, Aug 20, 2008 at 11:38 AM, Matthew Pettis
<matthew(dot)pettis(at)gmail(dot)com> wrote:
> Hi Craig,
>
> Ok, I changed my pg_hba.conf from the commented line to the following
> line to try to open things up for now (I know I will need more
> security, but I'm trying to open things up wide to find the problem):
>
> --- pg_hba.conf --------------------
> # IPv4 local connections:
> #host all all 127.0.0.1/32 md5
> host all all 127.0.0.1/32 trust
> -------------------------------------------
>
> and made the following change to postgresql.conf (the line was
> previously commented out):
> --- postgresql.conf ----------------
> listen_addresses = 'localhost'
> -------------------------------------------
>
> I still am getting the same error from my application (which I believe
> is passing on some postgresql error info:
>
> --- App error ----------------------------------------
> Error reported was &#39;FATAL: Ident authentication failed for user
> &quot;postgres&quot;
> &#39;.

You need to restart the postgresql service for the listen_addresses to
take effect, and either restarting or reloading will make the changes
you made in pg_hba.conf take effect.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Glen Parker 2008-08-20 18:33:06 Re: WAL archiving to network drive
Previous Message Mark Roberts 2008-08-20 18:02:25 Re: SELECT query experts, anyone?

Browse pgsql-novice by date

  From Date Subject
Next Message Matthew Pettis 2008-08-20 18:58:37 Re: Fwd: Restarting with pg_ctl, users, and passwords.
Previous Message Matthew Pettis 2008-08-20 17:38:54 Re: Fwd: Restarting with pg_ctl, users, and passwords.