Maybe  it was moved for PostGres v7 (I'm still using 6.5.3 because it works 
and I'm too lazy to upgrade. :-) but in older versions the PG_VERSION file 
was in the data directory (ie, /usr/local/pgsql/data/ )  Try checking what 
you are using for a data dir ("locate pg_database" should tell you what dir 
it is) and move PG_VERSION in there.  Of course, your data dir could be 
/var/lib/pgsql, I dunno what evils RedHat does to the default Postgres 
install path.

At 01:49 AM 9/19/00, Alexey V. Borzov wrote:
>Greetings.
>
>Monday, September 18, 2000, 10:38:37 PM, you wrote:
> >> σΕΞ 18 15:53:06 arbat logger: FATAL 1:  File 
> '/var/lib/pgsql/PG_VERSION' does not exist or no read permission.
> >>
> >> Well, '/var/lib/pgsql/PG_VERSION' does exist, it has read permission
> >> for user 'postgres' (I made it world readable, in fact, after I
> >> discovered this).
> >>
> >> Now, two questions:
> >> 1) Who the hell needs to read this file?
> >> 2) Why can't he do it?
>
>THH> What version fo PostgreSQL are you running?
>
>I forgot the most important part...
>PostgreSQL 7.0.2
>And it runs on Linux 2.2.17 SMP (The box has two Intel Pentiums II)
>
>--
>Yours, Alexey V. Borzov

Reply via email to