pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thara Vadakkeveedu <tharagv@yahoo.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: accidentally deleted data directory
Date: Tue, 24 Sep 2013 17:27:39 -0700 (PDT)
Message-ID: <1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.com> (raw)
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B17C23CED@ntex2010a.host.magwien.gv.at>
References: <48F1E182B1021B449414C85E713CE8250E61E0@WLT-MBX03.KRONOS.com>
	<1379975782.27726.YahooMailNeo@web125005.mail.ne1.yahoo.com>
	<A737B7A37273E048B164557ADEF4A58B17C23A2B@ntex2010a.host.magwien.gv.at>
	<1380030420.19939.YahooMailNeo@web125003.mail.ne1.yahoo.com>
	<1380030784.27416.YahooMailNeo@web125003.mail.ne1.yahoo.com>
	<1380031785.83405.YahooMailNeo@web125005.mail.ne1.yahoo.com>
	<A737B7A37273E048B164557ADEF4A58B17C23CED@ntex2010a.host.magwien.gv.at>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Thank you!
 
I deleted data directory again and then ran initdb.
This time service started successfully.
TG
 


________________________________
From: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Thara Vadakkeveedu <tharagv@yahoo.com>; "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org> 
Sent: Tuesday, September 24, 2013 10:11 AM
Subject: Re: [ADMIN] accidentally deleted data directory


Thara Vadakkeveedu wrote:
> Do I need to run pg_resetxlog to fix the corrupted pg_control file issue?

No, since you don't mind starting afresh,
just delete the data directory and run initdb.

Yours,
Laurenz Albe

-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

view thread (10+ messages)

Message-ID: <1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.com>
Permalink:  ../1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tharagv@yahoo.com, laurenz.albe@wien.gv.at
  Subject: Re: accidentally deleted data directory
  In-Reply-To: <1380068859.48649.YahooMailNeo@web125005.mail.ne1.yahoo.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