Trying to set up synchronous replication. fe_sendauth: no password supplied

From: Andy Kerslake <andy(dot)kerslake(at)landregistry(dot)gsi(dot)gov(dot)uk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Trying to set up synchronous replication. fe_sendauth: no password supplied
Date: 2013-12-05 14:00:19
Message-ID: 1386252019549-5781865.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi all, I am trying to set up synchronous replication between two nodes on a
Red Hat Linux, postgres 9.3 installation. (Will lead to three nodes
eventually.) and I am recieving the following message, although, I can still
access the database as a Hot Standby.

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

I have set up pg_hba.conf and also have a .pgpass file (although I believe I
only need one or the other.)

Any thoughts? (Please bear in mind I have only been using postgres for a
week and a half and Linux for not much longer so it could be something
really obvious.)

Thank you.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Trying-to-set-up-synchronous-replication-fe-sendauth-no-password-supplied-tp5781865.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew Puschak 2013-12-09 21:07:16 Mystery SELECT * query
Previous Message Gerald Cheves 2013-12-03 22:54:18 Re: aggregate functions in "SELECT"