fe_sendauth: no password supplied - PostgreSQL 9.2

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: fe_sendauth: no password supplied - PostgreSQL 9.2
Date: 2016-08-07 20:10:49
Message-ID: CAJNY3iuWaaPOm-g0CVVWRYnwJsLcyBYoAbrmo2ShcNe=QnUBvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi guys,

I'm trying to connect a slave server to another slave, using cascading
replication.

slave01 = Slave server connected from master
slave02 = New slave server connected from slave01

Error on slave02:

FATAL: could not connect to the primary server: fe_sendauth: no password
> supplied

Do you guys know what can be?

pg_hba.conf on both servers:

> # TYPE DATABASE USER ADDRESS METHOD
> # "local" is for Unix domain socket connections only
> local all all peer
> # IPv4 local connections:
> host all all 0.0.0.0/0 md5
> host replication replicator 0.0.0.0/0 md5
> # IPv6 local connections:
> host all all ::1/128 md5
> host replication replicator ::1/128 md5
> # Allow replication connections from localhost, by a user with the
> # replication privilege.
> #local replication postgres peer
> #host replication postgres 127.0.0.1/32 ident

Cheers
Patrick

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Lucas Possamai 2016-08-07 20:21:21 Re: fe_sendauth: no password supplied - PostgreSQL 9.2
Previous Message Bruce Momjian 2016-08-05 14:06:44 Re: Pg-Upgrade standbys via rsync... and avoid sending UNlogged data?