pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nandakumar Tantry <nandakumar.tantryr@toshiba-tesi.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
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: <C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com> (raw)

The permissions are proper and I have all the permissions required for
that directory.

-----Original Message-----
From: Scott Marlowe [mailto:scott.marlowe@gmail.com] 
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 <Kevin.Grittner@wicourts.gov> wrote:
> >>> On Tue, Oct 30, 2007 at 11:28 PM, in message
> <C5065F118AFB3D478B052FC1E9810D9C7D5E07@tec-mail.ttec.soc-soft.com>,
> "Nandakumar Tantry" <nandakumar.tantryr@toshiba-tesi.com> 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.



view thread (3+ messages)

Message-ID: <C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com>
Permalink:  ../C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com/
Also on:    postgresql.org/message-id/C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nandakumar.tantryr@toshiba-tesi.com, scott.marlowe@gmail.com, Kevin.Grittner@wicourts.gov
  Subject: Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin)
  In-Reply-To: <C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com>
  References: <C5065F118AFB3D478B052FC1E9810D9C7D6032@tec-mail.ttec.soc-soft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox