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

Re: BUG #1789: Error starting up server

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Chris Saringolis <chris(at)apacsystems(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1789: Error starting up server
Date: 2005-07-27 14:31:43
Message-ID: 20050727143143.GA19122@winnie.fuhr.org (view raw or flat)
Thread:
Lists: pgsql-bugs
On Wed, Jul 27, 2005 at 07:36:05AM +0100, Chris Saringolis wrote:
> 
> I have downloaded Postgresql 8.0.3 from the Australian mirror site, and am
> following the online documentation for installation.
> 
> I get to the pointof initialising the database via initdb -D
> /usr/local/pgsql/data
> 
> I then try starting up postmaster in the background as per the
> documentation:
> 
> Postmaster -D /usr/local/pgsql/data >>serverlog 2>&1 &
> 
> Postmaster cannot start up and I get the following error in the serverlog
> file:
> 
> "The data directory was initialized by PostgreSQL 7.3 which is not
> compatible with this version 8.0.3"

Does your system have an older version of PostgreSQL installed?
Might your PATH be finding the 7.3 version of initdb instead of the
newer version?  Where was the 8.0.3 initdb installed?  What's the
output of "which initdb" and "initdb --version"?

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2005-07-27 14:46:27
Subject: Re: BUG #1790: coredump in postgres
Previous:From: Martin NikolovDate: 2005-07-27 12:30:29
Subject: Problem with the compilation and running of postgresql

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