From: Tom Lane <tgl@sss.pgh.pa.us>
To: rinto r john <rintotkml@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: error- how to solve-reg
Date: Sat, 06 May 2017 12:33:41 -0400
Message-ID: <17064.1494088421@sss.pgh.pa.us> (raw)
In-Reply-To: <CADWX9wW9YdApWsDPRWg9C-E4G6CR3BVjDFXDfUF1xBKUjYAokw@mail.gmail.com>
References: <CADWX9wW9YdApWsDPRWg9C-E4G6CR3BVjDFXDfUF1xBKUjYAokw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
rinto r john <rintotkml@gmail.com> writes:
> while starting postgressql 8.3 it shows an FAITAL error,can u please help
> to solve the error
> error shown as below.
> FATAL: incorrect checksum in control file.
This isn't a bug (or at least you've not provided any evidence that it
is), so pgsql-general or pgsql-admin would be a more appropriate forum.
Before anyone can offer really useful advice, we'd need to know:
* how'd you get into this situation? Something bad must have happened,
perhaps a power failure or O/S crash ... do you know what?
* What platform is this on? And which 8.3.x PG release exactly?
(I'll refrain from lecturing you about running out-of-support releases,
but you are ...)
* Is pg_controldata able to print anything useful from the control file?
What does it show exactly?
Your basic alternatives for getting out of this situation are going to
be (1) re-initdb and restore from your last backup, or (2) apply
pg_resetxlog and then try to pick up the pieces. Neither one of these
is particularly appealing, especially if you haven't got a recent
backup. Without answers to the questions above, it's hard to say
what your prospects of success with (2) are. In any case I'd
recommend making a physical copy (e.g. tar or zip backup) of your
whole $PGDATA directory tree before you start, so you can at least
get back to where you are if things go wrong.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, rintotkml@gmail.com
Subject: Re: error- how to solve-reg
In-Reply-To: <17064.1494088421@sss.pgh.pa.us>
References: <CADWX9wW9YdApWsDPRWg9C-E4G6CR3BVjDFXDfUF1xBKUjYAokw@mail.gmail.com> <17064.1494088421@sss.pgh.pa.us>
* 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