Re: no pg_hba.conf entry for replication connection from host

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Volkan Unsal <spocksplanet(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: no pg_hba.conf entry for replication connection from host
Date: 2015-04-10 18:42:34
Message-ID: CANu8FixAwffDNgcgjnqQfZEB6NuwshksMQK0QbNGD_A-_M2owg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Valkan,

I do not see any errors in the postgres log regarding no entry in
pg_hba.conf. So either you have sent the log from the slave, or you
are not specifying the correct address in the slave's recovery.conf
connection info

On 4/10/15, Volkan Unsal <spocksplanet(at)gmail(dot)com> wrote:
> 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:
>
> https://gist.github.com/volkanunsal/1778cf691223e77f2e30
>
> I hope the answer is in there...
>
>
>
> On Fri, Apr 10, 2015 at 9:28 AM, Melvin Davidson <melvin6925(at)gmail(dot)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*
> volkanunsal.com <http://bit.ly/1h1ebjy>
>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-04-10 18:46:07 Re: no pg_hba.conf entry for replication connection from host
Previous Message Volkan Unsal 2015-04-10 18:04:57 Re: no pg_hba.conf entry for replication connection from host