From: Johann Spies <jspies@sun.ac.za>
To: pgsql-admin@postgresql.org
Subject: Re: Warm standby (solved)
Date: Thu, 1 Mar 2007 14:39:16 +0200
Message-ID: <20070301123916.GA28190@sun.ac.za> (raw)
In-Reply-To: <20070227083437.GA14003@sun.ac.za>
References: <20070227083437.GA14003@sun.ac.za>
On Tue, Feb 27, 2007 at 10:34:37AM +0200, Johann Spies wrote:
> I want to setup a form of replication for postgresql using the warm
> standby option
> (http://www.postgresql.org/docs/8.2/static/warm-standby.html)
>
> I have had success to let server A to copy the WAL logs to server B (the
> standby server). But I have had no success on the recovery side of
> things. I might just be overlooking something.
My problem was that I had recovery.conf in the same directory where
postgresql.conf is on Debian (/etc/postgresql/8.2/main/). Moving it to
/var/lib/postgresql/8.2/main/ solved the problem.
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"The LORD is my shepherd; I shall not want. He maketh
me to lie down in green pastures: he leadeth me beside
the still waters, he restoreth my soul...Surely
goodness and mercy shall follow me all the days of my
life; and I will dwell in the house of the LORD for
ever." Psalms 23:1,2,6
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: jspies@sun.ac.za
Subject: Re: Warm standby (solved)
In-Reply-To: <20070301123916.GA28190@sun.ac.za>
References: <20070227083437.GA14003@sun.ac.za> <20070301123916.GA28190@sun.ac.za>
* 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