Re: Corrupted DB - Help - Mailing list pgsql-admin

From Tom Lane
Subject Re: Corrupted DB - Help
Date
Msg-id 15900.1154057987@sss.pgh.pa.us
Whole thread Raw
In response to Corrupted DB - Help  ("Mark Liberman" <mliberman@mixedsignals.com>)
List pgsql-admin
"Mark Liberman" <mliberman@mixedsignals.com> writes:
> <4983:2006-07-27 18:04:26 PDT>PANIC:  could not open relation =
> 1663/128873/129201: No such file or directory
> <4981:2006-07-27 18:04:26 PDT>LOG:  startup process (PID 4983) was =
> terminated by signal 6

That's really strange ... it's not supposed to be possible to get that
error during xlog replay, because XLogOpenRelation is always willing to
create a file that doesn't exist.  Can you get a stack trace from the
crash dump this presumably left behind?

If you're just in a panic to get the DB up again, I'd try creating the
mentioned file ("touch $PGDATA/base/128873/129201") and see if it'll
start.  But if you have some time to investigate, it'd be good to try
to determine exactly what went wrong here.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Mark Liberman"
Date:
Subject: Corrupted DB - Help
Next
From: Daniel CAUNE
Date:
Subject: Re: [SQL] PostgreSQL server terminated by signal 11