pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: maheshetty20@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15979: PG_VERSION  , pg_tblspc  got deleted automatically & postgres server creased.
Date: Tue, 27 Aug 2019 16:15:58 +0900
Message-ID: <20190827071558.GI7422@paquier.xyz> (raw)
In-Reply-To: <15979-dc92adbf321d43c4@postgresql.org>
References: <15979-dc92adbf321d43c4@postgresql.org>

On Mon, Aug 26, 2019 at 12:33:38PM +0000, PG Bug reporting form wrote:
> -bash-4.1$  /usr/pgsql-9.4/bin/postgres -D /var/lib/pgsql/9.4/data <
> 2019-08-20 00:13:29.353 CDT >FATAL:  "/var/lib/pgsql/9.4/data" is not a
> valid data directory < 2019-08-20 00:13:29.353 CDT >DETAIL:  File
> "/var/lib/pgsql/9.4/data/PG_VERSION" is missing.     
> There was missing PG_VERSION  which was created manually  
>  
> -bash-4.1$ postmaster -D /var/lib/pgsql/9.4/data/ < 2019-08-20 00:27:35.275
> CDT >FATAL:  could not open directory "pg_tblspc": No such file or directory
> -bash-4.1$   
> There was missing pg_tblspc  which was created manually

Those first two problems point out that you may have much more
problems than you think, so you should be careful with the way you do
things if you have a corrupted cluster and not employ shortcuts you
think may work.  Here are some guidelines from the wiki:
https://wiki.postgresql.org/wiki/Corruption

This is hard to qualify as a bug by the way, and 9.4.4 is utterly
outdated.  You should consider upgrading to a newer version as well as
9.4 is going to be EOL'd by community in a couple of months.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (2+ messages)

Message-ID: <20190827071558.GI7422@paquier.xyz>
Permalink:  ../20190827071558.GI7422@paquier.xyz/
Also on:    postgresql.org/message-id/20190827071558.GI7422@paquier.xyz

 · 

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-bugs@postgresql.org
  Cc: michael@paquier.xyz, maheshetty20@gmail.com
  Subject: Re: BUG #15979: PG_VERSION  , pg_tblspc  got deleted automatically & postgres server creased.
  In-Reply-To: <20190827071558.GI7422@paquier.xyz>
  References: <15979-dc92adbf321d43c4@postgresql.org> <20190827071558.GI7422@paquier.xyz>

* 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