pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uwe Bartels <uwe.bartels@gmail.com>
To: pgsql-admin@postgresql.org
Subject: problem with an account name 'replication' for streaming replication
Date: Wed, 30 Mar 2011 20:37:48 +0200
Message-ID: <AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com> (raw)

Hi,

when I used the postgres login 'replication' as the account for streaming
replication I get the following error message:
2011-03-28 18:06:47 CEST FATAL:  could not connect to the primary server:
FATAL:  no pg_hba.conf entry for replication connection from host
"172.16.56.122", user "replication", SSL off

The corresponding pg_hba.conf entry was correct and there was no other
matching entry before that line.
# TYPE  DATABASE        USER            CIDR-ADDRESS            METHOD
host    replication     replication              172.16.56.122/32        md5

By changing the account name - everything worked as smoth as I am used to
with postgres.

Best Regards,
Uwe

view thread (5+ messages)  latest in thread

Message-ID: <AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com>
Permalink:  ../AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com/
Also on:    postgresql.org/message-id/AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: uwe.bartels@gmail.com
  Subject: Re: problem with an account name 'replication' for streaming replication
  In-Reply-To: <AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com>
  References: <AANLkTim5d4tePba7JSvjcAEQarKuDs4PD6zvxkyMD=R5@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox