Still trying to get pgsql to run - Mailing list pgsql-admin

From AlphaByte
Subject Still trying to get pgsql to run
Date
Msg-id 00082417171700.01419@alphabyte.co.nz
Whole thread Raw
Responses Re: Still trying to get pgsql to run  (Aimin Pan <aimin@liveinfo.co.jp>)
List 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 by date:

Previous
From: Mario Farias-Elinos Baez
Date:
Subject: Re: Psql 7.0.2 install problem on Sol7
Next
From: Aimin Pan
Date:
Subject: Re: Still trying to get pgsql to run