Re: Resore PG-Data from Files after crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tomtailor(at)freesurf(dot)fr
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Resore PG-Data from Files after crash
Date: 2005-08-26 15:30:27
Message-ID: 9378.1125070227@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tomtailor(at)freesurf(dot)fr writes:
> Starting PostgreSQL database server: postmaster(FAILED)
> ERROR: There is no PostgreSQL database framework in /srv/postgres/data.
> Run initdb as the postgres user to create it

There is no such error string in Postgres proper -- I suppose the
complaint is coming from whatever start script you use. Most of the
start scripts I've seen just look for a PG_VERSION file, and maybe
check its contents.

See
http://www.postgresql.org/docs/8.0/static/storage.html
for some information about what needs to be there.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Browne 2005-08-26 15:35:36 Re: Postgresql replication
Previous Message Bruno Wolff III 2005-08-26 15:29:46 Re: help