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

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Volkan Unsal <spocksplanet(at)gmail(dot)com>
Cc: Melvin Davidson <melvin6925(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: no pg_hba.conf entry for replication connection from host
Date: 2015-04-09 21:31:55
Message-ID: 5526EFCB.9070909@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/09/2015 02:22 PM, Volkan Unsal wrote:
>
> Not sure that is a problem as the logs show the database reaching a
> consistent state:
>
>
> But the database doesn't open a port after reaching this state. Hence,
> when I nmap the IP address of the standby server, I don't see an open
> port for postgresql. Is that normal?

If you on the outside looking in would that not depend on firewall rules
also?

On the standby what does netstat -lt show?

>
> Also setting up logging connects/disconnects on the primary to see
> if an attempt is even being made.
>
>
> How would I set this up? I think I'm already seeing failed connection
> attempts since they raise FATAL errors, but maybe I'm not seeing
> successful connection attempts.

http://www.postgresql.org/docs/9.4/interactive/runtime-config-logging.html#RUNTIME-CONFIG-LOGGING-WHAT

What do the FATAL errors say?

>
>
>
> --
> *Volkan Unsal*
> /web and mobile development/
> volkanunsal.com <http://bit.ly/1h1ebjy>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Volkan Unsal 2015-04-09 21:32:03 Re: no pg_hba.conf entry for replication connection from host
Previous Message Volkan Unsal 2015-04-09 21:22:24 Re: no pg_hba.conf entry for replication connection from host