Re: server crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Medora Schauer" <mschauer(at)fairfield(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: server crash
Date: 2004-11-09 16:53:26
Message-ID: 20662.1100019206@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Medora Schauer" <mschauer(at)fairfield(dot)com> writes:
> PG: 7.3

I hope you meant "7.3.8", or at least something later than original 7.3 ;-)

> PANIC: link from /data/database/pg_xlog/00000001000000D9 to /data/database/pg_xlog/00000001000000E1 (initialization of log file 1, segment 225) failed: No such file or directory

AFAICS, the only way that that message could come out is if
a readdir() scan of /data/database/pg_xlog found a file named
00000001000000D9 but then an immediately following link() call
didn't find it. This suggests filesystem corruption to me;
it might be worth running fsck. Also check whether your kernel
is reasonably up to date, as it could be a kernel bug.

The fact that the subsequent startup process failed again in just the
same way seems to eliminate most of the theories that would suggest
it's a Postgres bug. In particular, it isn't a race condition such as
two processes trying to delete the same file at the same time, because
the recovery startup sequence does no parallel processing.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Markus Schaber 2004-11-09 17:59:31 Re: [SQL] upper/lower for german characters
Previous Message Medora Schauer 2004-11-09 16:01:36 server crash