X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B143647646D for ; Wed, 14 May 2003 17:07:11 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 54332-09 for ; Wed, 14 May 2003 17:07:10 -0400 (EDT) Received: from web1.greenpeace.org (web1.greenpeace.org [193.67.176.102]) by postgresql.org (Postfix) with ESMTP id 377114758C9 for ; Wed, 14 May 2003 17:07:10 -0400 (EDT) Received: by web1.greenpeace.org (Postfix, from userid 500) id 7F3EB4A945; Wed, 14 May 2003 22:42:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by web1.greenpeace.org (Postfix) with ESMTP id 76A2842BDC for ; Wed, 14 May 2003 22:42:00 +0200 (CEST) Date: Wed, 14 May 2003 22:42:00 +0200 (CEST) From: Bruno Mattarollo To: Subject: Re: [URGENT] Problems recovering database In-Reply-To: <000f01c31a5b$fa923da0$0564a8c0@shock> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/189 X-Sequence-Number: 8751 Hello Bjoern, Thanks for the tip. It worked to start the DB but when I issue: psql -l I can't see my databases :( Sorry for being such a pain but I am no postgresql expert and I really need to recover these databases. I know, "where's the backup" ... I wonder the same ... :(( /B On Wed, 14 May 2003, Björn Metzdorf wrote: > > It complains > > > > DEBUG: open of /usr2/pgsql/data/pg_xlog/0000000000000000 (log file 0, > > segment 0) failed: No such file or directory > > DEBUG: invalid primary checkpoint record > > DEBUG: open of /usr2/pgsql/data/pg_xlog/0000000000000000 (log file 0, > > segment 0) failed: No such file or directory > > DEBUG: invalid secondary checkpoint record > > > > But these files were not present in the 'data' directory from this > > server, only these: > > > > $ ls > > 00000010000000B7 00000010000000B8 00000010000000B9 00000010000000BA > > 00000010000000BB 00000010000000BC 00000010000000BD 00000010000000BE > > > > Any ideas on how should I proceed? > > try pg_resetxlog from contrib. > > Regards, > Bjoern > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- --- Bruno Mattarollo --- SysAdmin & TechLead - Greenpeace International http://www.greenpeace.org/ ----------------------------------------------------