Re: Still trying to get pgsql to run
От | Aimin Pan |
---|---|
Тема | Re: Still trying to get pgsql to run |
Дата | |
Msg-id | 200008240604.PAA07005@ns.liveinfo.co.jp обсуждение исходный текст |
Ответ на | Still trying to get pgsql to run (AlphaByte <alan@alphabyte.co.nz>) |
Ответы |
Re: Still trying to get pgsql to run
|
Список | pgsql-admin |
I deleted all files and directories in /var/lib/pgsql/ and it worked. AlphaByteさんの<00082417171700.01419@alphabyte.co.nz>から >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 по дате отправления: