Skip site navigation (1) Skip section navigation (2)

Re: 7.3.9 Install Question - init.d/postgresql error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dianne Chen <diana_chen23(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3.9 Install Question - init.d/postgresql error?
Date: 2005-05-02 16:47:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Dianne Chen <diana_chen23(at)yahoo(dot)com> writes:
> I have just installed postgresql 7.3.9 into a RHEL3.0
> environment. ....

> there, the script then cats the contents of the
> PG_VERSION file and compares it to the script variable
> $PGVERSION, which is set to 7.4 in the very first line
> of the script.

You have evidently got a 7.4 version of the initscript.  I would suggest
a very very careful recheck of what you did during the installation
process, because this suggests you have got some unholy mixture of 7.3
and 7.4 installations, which is a recipe for disaster.  Were you trying
to install 7.3 over a pre-existing 7.4 installation by any chance?

Your best bet may be to save aside the data directory (eg, rename
/var/lib/pgsql out of the way), then completely deinstall every
Postgres file you can find, then reinstall 7.3 from scratch, then
put back the data directory.

			regards, tom lane

In response to


pgsql-general by date

Next:From: David WheelerDate: 2005-05-02 16:53:12
Subject: Re: [Dbdpg-general] Re: 'prepare' is not quite schema-safe
Previous:From: Joshua D. DrakeDate: 2005-05-02 16:46:47
Subject: Re: Tuning queries inside a function

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group