Still trying to get pgsql to run

Поиск
Список
Период
Сортировка
От AlphaByte
Тема Still trying to get pgsql to run
Дата
Msg-id 00082417171700.01419@alphabyte.co.nz
обсуждение исходный текст
Ответы Re: Still trying to get pgsql to run  (Aimin Pan <aimin@liveinfo.co.jp>)
Список pgsql-admin
For the next installment, I have reinstalled the new version
of pgsql after having installed the older version and now
cannot get it to run. Any help would be appreciated.

This is what I get.

[root@alphabyte abyte]# /etc/rc.d/init.d/postgresql start
Checking postgresql installation: looks good!

Starting postgresql service: Database system in directory
/var/lib/pgsql is not compatible with this version of
Postgres, or we are unable to read the PG_VERSION file.
Explanation from ValidatePgVersion: Version number in file
'/var/lib/pgsql/PG_VERSION' should be 7.0 , not 6.5 .

No data directory -- can't proceed.
failed.
[root@alphabyte abyte]#


So I change P_VERSION to read 7.0 and get this:

[root@alphabyte abyte]# /etc/rc.d/init.d/postgresql start
Checking postgresql installation: old version. Need to Upgrade.
See /usr/doc/postgresql-6.5.2/README.rpm for more information.
[root@alphabyte abyte]#

Thanks
Alan


--
AlphaByte: PO Box 1941, Auckland, New Zealand
Specialising in:Graphic Design, Education and Training,
Technical Documentation, Consulting.
http://www.alphabyte.co.nz

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

Предыдущее
От: Mario Farias-Elinos Baez
Дата:
Сообщение: Re: Psql 7.0.2 install problem on Sol7
Следующее
От: Aimin Pan
Дата:
Сообщение: Re: Still trying to get pgsql to run