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

Re: BUG #3274: Failed to run initdb

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alan Mercer <madscientist(at)xspmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3274: Failed to run initdb
Date: 2007-05-13 10:36:27
Message-ID: 4646EA2B.2020608@hagander.net (view raw or flat)
Thread:
Lists: pgsql-bugs
Alan Mercer wrote:
> The following bug has been logged online:
> 
> Bug reference:      3274
> Logged by:          Alan Mercer
> Email address:      madscientist(at)xspmail(dot)com
> PostgreSQL version: 8.2
> Operating system:   Windows Vista
> Description:        Failed to run initdb
> Details: 
> 
> I was trying a fairly vanilla installation on Windows Vista, and received
> the following error:
> 
> Failed to run initdb: 1!
> 
> In the logfile, the description was:
> 
> The program "postgres" is needed by initdb but was not found in the
> same directory as "C:/Program Files/PostgreSQL/8.2/bin/initdb".
> Check your installation.
> 
> 
> There is a file named postgres.exe in the specified directory.  Is this a
> Vista issue (although it doesn't appear to be) or anything else previously
> reported?
> 
> Please let me know if you need additional information.  Thank you very
> much.

Yeah, there are known problems with the 8.2 installer on Vista. Note
that PostgreSQL itself works fine on Vista, but you can't run initdb
from within the installer. Your workaround is to install without initdb
and then run initdb manually later. This will be correctly fixed in 8.3.

//Magnus

In response to

pgsql-bugs by date

Next:From: Pavel StehuleDate: 2007-05-13 13:24:28
Subject: pg_standby (wrong parametr -u in help note
Previous:From: Alan MercerDate: 2007-05-13 06:27:28
Subject: BUG #3274: Failed to run initdb

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