From: Jeff Frost <jeff@frostconsultingllc.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: problem with WAL files
Date: Wed, 6 Jul 2005 15:45:54 -0700 (PDT)
Message-ID: <Pine.LNX.4.63.0507061543090.25488@discord.dyndns.org> (raw)
In-Reply-To: <22553.1120171697@sss.pgh.pa.us>
References: <42C422AC.7090309@sfwan.com>
<21708.1120165944@sss.pgh.pa.us>
<Pine.LNX.4.63.0506301502340.15741@discord.dyndns.org>
<22381.1120170669@sss.pgh.pa.us>
<Pine.LNX.4.63.0506301534250.15741@discord.dyndns.org>
<22553.1120171697@sss.pgh.pa.us>
On Thu, 30 Jun 2005, Tom Lane wrote:
> Jeff Frost <jeff@frostconsultingllc.com> writes:
>> I'll have to retest that particular scenario and verify that something
>> else was not causing the problem when I have a chance now that I have
>> a fully functional and scripted out base backup and recover solution;
>> however, it did not give me any of the errors I see when my
>> walrestore.sh script cannot access an archived wal, so I would believe
>> it did not even try to get it out of the archive.
>
Tom,
Finally got a chance to give this another full test and discovered that the
WAL files work fine in the archive dir, but I uncovered a different problem.
What had happened was that when I rsynced the walarchive and walrestore
scripts over to the server, rsync made them mode 644 as they were in my cvs
sandbox and thus not executable. When postgres went to call the script, I
guess it stat'd the walrestore, saw that it was not executable and quietly
reported that it could not find the WAL file in the pg_xlog dir. Would
probably be handy to throw a warning that the restore command was not
executable, no? Sorry for the false alarm before.
--
Jeff Frost, Owner <jeff@frostconsultingllc.com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954
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: jeff@frostconsultingllc.com, tgl@sss.pgh.pa.us
Subject: Re: problem with WAL files
In-Reply-To: <Pine.LNX.4.63.0507061543090.25488@discord.dyndns.org>
References: <42C422AC.7090309@sfwan.com> <21708.1120165944@sss.pgh.pa.us> <Pine.LNX.4.63.0506301502340.15741@discord.dyndns.org> <22381.1120170669@sss.pgh.pa.us> <Pine.LNX.4.63.0506301534250.15741@discord.dyndns.org> <22553.1120171697@sss.pgh.pa.us> <Pine.LNX.4.63.0507061543090.25488@discord.dyndns.org>
* 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