pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: org.postgresql.util.PSQLException: Error could not open file "base/": No such file or directory
Date: Mon, 5 Mar 2018 21:13:08 -0800
Message-ID: <0157eb17-e631-da92-e842-51e4c30dd575@aklaver.com> (raw)
In-Reply-To: <CAEHH7R4M1OjhG8aZNkV0JWGkTBUwaTjssN-bgkvp5iGb+sXLpg@mail.gmail.com>
References: <CAEHH7R4M1OjhG8aZNkV0JWGkTBUwaTjssN-bgkvp5iGb+sXLpg@mail.gmail.com>

On 03/05/2018 05:54 PM, Raghavendra Rao J S V wrote:
> Hi,
> 
> Few of the tables and indexes are bloated though auto vacuum has enables.
> 
> Two reclaim the space vacuum, I have ran vacuum full on the larger 
> tables and also performed reindex on the indexes which are in larger 
> size. Now the size of the database is in control.
> 
> After perfoming the vacuum full and reindexing on larger tables, I am 
> facing below error.
> 
> *org.postgresql.util.PSQLException: Error could not open file "base/": 
> No such file or directory*

Assuming the database is up and running then base/ is actually there:

https://www.postgresql.org/docs/10/static/storage-file-layout.html


When I know a file or directory exists and I see an error like:

'Error could not open file "base/": No such file or directory '

then I generally check permissions on said file/directory. In particular 
does the app throwing the error having the permissions to 'see' the 
file/directory?

> 
> Please guide me how to resolve the above error and let me know does this 
> has any relation with vacumm full or reindexing operation which are 
> performed by me.
> 
> -- 
> Regards,
> Raghavendra Rao J S V
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (11+ messages)  latest in thread

Message-ID: <0157eb17-e631-da92-e842-51e4c30dd575@aklaver.com>
Permalink:  ../0157eb17-e631-da92-e842-51e4c30dd575@aklaver.com/
Also on:    postgresql.org/message-id/0157eb17-e631-da92-e842-51e4c30dd575@aklaver.com

 · 

reply

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: adrian.klaver@aklaver.com, raghavendrajsv@gmail.com
  Subject: Re: org.postgresql.util.PSQLException: Error could not open file "base/": No such file or directory
  In-Reply-To: <0157eb17-e631-da92-e842-51e4c30dd575@aklaver.com>
  References: <CAEHH7R4M1OjhG8aZNkV0JWGkTBUwaTjssN-bgkvp5iGb+sXLpg@mail.gmail.com> <0157eb17-e631-da92-e842-51e4c30dd575@aklaver.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