pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bojan Belovic <bbelovic@usa.net>
To: pgsql-admin@postgresql.org
Subject: db recovery (FATAL 2)
Date: Tue, 07 May 2002 10:22:03 -0400
Message-ID: <20020507142203.4114.qmail@uwdvg001.cms.usa.net> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <20020507142203.4114.qmail@uwdvg001.cms.usa.net>
Permalink:  ../20020507142203.4114.qmail@uwdvg001.cms.usa.net/
Also on:    postgresql.org/message-id/20020507142203.4114.qmail@uwdvg001.cms.usa.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-sql@postgresql.org
  Cc: bbelovic@usa.net, pgsql-admin@postgresql.org
  Subject: Re: db recovery (FATAL 2)
  In-Reply-To: <20020507142203.4114.qmail@uwdvg001.cms.usa.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