Re: Cannot start PGSQL

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: Cannot start PGSQL
Дата
Msg-id 1205990941.16612.181.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Cannot start PGSQL  (smp <smp762001@yahoo.co.in>)
Список 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/

Вложения

В списке pgsql-admin по дате отправления:

Предыдущее
От: smp
Дата:
Сообщение: Re: Cannot start PGSQL
Следующее
От: "Bhella Paramjeet-PFCW67"
Дата:
Сообщение: Postgres database and firewall