Postmaster starting error

Lists: pgsql-general
From: Rahul Ravindrudu <rrahul(at)cse(dot)iitb(dot)ernet(dot)in>
To: pgsql-general(at)hub(dot)org
Subject: Postmaster starting error
Date: 2000-01-07 04:53:06
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general


Hi,
I have downloaded the postgres version 6.5.3 . My m/c is redhat linux 6.0.
Postgres compiles without any error. I then initialize the database using
initdb. But when i start the postmaster i get the following error message.

Database system in directory /tmp/pgsql/data 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 '/tmp/pgsql/data/PG_VERSION' should be 6.4, not 6.5.

No data directory -- can't proceed.


Can anyone explain why?

--
Rahul Ravindrudu

--------------------------------------------------------------------
Rahul Ravindrudu
4th Yr B.Tech
CSE Dept, IIT Bombay
Mumbai, India 400076
--------------------------------------------------------------------


From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Rahul Ravindrudu <rrahul(at)cse(dot)iitb(dot)ernet(dot)in>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] Postmaster starting error
Date: 2000-01-07 07:20:50
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general

Rahul Ravindrudu wrote:
>
>Hi,
> I have downloaded the postgres version 6.5.3 . My m/c is redhat linux 6.0
>.
> Postgres compiles without any error. I then initialize the database using
> initdb. But when i start the postmaster i get the following error message
>.
>
>
>Database system in directory /tmp/pgsql/data is not compatible with this ver
>sion of Postgres, or we are unable to read the PG_VERSION file. Explana
>tion from ValidatePgVersion: Version number in file '/tmp/pgsql/data/PG_
>VERSION' should be 6.4, not 6.5.
>
>No data directory -- can't proceed.
>
>
> Can anyone explain why?

Perhaps you have a 6.4 version still on your machine, that is being run
instead of your new version?

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"Blessed are the pure in heart, for they shall see
God." Matthew 5:8


From: Rahul Ravindrudu <rrahul(at)cse(dot)iitb(dot)ernet(dot)in>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] Postmaster starting error
Date: 2000-01-07 08:03:06
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general

On Fri, Jan 07, 2000 at 07:20:50AM +0000, Oliver Elphick wrote:
Rahul Ravindrudu wrote:
>
>Hi,
> I have downloaded the postgres version 6.5.3 . My m/c is redhat linux 6.0
> Postgres compiles without any error. I then initialize the database using
> initdb. But when i start the postmaster i get the following error message
>.
>
>
>Database system in directory /tmp/pgsql/data is not compatible with this ver
>sion of Postgres, or we are unable to read the PG_VERSION file. Explana
>tion from ValidatePgVersion: Version number in file '/tmp/pgsql/data/PG_
>VERSION' should be 6.4, not 6.5.
>
>No data directory -- can't proceed.
>
>
> Can anyone explain why?

Perhaps you have a 6.4 version still on your machine, that is being run
instead of your new version?

This is the first time I am using postgres.

--
Rahul Ravindrudu


From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Rahul Ravindrudu <rrahul(at)cse(dot)iitb(dot)ernet(dot)in>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: [GENERAL] Postmaster starting error
Date: 2000-01-07 15:12:30
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-general

Rahul Ravindrudu wrote:
>
> Hi,
> I have downloaded the postgres version 6.5.3 . My m/c is redhat linux 6.0.
[snip]
Explanation from ValidatePgVersion: Version number in file
'/tmp/pgsql/data/PG_VERSION' should be 6.4, not 6.5.

The PostgreSQL 6.4.2 RPMs that were shipped with RedHat 6.0 are still
installed. Run 'rpm -qa|grep postgresql' -- then, run 'rpm -e' on all
the postgresql RPM's that -qa reported.

The tarball version and the RPM version do not like each other,
primarily due to the fact that the RPM version places postmaster in
/usr/bin -- if you set your PATH to search the tarball installation's
bin directory BEFORE /usr/bin, then things will settle down -- but it's
best to uninstall the 6.4.2 RPM's first. Or, you can fully qualify the
path for postmaster (/usr/local/pgsql/bin/postmaster, or whereever you
have it installed).

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

Or, you can upgrade to the 6.5.3 RPM's.