Re: Cannot start PGSQL

From: Devrim GÜNDÜZ <devrim(at)CommandPrompt(dot)com>
To: smp <smp762001(at)yahoo(dot)co(dot)in>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Cannot start PGSQL
Date: 2008-03-20 05:29:00
Message-ID: 1205990941.16612.181.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Aftab Alam 2008-03-20 05:38:09 Postgres Performance
Previous Message smp 2008-03-20 05:24:10 Re: Cannot start PGSQL