Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 111BF476F1E for ; Thu, 13 Jun 2002 12:07:25 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 4E95C475978 for ; Thu, 13 Jun 2002 12:06:46 -0400 (EDT) Received: from [63.195.55.98] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.9) with HTTP id 1526235; Thu, 13 Jun 2002 09:06:50 -0700 From: "Josh Berkus" Subject: Re: Another postgres 'file not found' error To: "Ian Cass" , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Thu, 13 Jun 2002 09:06:50 -0700 Message-ID: In-Reply-To: <106501c212cb$d6f49750$6602a8c0@salamander> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200206/176 X-Sequence-Number: 8141 Ian, > This is the second time within a week I've been hit by a peculiar > 'file not > found' error. I've been replacing a few existing Oracle servers with > Postgres. I'm wondering if that was a wise decision :/ Not if you don't know how to run PostgreSQL or your machines, no. Migrating to a new platform without sufficient testing or expertise is always unwise (sorry, but you deserved that for the dig at Postgres). > inbound=# update store set state = 0, timestamp = 'now' where > timestamp < > (CURRENT_TIMESTAMP - interval '30 seconds') and accountid = '6'; > ERROR: cannot open segment 1 of relation store_ix1 (target block > 1576985508): No such file or directory Either: 1. You have a bad PostgreSQL install. What OS are you using? 2. You are out of disk space on the PostgreSQL partition. 3. You are having hardware errors, such as a corrupt HDD. 4. Your OS is having disk or file management errors. Regardless, you'd better shutdown Postgres and defer all work on the database until you've diagnosed your hardware/configuration problem. I hope you have a previous backup, as you may find that you need to revert to an earlier backup to restore your data. -Josh Berkus