Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPgSM-0005oY-RM for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Mar 2014 22:56:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WPgSM-000351-5e for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Mar 2014 22:56:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPgSL-00034n-3o for pgsql-bugs@postgresql.org; Mon, 17 Mar 2014 22:56:29 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPgSI-0004K5-1a for pgsql-bugs@postgresql.org; Mon, 17 Mar 2014 22:56:28 +0000 Received: from [192.168.0.38] (ip-68.net-81-220-133.standre.rev.numericable.fr [81.220.133.68]) by mimolette.dalibo.net (Postfix) with ESMTPSA id B58946820061; Mon, 17 Mar 2014 23:56:23 +0100 (CET) Message-ID: <53277D96.90808@dalibo.com> Date: Mon, 17 Mar 2014 23:56:22 +0100 From: Vik Fearing User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Michael.buccetti@airgas.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #9604: Unable to access table remotely References: <20140317173800.20726.15864@wrigleys.postgresql.org> In-Reply-To: <20140317173800.20726.15864@wrigleys.postgresql.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 03/17/2014 06:38 PM, Michael.buccetti@airgas.com wrote: > The following bug has been logged on the website: > > Bug reference: 9604 > Logged by: Michael Buccetti > Email address: Michael.buccetti@airgas.com > PostgreSQL version: 9.1.0 Next week you need to upgrade to 9.1.13. You're missing two and a half years of bug fixes. > Operating system: OpenSuse > Description: > > We have a java web app running on Tomcat 7 that accesses data on a Postgres > database. For some reason, we get the following error unexpectedly, causing > a crucial database query to fail: > > ERROR: could not open file "base/16397/106156081": No such file or > directory. > > We installed PGAdmin on the machine and verified that the error shows up > when querying a specific table. > > We are able to run the same query on various other machines without an > issue, and sometimes it looks like the issue clears itself up, but we have > not been able to pinpoint the fix to anything specific that we tried. > > Have you seen any issues like this? We thought that maybe the installation > of Tomcat might have corrupted something on the system that affected both > PGAdmin and the jdbc access to the database, but uninstalling Tomcat did not > fix the issue. Is there any chance that that is an unlogged table and the error occurs after a crash? I've experienced on two separate sites an error like this on unlogged tables after a crash, but I can't reproduce it and reading the code seems straightforward. -- Vik -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs