Re: pghba.conf - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: pghba.conf
Date
Msg-id 55BF8C37.2050801@iol.ie
Whole thread Raw
In response to pghba.conf  (Ramesh T <rameshparnanditech@gmail.com>)
List pgsql-general
On 03/08/2015 10:52, Ramesh T wrote:
> Hi All,
>           I changed in pg_hba.conf like,in postgres 9.3 under linux
> host     replication     base_backup_user       127.0.0.1/32
> <http://127.0.0.1/32>     trust
>
> after above changes ,restarted it .
>
> when i try pgbasebackp getting  error like,
>
> pg_basebackup: could not connect to server: FATAL:  no pg_hba.conf entry
> for replication connection from host "192.168.02.64", user
> "base_backup_user", SSL off


Well, the error says it all: your replication connection is coming from
192.168.02.64, whereas you specified 127.0.0.1 in pg_hba.conf.

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie


pgsql-general by date:

Previous
From: Ramesh T
Date:
Subject: pghba.conf
Next
From: William Dunn
Date:
Subject: Re: Transaction ID Wraparound Monitoring