Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id DF5EC9FB2DE for ; Thu, 1 Nov 2007 04:12:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 67590-06 for ; Thu, 1 Nov 2007 04:12:01 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from ironport.toshiba-tesi.com (mail.soc-soft.com [202.56.254.199]) by postgresql.org (Postfix) with ESMTP id 711549FB50F for ; Thu, 1 Nov 2007 04:12:02 -0300 (ADT) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAHACKUesHFQE/2dsb2JhbAAM X-IronPort-AV: E=Sophos;i="4.21,355,1188757800"; d="scan'208";a="329676" Received: from unknown (HELO igatewall.TOSHIBA-TESI.COM) ([172.28.84.4]) by ironport.toshiba-tesi.com with SMTP; 01 Nov 2007 11:08:30 +0530 Received: from 192.168.4.20 by igatewall.TOSHIBA-TESI.COM (InterScan VirusWall 6); Thu, 01 Nov 2007 11:10:32 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin) Date: Thu, 1 Nov 2007 11:14:23 +0530 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin) Thread-Index: Acgb57ojgLKz2Oi6QyuySJj+wyaMpAAYmdtg From: "Nandakumar Tantry" To: "Scott Marlowe" , "Kevin Grittner" Cc: X-TM-AS-Product-Ver: : ISVW-6.01.0.6076-5.0.0.1023-15518000 X-TM-AS-Result: : No X-TM-AS-Category-Info: : 31:0.000000 X-TM-AS-MatchedID: : =?us-ascii?B?MTUwNTY3LTEyMTU0OC03MDE1?= =?us-ascii?B?NzYtNzAyNzYyLTEzOTAwNi03MDA0MjQtNzAwMDczLTcwMDQ3My03?= =?us-ascii?B?MDA2MjYtNzAwMzg3LTcwNDQzMC03MDAwNzUtMTM5MDEwLTcwMDg4?= =?us-ascii?B?Ny03MDA0NzYtNzAzODI5LTcwMTAzNS03MDE2MzktMTEwNDYyLTcw?= =?us-ascii?B?MDEzMy03MDUwOTgtNzAzNzQ3LTcwMDk3MS03MDEzMDUtNzA0OTM1?= =?us-ascii?B?LTE4ODAxOS03MDY4OTEtNzAwNDQ1LTcwMTQ2MS03MDQyMDUtMTA1?= =?us-ascii?B?NzAwLTcwNzIyNS03MDQ2MDUtNzA0NDI1LTcwMzI4My03MDk3NTgt?= =?us-ascii?B?NzAwMDU1LTcwMDcyNi0xMTMyMzAtNzA1Mzg4LTE0ODAzOS0xNDgw?= =?us-ascii?B?NTAtMjAwNDI=?= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/2 X-Sequence-Number: 27245 The permissions are proper and I have all the permissions required for that directory. -----Original Message----- From: Scott Marlowe [mailto:scott.marlowe@gmail.com]=20 Sent: Wednesday, October 31, 2007 11:23 PM To: Kevin Grittner Cc: pgsql-admin@postgresql.org; Nandakumar Tantry Subject: Re: [ADMIN] initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin) On 10/31/07, Kevin Grittner wrote: > >>> On Tue, Oct 30, 2007 at 11:28 PM, in message > , > "Nandakumar Tantry" wrote: > > > I have attached my Installation problem in Image File and log file. > > This (from the log file) looks odd: > > > fixing permissions on existing directory C:/Program Files/PostgreSQL/8.2/data ... ok > > creating subdirectories ... initdb: could not create directory "C:/Program Files": File exists > > I'm retitling the thread and bringing this to the front in hopes of > attracting the attention of someone who might recognize it. > > If that doesn't attract attention here, start over on the general list, > emphasizing the error message you're seeing. More than likely it's trying to create new directories in the c:/Program Files/PostgreSQL/8.2 directory and the permissions are wrong. The error message looks like it's cutting off the error at the first / or something in the path. I'm no windows SA but I'd say deleting that directory and trying again might work.