Re: problem with WAL files

From: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org
Subject: Re: problem with WAL files
Date: 2005-07-06 23:14:00
Message-ID: Pine.LNX.4.63.0507061612180.25488@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 6 Jul 2005, Bruce Momjian wrote:

> That is strange. You said it reported the file did not exist. When the
> command fails, we assume it doesn't exist. Not sure what else we can
> do.

I'm sorry, I should have copied and pasted the logs. It did not report a
failure to copy from the archive dir, it reported that the wal file did not
exist in pg_xlog. Here's a snip from the log:

Jul 5 22:14:06 db1 postgres[26299]: [1-1] LOG: database system was interrupted
at 2005-07-05 23:13:54 PDT
Jul 5 22:14:06 db1 postgres[26299]: [2-1] LOG: starting archive recovery
Jul 5 22:14:06 db1 postgres[26299]: [3-1] LOG: restore_command = "/usr/local/b
in/walrestore.sh %f %p"
Jul 5 22:14:06 db1 postgres[26299]: [4-1] LOG: could not open file "/usr/local
/pgsql/data/pg_xlog/00000001000000060000005F" (log file 6, segment 95): No such
file or
Jul 5 22:14:06 db1 postgres[26299]: [4-2] directory
Jul 5 22:14:06 db1 postgres[26299]: [5-1] LOG: invalid checkpoint record
Jul 5 22:14:06 db1 postgres[26299]: [6-1] PANIC: could not locate required
checkpoint record

--
Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
Frost Consulting, LLC http://www.frostconsultingllc.com/
Phone: 650-780-7908 FAX: 650-649-1954

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mogin Mohandas 2005-07-07 01:08:17 installing postgres on solaris
Previous Message Bruce Momjian 2005-07-06 23:06:26 Re: problem with WAL files