Re: BUG #3390: initdb fails on install - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #3390: initdb fails on install
Date
Msg-id 20070618075013.GB32554@svr2.hagander.net
Whole thread Raw
In response to BUG #3390: initdb fails on install  ("Alvaro" <alvaroag@gmail.com>)
List pgsql-bugs
On Sun, Jun 17, 2007 at 09:45:28PM +0000, Alvaro wrote:
>
> The following bug has been logged online:
>
> Bug reference:      3390
> Logged by:          Alvaro
> Email address:      alvaroag@gmail.com
> PostgreSQL version: 8.2.4
> Operating system:   Windows Server 2003 R2 Enterprise x64
> Description:        initdb fails on install
> Details:
>
> I'm trying to install postgres using the MSI Installer. Everything goes
> normal until it starts to initialize the database(intdb). It shows this
> message:
>
> "
> Failed to run initdb: 1!
> Please see the logfile in 'C:\Program Files
> (x86)\PostgreSQL\8.2\tmp\initdb.log'.
> Note! You must read/copy this logfile before you click OK, or it will be
> automatically removed.
> "
>
> And then it rolls back the setup.
>
> When I check the logfile, it says:
>
> "
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale C.
>
> fixing permissions on existing directory C:/Program Files
> (x86)/PostgreSQL/8.2/data ... ok
> creating subdirectories ... initdb: could not create directory "C:/Program
> Files (x86)": File exists
> initdb: removing contents of data directory "C:/Program Files
> (x86)/PostgreSQL/8.2/data"
> "
>
> I can also send the installation log. if someone tells me where to send it.
>
> Thanks,
> Alvaro

Please look at the FAQ, question 3.4
(http://www.postgresql.org/docs/faqs.FAQ_windows.html#3.4), and make sure
you have the correct perms.

//Magnus

pgsql-bugs by date:

Previous
From: "Alvaro"
Date:
Subject: BUG #3390: initdb fails on install
Next
From: "witcher"
Date:
Subject: BUG #3393: error with pgAdmin III 1.6