Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPyXm-0008VH-8Z for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 18:15:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WPyXl-0003r3-AC for pgsql-bugs@arkaria.postgresql.org; Tue, 18 Mar 2014 18:15:17 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPx2N-0006Ki-P2 for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 16:38:47 +0000 Received: from arghpexedge02.airgas.com ([192.85.6.186]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPx2K-0005eq-Aa for pgsql-bugs@postgresql.org; Tue, 18 Mar 2014 16:38:46 +0000 Received: from ARGHPEXHTCAS01.airgas.com (10.5.36.131) by ARGHPEXEDGE02.airgas.com (172.30.10.86) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 18 Mar 2014 12:37:49 -0400 Received: from ARGHPEXDAG01A.airgas.com ([10.5.36.121]) by arghpexhtcas01.airgas.com ([10.5.36.131]) with mapi id 14.03.0158.001; Tue, 18 Mar 2014 12:38:25 -0400 From: Michael Buccetti To: Venkata Balaji Nagothi CC: "pgsql-bugs@postgresql.org" Subject: Re: BUG #9604: Unable to access table remotely Thread-Topic: [BUGS] BUG #9604: Unable to access table remotely Thread-Index: AQHPQjeUSMwfL337gUaM04nqB6yEUZrnT6AA Date: Tue, 18 Mar 2014 16:38:25 +0000 Message-ID: References: <20140317173800.20726.15864@wrigleys.postgresql.org> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.30.10.85] Content-Type: multipart/alternative; boundary="_000_DF8EB2737ABB4FC08E9FF7F5A790C491airgascom_" MIME-Version: 1.0 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 --_000_DF8EB2737ABB4FC08E9FF7F5A790C491airgascom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello, Thank you for getting back to me so quickly. One of our network gurus star= ted digging into the issue last night and found that there was a problem wi= th our Pacemaker syncing. Essentially it failed to sync properly and promo= ted a slave node to Master and gave two different nodes the =93master=94 IP= address. Also, the table we were accessing was an unlogged table. We bel= ieve these issues caused our problem. Once the syncing issue was resolved = and the IP addresses were corrected, the issue cleared itself up. Going forward we are going to monitor the situation and see if the syncing = issue repeats. Thank you again, Michael Buccetti On Mar 17, 2014, at 7:21 PM, Venkata Balaji Nagothi > wrote: On Tue, Mar 18, 2014 at 4:38 AM, > 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 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, causin= g a crucial database query to fail: ERROR: could not open file "base/16397/106156081": No such file or directory. Could you please help us know if the above file is missing from the locatio= n ( data-directory/base/16397 ) on the host where the database is hosted ? You might be knowing this : The file "106156081" belongs to a particular ta= ble in the database with OID 16397. If you have audit logs - did you notice if the file was accidentally delete= d or may be file system permissions/ownership has changed ? Or any activity has happened which would not let the database user access t= he file from the OS level ? Regards, Venkata Balaji N Sr. Database Administrator Fujitsu Australia --_000_DF8EB2737ABB4FC08E9FF7F5A790C491airgascom_ Content-Type: text/html; charset="Windows-1252" Content-ID: <0A245BE679800747A50ADB9FDBD2FCCA@airgas.com> Content-Transfer-Encoding: quoted-printable Hello,

Thank you for getting back to me so quickly.  One of our network = gurus started digging into the issue last night and found that there was a = problem with our Pacemaker syncing.  Essentially it failed to sync pro= perly and promoted a slave node to Master and gave two different nodes the =93master=94 IP address.  Also, the = table we were accessing was an unlogged table.  We believe these issue= s caused our problem.  Once the syncing issue was resolved and the IP = addresses were corrected, the issue cleared itself up.  

Going forward we are going to monitor the situation and see if the syn= cing issue repeats. 

Thank you again,

Michael Buccetti

On Mar 17, 2014, at 7:21 PM, Venkata Balaji Nagothi <vbnpgc@gmail.com> wrote:


On Tue, Mar 18, 2014 at 4:38 AM, <Mic= hael.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
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, c= ausing
a crucial database query to fail:

ERROR: could not open file "base/16397/106156081": No such file o= r
directory.

Could you please help us know if the above file is missing from the lo= cation ( data-directory/base/16397 ) on the host where the database is host= ed ?

You might be knowing this : The file "106156081" belongs to = a particular table in the database with OID 16397. 

If you have audit logs - did you notice if the file was accidentally d= eleted or may be file system permissions/ownership has changed ?

Or any activity has happened which would not let the database user acc= ess the file from the OS level ?

Regards,
Venkata Balaji N

Sr. Database Administrator
Fujitsu Australia

--_000_DF8EB2737ABB4FC08E9FF7F5A790C491airgascom_--