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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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