Re: [URGENT] Problems recovering database

From: Bruno Mattarollo <bruno(at)web1(dot)greenpeace(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [URGENT] Problems recovering database
Date: 2003-05-14 22:02:20
Message-ID: Pine.LNX.4.33.0305150001020.18326-100000@web1.greenpeace.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Tom,

Thank you for this. Setting the transaction ID higher worked to allow me
to connect to the database but when I issue:

cybercentre=# select count(*) from users;
ERROR: XLogFlush: request 10/B7E93FCC is not satisfied --- flushed only
to 0/4000050

I get that error. Any idea? Should I just set the transaction ID even
higher? I have no idea what this error means ...

Thanks in advance,

/B

On Wed, 14 May 2003, Tom Lane wrote:

> Bruno Mattarollo <bruno(at)web1(dot)greenpeace(dot)org> writes:
> > Thanks for the tip. It worked to start the DB but when I issue:
> > psql -l
> > I can't see my databases :(
>
> You need to set the next transaction ID higher (pg_resetxlog -x).
> I'd try 2 billion (2000000000) for starters.
>
> You should probably also be setting the WAL start location (-l)
> somewhere past the evidently-already-existing segments ("-l 2,0"
> should do, I think).
>
> Needless to say, initdb and reload as soon as you have managed to
> get a good dump.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--

--- Bruno Mattarollo <bruno(at)web1(dot)greenpeace(dot)org> ---
SysAdmin & TechLead - Greenpeace International
http://www.greenpeace.org/
----------------------------------------------------

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-05-14 22:34:18 Re: [URGENT] Problems recovering database
Previous Message Tom Lane 2003-05-14 21:40:16 Re: [URGENT] Problems recovering database