Re: cannot open segment 1 of relation .... No such file or directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ogjunk-pgjedan(at)yahoo(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: cannot open segment 1 of relation .... No such file or directory
Date: 2004-11-15 17:09:24
Message-ID: 8972.1100538564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<ogjunk-pgjedan(at)yahoo(dot)com> writes:
> I'm using PG 7.3.4 under RedHat 9.0 and I've started noticing the
> following type of errors:
> cannot open segment 1 of relation url (target block 537329664): No
> such file or directory

If this is coming from an indexscan query, then I'd bet on the problem
being a corrupted index on the "url" table. REINDEX may get you out of
it. If not, try dumping and reloading that table (or the whole database
if need be).

7.3.4 is a bit old --- you should at least move up to 7.3.8, if not
7.4.something.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Christian Fowler 2004-11-15 17:46:19 evil characters #bfef cause dump failure
Previous Message ogjunk-pgjedan 2004-11-15 16:25:05 cannot open segment 1 of relation .... No such file or directory