Re: pg_hba.conf : bad entry for ADDRESS

From: arnaud gaboury <arnaud(dot)gaboury(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_hba.conf : bad entry for ADDRESS
Date: 2016-08-25 14:44:42
Message-ID: CAK1hC9v3=g=ZF5FG9=36hqKNyRWnZOSfhm97VY_Vnde-sOnbyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 25, 2016 at 4:38 PM, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
> On 08/25/2016 07:18 AM, arnaud gaboury wrote:
>>
>> I am deploying mattermost on my machine following their documentation[0].
>
>
>> There is a public IP with a domain name (http works OK).
>>
>> I entered this line in pg_hab.conf:
>
>
> I assume you mean pg_hba.conf
>
>> ------------------------------
>> host mattermost mmuser 127.0.0.1 md5
>> --------------------------------------------------------
>>
>
> Make sure that is the *only* line referencing 127.0.0.1.
>
>
>> Now when testing:
>> --------------------------------------
>> % psql --host=127.0.0.1 --dbname=mattermost --username=mmuser --password
>> Password for user mmuser:
>> psql: FATAL: no pg_hba.conf entry for host "127.0.0.1", user
>> "mmuser", database "mattermost", SSL off
>> ------------------------------------
>
>
> Did you reload PostgreSQL? That is how you tell PostgreSQL to reread the
> pg_hba.conf.
>
> FTR: I have deployed Mattermost and it works wonderfully.

The issue is solved (see my replies). By any chance, did you deploy on
Fedora? There is no official package and I must build my own .rpm.

>
> JD
>
>
>
> --
> Command Prompt, Inc. http://the.postgres.company/
> +1-503-667-4564
> PostgreSQL Centered full stack support, consulting and development.
> Everyone appreciates your honesty, until you are honest with them.

--

google.com/+arnaudgabourygabx

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2016-08-25 15:26:16 Re: pg_hba.conf : bad entry for ADDRESS
Previous Message arnaud gaboury 2016-08-25 14:43:23 Re: pg_hba.conf : bad entry for ADDRESS