Skip site navigation (1) Skip section navigation (2)

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

From: <ogjunk-pgjedan(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: cannot open segment 1 of relation .... No such file or directory
Date: 2004-11-16 16:57:11
Message-ID: 20041116165711.69388.qmail@web12704.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hello,

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> <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).

Thanks, I'll try REINDEX shortly.  Before I do that, though, I'm
wondering if it's somehow possible to get the details of this problem -
I'd love to see which DB file PG is actually looking for.

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

Thanks for the info - I'll upgrade to 7.3.8 then, too.

Otis


In response to

pgsql-admin by date

Next:From: Michael FuhrDate: 2004-11-16 19:50:54
Subject: Re: Please help!!!!!!!!!
Previous:From: Scott ChapmanDate: 2004-11-16 16:51:48
Subject: How to use custom functions created by my2pg.pl?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group