Re: cannot open segment 1 of relation .... No such file or directory - Mailing list pgsql-admin

From Tom Lane
Subject Re: cannot open segment 1 of relation .... No such file or directory
Date
Msg-id 8972.1100538564@sss.pgh.pa.us
Whole thread Raw
In response to cannot open segment 1 of relation .... No such file or directory  (<ogjunk-pgjedan@yahoo.com>)
Responses Re: cannot open segment 1 of relation .... No such file or directory  (<ogjunk-pgjedan@yahoo.com>)
List pgsql-admin
<ogjunk-pgjedan@yahoo.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

pgsql-admin by date:

Previous
From:
Date:
Subject: cannot open segment 1 of relation .... No such file or directory
Next
From: Christian Fowler
Date:
Subject: evil characters #bfef cause dump failure