Received: from primus.vsservices.com (primus.vsservices.com [63.66.136.75]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8FD4f789742 for ; Sat, 15 Sep 2001 09:04:41 -0400 (EDT) (envelope-from gclarkii@vsservices.com) Received: from prime.vsservices.com (conr-adsl-dhcp-28-213.txucom.net [209.34.28.213]) by primus.vsservices.com (8.11.3/8.11.3) with SMTP id f8FD4WH96529; Sat, 15 Sep 2001 06:04:33 -0700 (PDT) (envelope-from gclarkii@vsservices.com) Content-Type: text/plain; charset="iso-8859-1" From: GB Clark II To: "Nick Fankhauser" , "pgsql-admin" Subject: Re: Can't get postmaster to restart after removing WAL files Date: Sat, 15 Sep 2001 08:04:34 -0500 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <0109150804340G.73075@prime.vsservices.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200109/81 X-Sequence-Number: 2182 On Tuesday 11 September 2001 06:04, Nick Fankhauser wrote: > Hi all- > > I caused a crash by filling up the filesystem that pg_xlog lives on whilst > doing a vacuum analyze. When I looked at the remains, there were 3 WAL > files out there & no space left. > > I tried simply restarting (/etc/init.d/postgresql start) in the hopes that > the mess would get cleaned, but with no luck. The startup script reported > success, but no postmaster was running. > > I tried removing the WAL files & restarting again with the same results- > the startup script reports success, but postmaster isn't running. > > I'm not worried about the data- this is on a demo system, so I can > regenerate it quickly, but I can't even get the postmaster started so I can > begin the restore. I guess I've learned that removing a WAL file is a Bad > Idea (tm)... but now I need a good idea to get me back to the starting > point. > > Any ideas? > > TIA- > > -Nick Nick, I got bit by the same thing! Take a look in the contrib directory for pg_resetxlog. Thats what saved me... GB -- GB Clark II | Roaming FreeBSD Admin gclarkii@VSServices.COM | General Geek CTHULU for President - Why choose the lesser of two evils?