From karim@zeecore.net Mon Sep 5 18:12:55 2005 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 6596AD6FB8 for ; Mon, 5 Sep 2005 15:12:55 -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 67173-05 for ; Mon, 5 Sep 2005 18:12:53 +0000 (GMT) Received: from smtp02.mail.interbaun.com (smtp02.mail.interbaun.com [199.185.130.41]) by svr1.postgresql.org (Postfix) with SMTP id 24975D6FD1 for ; Mon, 5 Sep 2005 15:12:51 -0300 (ADT) Received: (qmail 25239 invoked by uid 502); 5 Sep 2005 18:15:58 -0000 Received: from 243.209-89-66-0.interbaun.com (HELO zeecore.net) (209.89.66.243) by smtp02.mail.interbaun.com with SMTP; 5 Sep 2005 18:15:58 -0000 Received: (qmail 31890 invoked from network); 5 Sep 2005 11:10:01 -0000 Received: from unknown (HELO ipsolution1) (192.168.0.2) by zeecore.net with SMTP; 5 Sep 2005 11:10:01 -0000 Message-ID: <000801c5b245$8e4f33d0$0200a8c0@ipsolution1> From: "Karim Mardhani" To: Subject: Initdb error during silent install on windows 2000 Date: Mon, 5 Sep 2005 12:13:45 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C5B213.437DD550" 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.243 required=5 tests=[AWL=0.097, FORGED_RCVD_HELO=0.05, HTML_50_60=0.095, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200509/29 X-Sequence-Number: 18766 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C5B213.437DD550 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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_0005_01C5B213.437DD550 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 = happens=20 due to a permission problem.  I have checked the permission they = look=20 fine to me.  Also I have used same install on at least 15 other = PCs (Mix=20 of win 2K and win xp) and it worked fine for each one except this = one. =20 Any ideas what might be the problem?  Following are the = permissions on=20 this PC (BTW other PCs have exactly same permissions and install works = without=20 any problem):
 
C:\:  Everyone =3D> = Allow=20 FullControl, No Deny
C:\Program Files: Group User =3D> Allow Read = &Execute,=20 List Folder Content, Read.  No Deny
 
The user postgres is member of group = Users.
 
Thanks in advance for your help.
 
Thanks
 
Karim
 

------=_NextPart_000_0005_01C5B213.437DD550-- From karim@zeecore.net Mon Sep 5 20:19:54 2005 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-- From mha@sollentuna.net Mon Sep 5 20:49:50 2005 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 0897AD78D3 for ; Mon, 5 Sep 2005 17:49:50 -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 02569-05 for ; Mon, 5 Sep 2005 20:49:47 +0000 (GMT) Received: from mx-2.sollentuna.net (mx-2.sollentuna.net [195.84.163.199]) by svr1.postgresql.org (Postfix) with ESMTP id 6B243D786C for ; Mon, 5 Sep 2005 17:49:47 -0300 (ADT) Received: from ALGOL.sollentuna.se (janus.sollentuna.se [62.65.68.67]) by mx-2.sollentuna.net (Postfix) with ESMTP id AED358F283; Mon, 5 Sep 2005 22:49:47 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: Re: Initdb error during silent install on windows 2000 Date: Mon, 5 Sep 2005 22:49:47 +0200 Message-ID: <6BCB9D8A16AC4241919521715F4D8BCE0946EA@algol.sollentuna.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Initdb error during silent install on windows 2000 Thread-Index: AcWyWgJqAgaT1h3zT4KJss6x/zl7EAAAUKWg From: "Magnus Hagander" To: "Karim Mardhani" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.06 required=5 tests=[AWL=0.010, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/32 X-Sequence-Number: 18769 > One update on this problem. > =20 > I updated my install script to create a directory "md=20 > C:\pgdata" and update the command line for postgresql install=20 > to include "DATADIR=3DC:\pgdata" and everything works fine. > =20 > Maybe the space in "Program Files" is causing this=20 > problem? But then again the installation worked fine for at=20 > least 15 other PCs where the data base data was in C:\Program Files. > =20 > Don't know what's going on here. Do you by any chance have a directory called "C:\Program"? That would be present on this machine and not the others? //Magnus From karim@zeecore.net Tue Sep 6 01:50:58 2005 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 5EC1CD7A72 for ; Mon, 5 Sep 2005 22:50:58 -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 72868-03 for ; Tue, 6 Sep 2005 01:50:53 +0000 (GMT) Received: from smtp02.mail.interbaun.com (smtp02.mail.interbaun.com [199.185.130.41]) by svr1.postgresql.org (Postfix) with SMTP id 0C058D8119 for ; Mon, 5 Sep 2005 22:50:53 -0300 (ADT) Received: (qmail 14836 invoked by uid 502); 6 Sep 2005 01:54:04 -0000 Received: from 243.209-89-66-0.interbaun.com (HELO zeecore.net) (209.89.66.243) by smtp02.mail.interbaun.com with SMTP; 6 Sep 2005 01:54:04 -0000 Received: (qmail 25193 invoked from network); 5 Sep 2005 18:48:05 -0000 Received: from unknown (HELO ipsolution1) (192.168.0.2) by zeecore.net with SMTP; 5 Sep 2005 18:48:05 -0000 Message-ID: <001701c5b285$8cd4fbd0$0200a8c0@ipsolution1> From: "Karim Mardhani" To: "Magnus Hagander" , References: <6BCB9D8A16AC4241919521715F4D8BCE0946EA@algol.sollentuna.se> Subject: Re: Initdb error during silent install on windows 2000 Date: Mon, 5 Sep 2005 19:51:51 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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.15 required=5 tests=[AWL=0.100, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/34 X-Sequence-Number: 18771 No. There is no "C:\Program" directory on this machine. Thanks Karim ----- Original Message ----- From: "Magnus Hagander" To: "Karim Mardhani" ; Sent: Monday, September 05, 2005 2:49 PM Subject: RE: [ADMIN] Initdb error during silent install on windows 2000 > 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. Do you by any chance have a directory called "C:\Program"? That would be present on this machine and not the others? //Magnus