Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BA0F1475D93 for ; Wed, 30 Oct 2002 00:51:52 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id CE33C475D20 for ; Wed, 30 Oct 2002 00:51:50 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g9U5pqx21653; Wed, 30 Oct 2002 00:51:52 -0500 (EST) From: Bruce Momjian Message-Id: <200210300551.g9U5pqx21653@candle.pha.pa.us> Subject: Re: pg_log: no such file or directory In-Reply-To: To: Bhuvan A Date: Wed, 30 Oct 2002 00:51:52 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/292 X-Sequence-Number: 6150 Yow, 7.0. You should probably upgrade soon. 7.3 will be released in a few weeks. --------------------------------------------------------------------------- Bhuvan A wrote: > > > I use postgresql 7.2. Last night i received a strange error and the > > > postmaster was crashed. It reported > > > 'cannot read block 1470 of pg_log: no such file or directory'. > > > > There is no pg_log in 7.2. You'll need to be more accurate about your > > situation if you want help ... > > > > Sorry for the inconvenience. > $ cat PG_VERSION > 7.0 > > It had been recovered. I did initdb and restored the backup i had. Is > there any other way to recover, in absence of backup? Please let us know. > > For your reference, here is the log: > > database system was interrupted being in recovery at 2002-10-28 16:34:50 > IST > This propably means that some data blocks are corrupted > and you will have to use last backup for recovery. > DEBUG: CheckPoint record at (2, 1439679740) > DEBUG: Redo record at (2, 1439679740); Undo record at (0, 0); Shutdown > FALSE > DEBUG: NextTransactionId: 48106942; NextOid: 3022880 > DEBUG: database system was not properly shut down; automatic recovery in > progress... > DEBUG: redo starts at (2, 1439679804) > FATAL 2: cannot read block 1470 of pg_log: No such file or directory > /usr/local/pgsql/bin/postmaster: Startup proc 11284 exited with status 512 > - abo > > regards, > bhuvaneswaran > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073