Re: WARNING: transaction log file "....." could not be archived: too many failures - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: WARNING: transaction log file "....." could not be archived: too many failures
Date
Msg-id 4D427EC20200002500039F4E@gw.wicourts.gov
Whole thread Raw
In response to WARNING: transaction log file "....." could not be archived: too many failures  (Joby Joba <jobyjoba59@gmail.com>)
List pgsql-admin
Joby Joba <jobyjoba59@gmail.com> wrote:

> Jan 28 11:35:01 abcd postgres[28359]: [81-1] LOG:  archive command
> "cp "pg_xlog/000000010000000000000085"
> /u10/postgres/archive/"000000010000000000000085"" failed: return
> Jan 28 11:35:01 abcd postgres[28359]: [81-2]  code 256

> The problem is that the requested file is not available anymore.
> How can I tell postgres to bypass this file ?

Get a new base backup and start the recovery over.  Be sure to fix
whatever broken process caused the WAL file to be discarded while it
might still be needed.

-Kevin

pgsql-admin by date:

Previous
From: Bernhard Schrader
Date:
Subject: Re: pg_upgrade 8.3 to 9.0, shutdown is to slow
Next
From: Tom Lane
Date:
Subject: Re: asm/ia64regs.h not found on FreeBSD 8.1 IA64