Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5F9D19F9F31 for ; Wed, 31 Oct 2007 16:03:49 -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 43620-01-4 for ; Wed, 31 Oct 2007 16:03:10 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by postgresql.org (Postfix) with ESMTP id BA2CF9FC526 for ; Wed, 31 Oct 2007 14:53:11 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so344899ugf for ; Wed, 31 Oct 2007 10:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fsVZAmMMXXgzd3QFxtkZhM5wdC3HgB24OviCeOW2OwU=; b=evtsPLWKilt7RlnIs6zAgg5FunSvXCQ/+x1thD+s+gL3DUTFhAWHtl05pRQasFcXneE6Ox1e2VswfkxnDzlfb1vPdETRfAdncuSEJKX5h7iU6JrpgKWP0HpMCMzqrm1oJ1PdF601LaakB7z3gqVVgQHtcVvxCD9wkYOHEEoo0ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YBgcLEu0nkT+VSrAmdkx//7d3gZgkEFZM+GMlfzQB93tmJrUSnbtJB7Txkzw5JDumdB3HccDPbOZBPHP6L+wq+Uj17Vb63DpQI/z2lo7tL70RwiXbUP8I7lDoAoS0cm4EAptK7FAZw0lQOoP19u+WZ8YSjPN9E1DBAUZarxRiII= Received: by 10.66.250.18 with SMTP id x18mr429700ugh.1193853190436; Wed, 31 Oct 2007 10:53:10 -0700 (PDT) Received: by 10.67.40.10 with HTTP; Wed, 31 Oct 2007 10:53:10 -0700 (PDT) Message-ID: Date: Wed, 31 Oct 2007 12:53:10 -0500 From: "Scott Marlowe" To: "Kevin Grittner" Subject: Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin) Cc: pgsql-admin@postgresql.org, "Nandakumar Tantry" In-Reply-To: <4728677F.EE98.0025.0@wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4728677F.EE98.0025.0@wicourts.gov> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/320 X-Sequence-Number: 27234 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.