pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Darren Reed <darrenr+postgres@fastmail.net>
To: pgsql-admin@postgresql.org
Subject: Power outage borked things (8.1.10)...
Date: Wed, 20 Feb 2008 01:27:52 -0800
Message-ID: <47BBF298.4010108@fastmail.net> (raw)

Starting up postgres, I get the log contents below.

Is it really as bad as it suggests, namely that I
need to recover from backup?

The pg_clog directory has the following:
# ls -al pg_clog/
total 1216
drwx------   2 postgres  wheel     512 Jan 17 09:09 ./
drwx------  10 postgres  wheel     512 Feb 20 00:44 ../
-rw-------   1 postgres  wheel  253952 Dec  8 11:09 0000
-rw-------   1 postgres  wheel  253952 Dec 19 17:29 0001
-rw-------   1 postgres  wheel  253952 Jan  2 17:49 0002
-rw-------   1 postgres  wheel  253952 Jan 16 10:19 0003
-rw-------   1 postgres  wheel   90112 Jan 22 15:34 0004

The error seems to suggest that it is at EOF...

Darren

LOG:  startup process (PID 765) was terminated by signal 6
LOG:  aborting startup due to startup process failure
LOG:  database system was interrupted while in recovery at 2008-02-20 
00:44:08 PST
HINT:  This probably means that some data is corrupted and you will have 
to use the last backup for recovery.
LOG:  checkpoint record is at 2/64507F8C
LOG:  redo record is at 2/64507F8C; undo record is at 0/0; shutdown FALSE
LOG:  next transaction ID: 4570963; next OID: 24576
LOG:  next MultiXactId: 1; next MultiXactOffset: 0
LOG:  database system was not properly shut down; automatic recovery in 
progress
LOG:  redo starts at 2/64507FD0
PANIC:  could not access status of transaction 4570965
DETAIL:  could not read from file "pg_clog/0004" at offset 90112: 
Undefined error: 0
LOG:  startup process (PID 306) was terminated by signal 6
LOG:  aborting startup due to startup process failure




view thread (11+ messages)  latest in thread

Message-ID: <47BBF298.4010108@fastmail.net>
Permalink:  ../47BBF298.4010108@fastmail.net/
Also on:    postgresql.org/message-id/47BBF298.4010108@fastmail.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: darrenr+postgres@fastmail.net
  Subject: Re: Power outage borked things (8.1.10)...
  In-Reply-To: <47BBF298.4010108@fastmail.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox