From: Devrim GÜNDÜZ <devrim@CommandPrompt.com>
To: smp <smp762001@yahoo.co.in>
Cc: pgsql-admin@postgresql.org
Subject: Re: Cannot start PGSQL
Date: Wed, 19 Mar 2008 22:29:00 -0700
Message-ID: <1205990941.16612.181.camel@localhost.localdomain> (raw)
In-Reply-To: <212510.59939.qm@web7908.mail.in.yahoo.com>
References: <212510.59939.qm@web7908.mail.in.yahoo.com>
Hi,
On Thu, 2008-03-20 at 10:54 +0530, smp wrote:
> FATAL: database files are incompatible with server
> DETAIL: The database cluster was initialized with PG_CONTROL_VERSION
> 71, but the server was compiled with PG_CONTROL_VERSION 812.
> HINT: It looks like you need to initdb.
You have an old (7.1) version installed on that directory. If you took
backups, you need to remove /var/lib/pgsql/data directory, recreate it
with postgres user, and initdb that directory before you can start
PostgreSQL.
Probably:
service postgresql initdb
service postgresql start
will do the work for you.
Regards,
Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/Attachments:
signature.asc (application/pgp-signature, 188B) download
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: devrim@CommandPrompt.com, smp762001@yahoo.co.in
Subject: Re: Cannot start PGSQL
In-Reply-To: <1205990941.16612.181.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