Unix Technical Forum

Re: initdb: could not create directory "C:/Program

This is a discussion on Re: initdb: could not create directory "C:/Program within the pgsql Admins forums, part of the PostgreSQL category; --> >>> 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 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 08:17 AM
Kevin Grittner
 
Posts: n/a
Default Re: initdb: could not create directory "C:/Program

>>> 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.

-Kevin




---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 08:17 AM
Scott Marlowe
 
Posts: n/a
Default Re: 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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:39 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com