fe_sendauth: no password supplied - PostgreSQL 9.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux