Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id ACACD1337C04 for ; Fri, 28 Jan 2011 10:31:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 98373-04-6 for ; Fri, 28 Jan 2011 14:31:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id DEBF31337BF2 for ; Fri, 28 Jan 2011 10:31:08 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 28 Jan 2011 08:31:08 -0600 Message-Id: <4D427EC20200002500039F4E@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 28 Jan 2011 08:30:58 -0600 From: "Kevin Grittner" To: "Joby Joba" , Subject: Re: WARNING: transaction log file "....." could not be archived: too many failures References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.21 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/182 X-Sequence-Number: 36622 Joby Joba 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