Re: no pg_hba.conf entry for replication connection from host - Mailing list pgsql-general

From Volkan Unsal
Subject Re: no pg_hba.conf entry for replication connection from host
Date
Msg-id CAMcqKmkhk-85fwve+DTZp1vH-M=ETmhuMY+dgLSYWMGHnwt0mA@mail.gmail.com
Whole thread Raw
In response to Re: no pg_hba.conf entry for replication connection from host  (Melvin Davidson <melvin6925@gmail.com>)
Responses Re: no pg_hba.conf entry for replication connection from host
Re: no pg_hba.conf entry for replication connection from host
List pgsql-general
Hi Melvin,

I followed your instructions above and modified the pg_hba.conf in master to hardcode the IP address of the standby server. I kept the same pg_hba.conf file for the standby server –– I hope that was right. The log output hasn't changed much, but I'm enclosing it in this gist:


I hope the answer is in there...



On Fri, Apr 10, 2015 at 9:28 AM, Melvin Davidson <melvin6925@gmail.com> wrote:
Volkan,

What I see in the link is the original post.
I did not see any postgres log entry complaining about invalid entry in pg_hba.conf.

The pg_hba.conf entry in your original post is wrong. What you need is

host    replication     replication     104.131.66.183/32        md5

If you get an error after making that change, then please attach the complete new
version of the pg_hba.conf AND the entry from postgres log where it complains about
the invalid or non pg_hba.conf entry.




--
Volkan Unsal
web and mobile development

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Background worker assistance & review
Next
From: Melvin Davidson
Date:
Subject: Re: no pg_hba.conf entry for replication connection from host