Re: Runtime error: could not open segment 1 of relation ...

From: "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Talha Khan" <talha(dot)amjad(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Runtime error: could not open segment 1 of relation ...
Date: 2006-09-26 23:22:07
Message-ID: 71E37EF6B7DCC1499CEA0316A256832802B3E610@loki.wc.globexplorer.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom,

I haven't used the ltree module ... I'll take a look at our DB and see. It's possible that this was an index problem as there was a bulk update with indexes in tact, so there would have been a lot of index shuffling, and the db was not shut down since that update.

Thanks,

Greg

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tue 9/26/2006 3:36 PM
To: Gregory S. Williamson
Cc: Talha Khan; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Runtime error: could not open segment 1 of relation ...

"Gregory S. Williamson" <gsw(at)globexplorer(dot)com> writes:
>> 2006-09-26 10:02:15.124 PDT 1387333718 ERROR: could not open segment 1 of
>> relation 1663/43801/7274801 (target block 478216192): No such file or
>> directory

This is most likely caused by trying to follow a bogus item pointer in
an index. If the problem went away after a restart, the bogus value
could not have been on disk but must have been in a bad in-memory copy
of an index page. Which suggests a hardware glitch ... although if you
are using contrib/ltree, I recall seeing several bug fixes go by
recently that were described as fixing potential ltree-index corruption
issues.

regards, tom lane

-------------------------------------------------------
Click link below if it is SPAM gsw(at)globexplorer(dot)com
"https://mailscanner.globexplorer.com/dspam/dspam.cgi?signatureID=4519aa77100151804284693&user=gsw(at)globexplorer(dot)com&retrain=spam&template=history&history_page=1"
!DSPAM:4519aa77100151804284693!
-------------------------------------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gregory S. Williamson 2006-09-26 23:23:19 Re: Runtime error: could not open segment 1 of relation ...
Previous Message Tom Lane 2006-09-26 22:36:38 Re: Runtime error: could not open segment 1 of relation ...