From: Boblitz John <john.boblitz@bertschi.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Unable to Connect to DB Instance
Date: Wed, 4 Jul 2018 17:07:19 +0000
Message-ID: <9b052e72ab7e4cfead0f58bc4913bec6@bertschi.com> (raw)
In-Reply-To: <66417.1530719397@sss.pgh.pa.us>
References: <d51ff9e4d1604541a7bbe635cbc97367@bertschi.com>
<CAG7mmoyjtMx2N==U23LC6mavCxLwpoLmu7nKEBPsKsf6Goe2Wg@mail.gmail.com>
<5c594ba9d5c94a9eb595c710df2d7735@bertschi.com>
<66417.1530719397@sss.pgh.pa.us>
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 <john.boblitz@bertschi.com>
> Cc: pgsql-general@postgresql.org
> Subject: Re: Unable to Connect to DB Instance
>
> Boblitz John <john.boblitz@bertschi.com> writes:
> > 2. Users reported messages similar to "could not open file
> "global/11801": No such file or directory"
>
> I'd try "select relname from pg_class where pg_relation_filenode(oid) =
> 11801" to see if you can identify the problematic relation that way.
>
> 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 connecting,
> and the errors only show up with queries, is somewhat promising given that
> the problem looks like it's related to pg_authid or pg_db_role_setting.
>
> regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: john.boblitz@bertschi.com, tgl@sss.pgh.pa.us
Subject: Re: Unable to Connect to DB Instance
In-Reply-To: <9b052e72ab7e4cfead0f58bc4913bec6@bertschi.com>
References: <d51ff9e4d1604541a7bbe635cbc97367@bertschi.com> <CAG7mmoyjtMx2N==U23LC6mavCxLwpoLmu7nKEBPsKsf6Goe2Wg@mail.gmail.com> <5c594ba9d5c94a9eb595c710df2d7735@bertschi.com> <66417.1530719397@sss.pgh.pa.us> <9b052e72ab7e4cfead0f58bc4913bec6@bertschi.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox