From: Mauri Sahlberg <Mauri.Sahlberg@claymountain.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: A nightmare
Date: Wed, 04 May 2005 12:47:57 +0300
Message-ID: <1115200077.11341.84.camel@localhost.localdomain> (raw)
In-Reply-To: <18385.1115045567@sss.pgh.pa.us>
References: <1115014768.8003.9.camel@localhost.localdomain>
<18385.1115045567@sss.pgh.pa.us>
ma, 2005-05-02 kello 10:52 -0400, Tom Lane kirjoitti:
> Mauri Sahlberg <Mauri.Sahlberg@claymountain.com> writes:
> > I'm starting to become desperate. On saturday I dumped all databases,
> > wiped whole postgresql installation. Installed newest rpms for Fedora 1,
> > restored databases. Recompiled client libraries and binaries. Restarted
> > and after five hours of operation:
> > May 1 21:34:19 claymountain postgres[6337]: [2-1] ERROR: could not
> > access status of transaction 4250811410
> > May 1 21:34:19 claymountain postgres[6337]: [2-2] DETAIL: could not
> > open file
> > "/var/lib/pgsql/data/pg_clog/0FD5": No such file or directory
>
> Which exactly are the "newest rpms for Fedora 1" ... what PG version
> and where did you get them from?
>
Name : postgresql-server Relocations: (not
relocateable)
Version : 7.4.7 Vendor: (none)
Release : 2PGDG Build Date: Fri 25 Feb 2005
01:42:54 PM EET
Got them from
http://www.postgresql.org/ftp/binary/v7.4.7/rpms/fedora/fedora-core-1/> It looks like a corrupt-data issue to me. You could follow the usual
> sorts of procedures to try to isolate and get rid of the bad data
> (see the list archives for details). But I think first you need to
> question what caused it. Could your disk drive be failing (or other
> hardware problem)? How much do you trust the specific kernel version
> you are currently running?
I have no control over the kernel version I am running. The server is
located on virtual machine and the kernel version claims to be Linux
claymountain.planeetta.com 2.4.20-021stab028.5.777-enterprise #1 SMP Tue
Feb 22 17:44:46 MSK 2005 i686 i686 i386 GNU/Linux. I have no trust or
distrust against it.
I've tried to contact the virtual server provider but so far the guy who
is supposed to know something about virtual servers has not been in and
is not returning my calls. As far as I can tell, the hardware "looks"
fine at least when looked at from a virtual server.
I moved the database that seemed to cause the corruption to an another
machine and now both servers have been happily running for more than 24
hours without any indication of data corruption.
I am happy but scared.
I would still like to know what caused the corruption. My current guess
is that it could be network related. Corruption occurred when the data
was collected on a different machine than where the database was
located. Collector is a c++-application using libpq++-4.0. The
corruption could have something to do with locales and network errors.
Regards,
Mauri Sahlberg
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Mauri.Sahlberg@claymountain.com, tgl@sss.pgh.pa.us
Subject: Re: A nightmare
In-Reply-To: <1115200077.11341.84.camel@localhost.localdomain>
References: <1115014768.8003.9.camel@localhost.localdomain> <18385.1115045567@sss.pgh.pa.us> <1115200077.11341.84.camel@localhost.localdomain>
* 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