Re: BUG #3390: initdb fails on install

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Alvaro <alvaroag(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3390: initdb fails on install
Date: 2007-06-18 07:50:13
Message-ID: 20070618075013.GB32554@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message witcher 2007-06-18 13:05:34 BUG #3393: error with pgAdmin III 1.6
Previous Message Alvaro 2007-06-17 21:45:28 BUG #3390: initdb fails on install