Re: Replication err

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Replication err
Date: 2012-10-03 13:18:06
Message-ID: 20121003131806.GB3711@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Khizer <khizer(at)srishtisoft(dot)com> wrote:

> Hi,
>
> I am doing streaming replication master-slave with
> postgresql-9.0.4 , i am getting following err
> how do i correct this
>
>
> streaming replication successfully connected to primary
> 2012-10-03 00:00:06 IST FATAL: could not receive data from WAL stream:
> FATAL: requested WAL segment 000000010000000000000011 has already been
> removed

Increase wal_keep_segments. Default is IIRC 0, set it, for instance, to 20 or higher.

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shaun Thomas 2012-10-03 13:33:36 Re: Replication err
Previous Message Stephen Frost 2012-10-03 13:17:25 Re: pros and cons of two security models