pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
6+ messages / 6 participants
[nested] [flat]
* BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-10-30 10:54 gtsal@intracom.gr
0 siblings, 2 replies; 6+ messages in thread
From: gtsal@intracom.gr @ 2012-10-30 10:54 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 7628
Logged by: George Tsaloukidis
Email address: gtsal@intracom.gr
PostgreSQL version: 9.2.1
Operating system: Windows 7 Home Premium 64-bit, SP 1
Description:
Dear All,
I downloaded setup file postgresql-9.2.1-1-windows-x64.exe
from your web site, and tried to install PostgreSQL on my machine.
Before finishing, one-click installer displayed the message
“initializing the database cluster” and stayed there for hours.
Using perfmon.exe tool I found that there was a lot of disk activity
and that program icacls.exe were accessing a lot of files contained
in some personal folders. Selected installation directory was
“C:\Program Files\PostgreSQL\9.2”.
Search on the web revealed that installer uses icacls.exe to change access
permissions on installation directory. However in my case, files accessed
by icacls.exe had nothing to do with installation directory.
The next step was to check file
“C:\Program Files\PostgreSQL\9.2\installer\server\initcluster.vbs”.
That script calls icacls.exe for all folders consisting
installation directory except for “C:\” and “C:\Program Files”
(if they are part of installation directory). Unfortunately,
instead of accessing %SYSTEMDRIVE% environment variable, script tries
to get the value of %SYSTEMDRIVER%, which does not exist.
So system’s root directory is not really excluded and if it contains
a lot of file (as mine), the installation may need some hours.
To check it, I defined a new environment variable
(SYSTEMDRIVER=%SYSTEMDRIVE%)
and ran the setup program again. This time installation finished within a
couple of minutes.
Best Regards,
George.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-11-01 05:23 Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
parent: gtsal@intracom.gr
1 sibling, 1 reply; 6+ messages in thread
From: Sandeep Thakkar @ 2012-11-01 05:23 UTC (permalink / raw)
To: gtsal@intracom.gr; +Cc: pgsql-bugs
Thanks George. I have fixed the typo in initcluster.vbs on all affected
branches.
On Tue, Oct 30, 2012 at 4:24 PM, <gtsal@intracom.gr> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7628
> Logged by: George Tsaloukidis
> Email address: gtsal@intracom.gr
> PostgreSQL version: 9.2.1
> Operating system: Windows 7 Home Premium 64-bit, SP 1
> Description:
>
> Dear All,
>
> I downloaded setup file postgresql-9.2.1-1-windows-x64.exe
> from your web site, and tried to install PostgreSQL on my machine.
> Before finishing, one-click installer displayed the message
> “initializing the database cluster” and stayed there for hours.
>
> Using perfmon.exe tool I found that there was a lot of disk activity
> and that program icacls.exe were accessing a lot of files contained
> in some personal folders. Selected installation directory was
> “C:\Program Files\PostgreSQL\9.2”.
>
> Search on the web revealed that installer uses icacls.exe to change access
> permissions on installation directory. However in my case, files accessed
> by icacls.exe had nothing to do with installation directory.
>
> The next step was to check file
> “C:\Program Files\PostgreSQL\9.2\installer\server\initcluster.vbs”.
> That script calls icacls.exe for all folders consisting
> installation directory except for “C:\” and “C:\Program Files”
> (if they are part of installation directory). Unfortunately,
> instead of accessing %SYSTEMDRIVE% environment variable, script tries
> to get the value of %SYSTEMDRIVER%, which does not exist.
> So system’s root directory is not really excluded and if it contains
> a lot of file (as mine), the installation may need some hours.
>
> To check it, I defined a new environment variable
> (SYSTEMDRIVER=%SYSTEMDRIVE%)
> and ran the setup program again. This time installation finished within a
> couple of minutes.
>
> Best Regards,
> George.
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>
--
Sandeep Thakkar
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91.20.30589514
Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb
This e-mail message (and any attachment) is intended for the use of the
individual or entity to whom it is addressed. This message contains
information from EnterpriseDB Corporation that may be privileged,
confidential, or exempt from disclosure under applicable law. If you are
not the intended recipient or authorized to receive this for the intended
recipient, any use, dissemination, distribution, retention, archiving, or
copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete this message.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-11-01 05:41 Craig Ringer <ringerc@ringerc.id.au>
parent: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
0 siblings, 1 reply; 6+ messages in thread
From: Craig Ringer @ 2012-11-01 05:41 UTC (permalink / raw)
To: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>; +Cc: gtsal@intracom.gr; pgsql-bugs
On 11/01/2012 01:23 PM, Sandeep Thakkar wrote:
> Thanks George. I have fixed the typo in initcluster.vbs on all
> affected branches.
Out of interest, how long has that typo been there?
Could this be the cause of *all* the various and persistent issues we've
had with icacls.exe running for ages on some systems? Or have there been
previous problems detected and fixed too?
--
Craig Ringer
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-11-01 11:38 Dave Page <dpage@pgadmin.org>
parent: Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 0 replies; 6+ messages in thread
From: Dave Page @ 2012-11-01 11:38 UTC (permalink / raw)
To: Craig Ringer <ringerc@ringerc.id.au>; +Cc: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>; gtsal@intracom.gr; pgsql-bugs
On Thu, Nov 1, 2012 at 5:41 AM, Craig Ringer <ringerc@ringerc.id.au> wrote:
> On 11/01/2012 01:23 PM, Sandeep Thakkar wrote:
>> Thanks George. I have fixed the typo in initcluster.vbs on all
>> affected branches.
> Out of interest, how long has that typo been there?
>
> Could this be the cause of *all* the various and persistent issues we've
> had with icacls.exe running for ages on some systems? Or have there been
> previous problems detected and fixed too?
No, not all. It was introduced in a previous fix for the issue in
October 2011. Given the typo, I think the original fix was partially
effective (hence the occasional reports we still get). With any luck,
this will knock them on the head altogether.
I'm kinda annoyed we never spotted this, given the number of people
that have spent time reviewing and double-checking that code (myself
included). I guess these things happen sometimes no matter how
thorough you are :-(
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-11-14 18:11 limkimhuot <limkimhuot@gmail.com>
parent: gtsal@intracom.gr
1 sibling, 1 reply; 6+ messages in thread
From: limkimhuot @ 2012-11-14 18:11 UTC (permalink / raw)
To: pgsql-bugs
Dear all,
Today is my fourth day I have been trying to install PostgreSQL
(postgresql-9.2.1-1-windows-x64) in my window 7 x64, yet it fails all the
time.
I don't know much about VB script or I am very new in VB.
Is it correct if I place code of the new environment variable like this:
SYSTEMDRIVER = %SYSTEMDRIVE%
strProgramFiles = objShell.ExpandEnvironmentStrings("%PROGRAMFILES%")
strSystemDrive = objShell.ExpandEnvironmentStrings("%SYSTEMDRIVER%")
One more thing, whenever I re-install PostgreSQL the code will go back to
the original. I have tried to modify it while initializing the database
cluster but it still takes so long time. So, what should I do in this step?
Thank you so much before hand.
Kimhuot
--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-7628-Installation-of-PostgreSQL-9-2-1-on-Windows-7-may-t...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
@ 2012-11-15 01:24 Craig Ringer <craig@2ndQuadrant.com>
parent: limkimhuot <limkimhuot@gmail.com>
0 siblings, 0 replies; 6+ messages in thread
From: Craig Ringer @ 2012-11-15 01:24 UTC (permalink / raw)
To: limkimhuot <limkimhuot@gmail.com>; +Cc: pgsql-bugs
On 11/15/2012 02:11 AM, limkimhuot wrote:
> Dear all,
>
> Today is my fourth day I have been trying to install PostgreSQL
> (postgresql-9.2.1-1-windows-x64) in my window 7 x64, yet it fails all the
> time.
>
> I don't know much about VB script or I am very new in VB.
>
> Is it correct if I place code of the new environment variable like this:
>
> SYSTEMDRIVER = %SYSTEMDRIVE%
> strProgramFiles = objShell.ExpandEnvironmentStrings("%PROGRAMFILES%")
> strSystemDrive = objShell.ExpandEnvironmentStrings("%SYSTEMDRIVER%")
This is a typo in the installer. It was recognised and fixed a few weeks
ago; I expect the public installers will have the fix in the next patch
release.
You can work around it in the mean time by editing your system
environment settings to add a SYSTEMDRIVER environment variable.
http://support.microsoft.com/kb/310519
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2012-11-15 01:24 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-30 10:54 BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long gtsal@intracom.gr
2012-11-01 05:23 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
2012-11-01 05:41 ` Craig Ringer <ringerc@ringerc.id.au>
2012-11-01 11:38 ` Dave Page <dpage@pgadmin.org>
2012-11-14 18:11 ` limkimhuot <limkimhuot@gmail.com>
2012-11-15 01:24 ` Craig Ringer <craig@2ndQuadrant.com>
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