Re: How do I recover from>> pg_xlog/0000000000000000 (log file 0, segment 0) failed: No such file or directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: peter Willis <peterw(at)borstad(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I recover from>> pg_xlog/0000000000000000 (log file 0, segment 0) failed: No such file or directory
Date: 2004-10-19 21:57:46
Message-ID: 20243.1098223066@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

peter Willis <peterw(at)borstad(dot)com> writes:
> [postgres(at)web2 /]$ LOG: database system shutdown was interrupted at
> 2004-10-18 11:41:55 PDT
> LOG: open of /web2-disk1/grip/database/pg_xlog/0000000000000000 (log
> file 0, segment 0) failed: No such file or directory
> LOG: invalid primary checkpoint record
> LOG: open of /web2-disk1/grip/database/pg_xlog/0000000000000000 (log
> file 0, segment 0) failed: No such file or directory
> LOG: invalid secondary checkpoint record
> PANIC: unable to locate a valid checkpoint record
> LOG: startup process (pid 2803) was terminated by signal 6
> LOG: aborting startup due to startup process failure

pg_resetxlog would probably get you to a point where you could start
the server, but you should not have any great illusions about the
consistency of your database afterward.

How did you get into this state, anyway? And what PG version is it?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Barnard 2004-10-19 22:09:21 Re: [PERFORM] Performance on Win32 vs Cygwin
Previous Message Tom Lane 2004-10-19 21:42:16 Re: how much ram do i give postgres?