Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1falFa-0006ws-7h for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 17:07:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1falFV-00011Q-Vc for pgsql-general@arkaria.postgresql.org; Wed, 04 Jul 2018 17:07:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1falFV-00011I-O6 for pgsql-general@lists.postgresql.org; Wed, 04 Jul 2018 17:07:25 +0000 Received: from mail.bertschi.com ([194.147.70.69]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1falFS-0007oS-Mf for pgsql-general@postgresql.org; Wed, 04 Jul 2018 17:07:24 +0000 Received: from mail.bertschi.com ([172.20.32.162]) by mail.bertschi.com with ESMTP id w64H7KNk002968-w64H7KNm002968 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=CAFAIL); Wed, 4 Jul 2018 19:07:20 +0200 Received: from dueexs11.bertschi.domain (172.20.32.161) by dueexs21.bertschi.domain (172.20.32.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 4 Jul 2018 19:07:20 +0200 Received: from dueexs11.bertschi.domain ([fe80::e4c2:7a17:4a03:74f5]) by dueexs11.bertschi.domain ([fe80::e4c2:7a17:4a03:74f5%14]) with mapi id 15.01.1261.035; Wed, 4 Jul 2018 19:07:19 +0200 From: Boblitz John To: Tom Lane CC: "pgsql-general@postgresql.org" Subject: RE: Unable to Connect to DB Instance Thread-Topic: Unable to Connect to DB Instance Thread-Index: AdQTejBVULp2/Uy8T82feBz5yIopl///6aEA///P5BCAAI3jgP//ybDA Date: Wed, 4 Jul 2018 17:07:19 +0000 Message-ID: <9b052e72ab7e4cfead0f58bc4913bec6@bertschi.com> References: <5c594ba9d5c94a9eb595c710df2d7735@bertschi.com> <66417.1530719397@sss.pgh.pa.us> In-Reply-To: <66417.1530719397@sss.pgh.pa.us> Accept-Language: en-US, de-CH Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.250.230] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Tom, Thanks - I get "pg_db_role_setting" as a response. I have already attempted to reindex system but get: NOTICE: table "pg_catalog.pg_class" was reindexed NOTICE: table "pg_catalog.pg_statistic" was reindexed NOTICE: table "pg_catalog.pg_type" was reindexed NOTICE: table "pg_catalog.pg_attribute" was reindexed NOTICE: table "pg_catalog.pg_authid" was reindexed ERROR: could not open file "base/11919/11680": No such file or directory John > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: Mittwoch, 4. Juli 2018 17:50 > To: Boblitz John > Cc: pgsql-general@postgresql.org > Subject: Re: Unable to Connect to DB Instance >=20 > Boblitz John writes: > > 2. Users reported messages similar to "could not open file > "global/11801": No such file or directory" >=20 > I'd try "select relname from pg_class where pg_relation_filenode(oid) =3D > 11801" to see if you can identify the problematic relation that way. >=20 > If you're lucky, this is just loss of some system catalog index in which = case > reindexing will fix it. The fact that you're able to get through connect= ing, > and the errors only show up with queries, is somewhat promising given tha= t > the problem looks like it's related to pg_authid or pg_db_role_setting. >=20 > regards, tom lane