Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id F27804766FA for ; Tue, 7 May 2002 16:36:30 -0400 (EDT) Mailbox-Line: From bbelovic@usa.net Tue May 7 16:36:30 2002 Received: from urdvg001.mx.net (urdvg001.mx.net [165.212.11.1]) by postgresql.org (Postfix) with SMTP id 04BDD476883 for ; Tue, 7 May 2002 15:08:41 -0400 (EDT) Received: (qmail 28595 invoked from network); 7 May 2002 19:08:38 -0000 Received: from uadvg143.cms.usa.net (165.212.11.143) by corprelay.cms.usa.net with SMTP; 7 May 2002 19:08:38 -0000 Received: USA.NET MXFirewall, messaging filters applied; Tue, 07 May 2002 19:08:18 GMT Received: from uwdvg023.cms.usa.net [165.212.8.23] by uadvg143.cms.usa.net via mtad (CM.1201.1.04A) with ESMTP id 165gegTio0221M43; Tue, 07 May 2002 19:08:14 GMT Message-ID: <20020507190837.16472.qmail@uwdvg023.cms.usa.net> Received: from 63.144.242.240 [63.144.242.240] by cmsweb06.cms.usa.net (USANET web-mailer CM.0402.1.01C); Tue, 07 May 2002 19:08:37 -0000 Date: Tue, 07 May 2002 15:08:37 -0400 From: Bojan Belovic To: Subject: Re: db recovery (FATAL 2) X-Mailer: USANET web-mailer (CM.0402.1.01C) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----NetAddressPart-00--=_gTil8960S065a39373f" X-Spam-Status: Yes, hits=5.0 required=5.0 tests=RCVD_IN_OSIRUSOFT_COM, X_OSIRU_SPAM_SRC version=2.20 X-Spam-Flag: YES X-Spam-Level: ***** X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm, v 1.77 2002/04/06 19:28:30 hughescr Exp $) X-Spam-Report: Detailed Report SPAM: -------------------- Start SpamAssassin results ---------------------- SPAM: This mail is probably spam. The original message has been altered SPAM: so you can recognise or block similar unwanted mail in future. SPAM: See http://spamassassin.org/tag/ for more details. SPAM: SPAM: Content analysis details: (5 hits, 5 required) SPAM: Hit! (2.0 points) Received via a relay in relays.osirusoft.com SPAM: [RBL check: found 240.242.144.63.relays.osirusoft.com., type: 127.0.0.4] SPAM: Hit! (3.0 points) DNSBL: sender is Confirmed Spam Source SPAM: SPAM: -------------------- End of SpamAssassin results --------------------- X-Archive-Number: 200205/65 X-Sequence-Number: 4240 This is a multi-part message in MIME format. ------NetAddressPart-00--=_gTil8960S065a39373f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Addition to my previous question... If postgres has trouble recovering the database from the log, is it possible to skip the recovery step and loose some recent data changes? If the loss is relatively small, I think it would be acceptable (say we loose all the chan= ges in the last few hours). Not sure if the vacuum makes this a bigger problem? Thanks! -------- =20=20 My database apparently crashed - don't know how or why. It happend in the middle of the night so I wasn't around to troubleshoot it at the time. It looks like it died during the scheduled vacuum. Here's the log that gets generated when I attempt to bring it back up: postmaster successfully started DEBUG: database system shutdown was interrupted at 2002-05-07 09:35:35 EDT DEBUG: CheckPoint record at (10, 1531023244) DEBUG: Redo record at (10, 1531023244); Undo record at (10, 1531022908); Shutdown FALSE DEBUG: NextTransactionId: 29939385; NextOid: 9729307 DEBUG: database system was not properly shut down; automatic recovery in progress... DEBUG: redo starts at (10, 1531023308) DEBUG: ReadRecord: record with zero len at (10, 1575756128) DEBUG: redo done at (10, 1575756064) FATAL 2: write(logfile 10 seg 93 off 15474688) failed: Success /usr/bin/postmaster: Startup proc 1339 exited with status 512 - abort Any suggestions? What are my options, other than doing a complete restore of the DB from a dump (which is not really an option as the backup is not as recent as it should be). Thanks! Bojan=20 =20 ------NetAddressPart-00--=_gTil8960S065a39373f Content-Type: message/rfc822; name="Forwarded Message" Content-Transfer-Encoding: 7bit Content-Disposition: inline Received: from 63.144.242.240 [63.144.242.240] by uwdvg001.cms.usa.net (USANET web-mailer CM.0402.1.01C); Tue, 07 May 2002 14:22:03 -0000 Date: Tue, 07 May 2002 10:22:03 -0400 From: Bojan Belovic To: Subject: db recovery (FATAL 2) X-Mailer: USANET web-mailer (CM.0402.1.01C) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable My database apparently crashed - don't know how or why. It happend in the middle of the night so I wasn't around to troubleshoot it at the time. It looks like it died during the scheduled vacuum. Here's the log that gets generated when I attempt to bring it back up: postmaster successfully started DEBUG: database system shutdown was interrupted at 2002-05-07 09:35:35 EDT DEBUG: CheckPoint record at (10, 1531023244) DEBUG: Redo record at (10, 1531023244); Undo record at (10, 1531022908); Shutdown FALSE DEBUG: NextTransactionId: 29939385; NextOid: 9729307 DEBUG: database system was not properly shut down; automatic recovery in progress... DEBUG: redo starts at (10, 1531023308) DEBUG: ReadRecord: record with zero len at (10, 1575756128) DEBUG: redo done at (10, 1575756064) FATAL 2: write(logfile 10 seg 93 off 15474688) failed: Success /usr/bin/postmaster: Startup proc 1339 exited with status 512 - abort Any suggestions? What are my options, other than doing a complete restore of the DB from a dump (which is not really an option as the backup is not as recent as it should be). Thanks! Bojan ------NetAddressPart-00--=_gTil8960S065a39373f--