Re: BUG #3274: Failed to run initdb - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #3274: Failed to run initdb
Date
Msg-id 4646EA2B.2020608@hagander.net
Whole thread Raw
In response to BUG #3274: Failed to run initdb  ("Alan Mercer" <madscientist@xspmail.com>)
List pgsql-bugs
Alan Mercer wrote:
> The following bug has been logged online:
>
> Bug reference:      3274
> Logged by:          Alan Mercer
> Email address:      madscientist@xspmail.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

pgsql-bugs by date:

Previous
From: "Salvador"
Date:
Subject: BUG #3273: Installation fails near to finish
Next
From: "Pavel Stehule"
Date:
Subject: pg_standby (wrong parametr -u in help note