| From: | raghu ram <raghuchennuru(at)gmail(dot)com> |
|---|---|
| To: | Uwe Bartels <uwe(dot)bartels(at)gmail(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: problem with an account name 'replication' for streaming replication |
| Date: | 2011-03-30 20:43:31 |
| Message-ID: | AANLkTimkn-vrwoYoZyza_70DkA_8T65rVqzg3FtfkvxG@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On Thu, Mar 31, 2011 at 12:07 AM, Uwe Bartels <uwe(dot)bartels(at)gmail(dot)com> wrote:
> 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.
>
The standby server must have superuser access privileges required. could you
please check it,if the "replication" user having superuser privileges or
not.
--Raghu Ram
> Best Regards,
> Uwe
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2011-03-31 02:53:56 | Re: problem with an account name 'replication' for streaming replication |
| Previous Message | Uwe Bartels | 2011-03-30 18:37:48 | problem with an account name 'replication' for streaming replication |