Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin)

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-admin(at)postgresql(dot)org, "Nandakumar Tantry" <nandakumar(dot)tantryr(at)toshiba-tesi(dot)com>
Subject: Re: initdb: could not create directory "C:/Program Files" (was: Installing PostgreSQL as Admin)
Date: 2007-10-31 17:53:10
Message-ID: dcc563d10710311053r1ab9d001o8f64b24d83b3e783@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 10/31/07, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> >>> On Tue, Oct 30, 2007 at 11:28 PM, in message
> <C5065F118AFB3D478B052FC1E9810D9C7D5E07(at)tec-mail(dot)ttec(dot)soc-soft(dot)com>,
> "Nandakumar Tantry" <nandakumar(dot)tantryr(at)toshiba-tesi(dot)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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dinesh 2007-10-31 18:42:23 Slony with Linux Heartbeat
Previous Message Chris Hoover 2007-10-31 17:28:26 Upgrading from 7.2.1 to 8.x