Re: Cannot start PGSQL - Mailing list pgsql-admin

From Devrim GÜNDÜZ
Subject Re: Cannot start PGSQL
Date
Msg-id 1205990941.16612.181.camel@localhost.localdomain
Whole thread Raw
In response to Re: Cannot start PGSQL  (smp <smp762001@yahoo.co.in>)
List 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/

Attachment

pgsql-admin by date:

Previous
From: smp
Date:
Subject: Re: Cannot start PGSQL
Next
From: "Bhella Paramjeet-PFCW67"
Date:
Subject: Postgres database and firewall