pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nacho Mezzadra <nachomezzadra@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5603: pg_tblspc and pg_twoface directories get deleted when starting up service
Date: Thu, 5 Aug 2010 18:46:53 GMT
Message-ID: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      5603
Logged by:          Nacho Mezzadra
Email address:      nachomezzadra@gmail.com
PostgreSQL version: 8.3.11
Operating system:   Red Hat Enterprise 5.3
Description:        pg_tblspc and pg_twoface directories get deleted when
starting up service
Details: 

This issue happened not very frequently, but it happened to me 3 times, in 3
different Red Hat servers.  
The thing is that when stopping the Postgresql service with the
"/sbin/service postgresql-8.3 stop" command, and after that starting it with
the "/sbin/service postgresql-8.3 start" command (haven't tried with the
restart one though), a few times both pg_tblspc and pg_twoface  directories
(inside data directory) get somehow deleted and hence the start service
command fails.  Looking in the log files I find the following error:

2010-07-19 16:54:55 ISTFATAL:  could not open directory "pg_tblspc": No such
file or directory

So I manually create the "pg_tblspc" directory, and then try to start again
the service unsuccessfully, getting this time a similar error, but saying
that pg_twoface directory doesn't exist.

After creating the pg_twoface directory, service can be successfully
started.

Please note that all these always happened running the service command as
root.
All 3 linux boxes are running over a VMWare host.



view thread (5+ messages)  latest in thread

Message-ID: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org>
Permalink:  ../201008051846.o75Ikrl0057510@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201008051846.o75Ikrl0057510@wwwmaster.postgresql.org

 · 

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: nachomezzadra@gmail.com
  Subject: Re: BUG #5603: pg_tblspc and pg_twoface directories get deleted when starting up service
  In-Reply-To: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org>
  References: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org>

* 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