Re: [ADMIN] Postrgres data restoration problem

From: Jim Cochrane <jtc(at)dim(dot)com>
To: Thierry Missimilly <THIERRY(dot)MISSIMILLY(at)BULL(dot)NET>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [ADMIN] Postrgres data restoration problem
Date: 2003-12-10 22:06:19
Message-ID: 200312102206.hBAM6JC26163@jupiter.milkyway.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Jim,
>
> I'm pretty sure that the /etc/rc?.d scripts do not run the initdb command as
you generaly do it once, when you want to
> create a Postgres environment.
>
> Basic question : Have you checked that you have some files in : /home/pgsql/d
ata/pg_xlog
> Postgres has started but can't find /home/pgsql/data/pg_xlog/0000000000000000
> Perhaps they are in /var/lib/pgsql/data/xlog.
> If it is the case, create a symbolic link on it and retry :
> cd /oldpgsqlpath/data
> pg_ctl -D $PWD start >/tmp/pgr 2>&1

There were other number-named files in /home/pgsql/data/pg_xlog/, but not
0000000000000000. Anyway, I tried your link suggestion with no luck. I
also tried Tom's suggestion of running pg_resetxlog, but that also failed
(as described in my other email). I think the data is lost.

Anyway, thanks for your help.

Jim

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-12-10 22:22:26 Re: datestyle in postgresql.conf, version 7.4
Previous Message Tom Lane 2003-12-10 22:01:48 Re: Strange permission problem regarding pg_settings