X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E7ED9D707B for ; Mon, 5 Sep 2005 17:19:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92090-07 for ; Mon, 5 Sep 2005 20:19:48 +0000 (GMT) Received: from smtp01.mail.interbaun.com (smtp01.mail.interbaun.com [199.185.130.39]) by svr1.postgresql.org (Postfix) with ESMTP id 86B34D6F0D for ; Mon, 5 Sep 2005 17:19:48 -0300 (ADT) Received: (qmail 12321 invoked by uid 502); 5 Sep 2005 20:23:08 -0000 Received: from 243.209-89-66-0.interbaun.com (HELO zeecore.net) (209.89.66.243) by smtp01.mail.interbaun.com with SMTP; 5 Sep 2005 20:23:08 -0000 Received: (qmail 24092 invoked from network); 5 Sep 2005 13:17:01 -0000 Received: from unknown (HELO ipsolution1) (192.168.0.2) by zeecore.net with SMTP; 5 Sep 2005 13:17:01 -0000 Message-ID: <001101c5b257$4c4cfd20$0200a8c0@ipsolution1> From: "Karim Mardhani" To: References: <000801c5b245$8e4f33d0$0200a8c0@ipsolution1> Subject: Re: Initdb error during silent install on windows 2000 Date: Mon, 5 Sep 2005 14:20:45 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C5B225.018F74C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.185 required=5 tests=[AWL=0.107, FORGED_RCVD_HELO=0.05, HTML_60_70=0.027, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200509/31 X-Sequence-Number: 18768 This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C5B225.018F74C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3DC:\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 =20 ----- Original Message -----=20 From: Karim Mardhani=20 To: pgsql-admin@postgresql.org=20 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 =3D> Allow FullControl, No Deny C:\Program Files: Group User =3D> 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 ------=_NextPart_000_000E_01C5B225.018F74C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
One update on this problem.
 
I updated my install script to create a directory = "md=20 C:\pgdata" and update the command line for postgresql install to = include=20 "DATADIR=3DC:\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=20 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:=20 Karim = Mardhani
Sent: Monday, September 05, = 2005 12:13=20 PM
Subject: [ADMIN] Initdb error = during=20 silent install on windows 2000

Hi All:
 
I am getting following error from initdb = during silent=20 installation of 8.0.1:
 
creating directory C:/Program=20 Files/PostgreSQL/8.0/data/global ... initdb: could not create = directory=20 "C:/Program Files": File exists
 
I have searched about this issue and usually = this=20 happens due to a permission problem.  I have checked the = permission=20 they look fine to me.  Also I have used same install on at = least 15=20 other PCs (Mix of win 2K and win xp) and it worked fine for each = one=20 except this one.  Any ideas what might be the problem? =20 Following are the permissions on this PC (BTW other PCs have = exactly same=20 permissions and install works without any problem):
 
C:\:  Everyone = =3D> Allow=20 FullControl, No Deny
C:\Program Files: Group User =3D> Allow = Read=20 &Execute, List Folder Content, Read.  No = Deny
 
The user postgres is member of group = Users.
 
Thanks in advance for your help.
 
Thanks
 
Karim
 

------=_NextPart_000_000E_01C5B225.018F74C0--