pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karim Mardhani <karim@zeecore.net>
To: pgsql-admin@postgresql.org
Subject: Re: Initdb error during silent install on windows 2000
Date: Mon, 5 Sep 2005 14:20:45 -0600
Message-ID: <001101c5b257$4c4cfd20$0200a8c0@ipsolution1> (raw)
References: <000801c5b245$8e4f33d0$0200a8c0@ipsolution1>

  One update on this problem.

  I updated my install script to create a directory "md C:\pgdata" and update the command line for postgresql install to include "DATADIR=C:\pgdata" and everything works fine.

  Maybe the space in "Program Files" is causing this problem?  But then again the installation worked fine for at least 15 other PCs where the data base data was in C:\Program Files.

  Don't know what's going on here.

  Thanks

  Karim
   
    ----- Original Message ----- 
    From: Karim Mardhani 
    To: pgsql-admin@postgresql.org 
    Sent: Monday, September 05, 2005 12:13 PM
    Subject: [ADMIN] Initdb error during silent install on windows 2000


      Hi All:

      I am getting following error from initdb during silent installation of 8.0.1:

      creating directory C:/Program Files/PostgreSQL/8.0/data/global ... initdb: could not create directory "C:/Program Files": File exists

      I have searched about this issue and usually this happens due to a permission problem.  I have checked the permission they look fine to me.  Also I have used same install on at least 15 other PCs (Mix of win 2K and win xp) and it worked fine for each one except this one.  Any ideas what might be the problem?  Following are the permissions on this PC (BTW other PCs have exactly same permissions and install works without any problem):

      C:\:  Everyone => Allow FullControl, No Deny
      C:\Program Files: Group User => Allow Read &Execute, List Folder Content, Read.  No Deny

      The user postgres is member of group Users.

      Thanks in advance for your help.

      Thanks

      Karim

view thread (4+ messages)  latest in thread

Message-ID: <001101c5b257$4c4cfd20$0200a8c0@ipsolution1>
Permalink:  ../001101c5b257$4c4cfd20$0200a8c0@ipsolution1/
Also on:    postgresql.org/message-id/001101c5b257$4c4cfd20$0200a8c0@ipsolution1

 · 

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: karim@zeecore.net
  Subject: Re: Initdb error during silent install on windows 2000
  In-Reply-To: <001101c5b257$4c4cfd20$0200a8c0@ipsolution1>
  References: <000801c5b245$8e4f33d0$0200a8c0@ipsolution1> <001101c5b257$4c4cfd20$0200a8c0@ipsolution1>

* 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