pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #7985: Postgres Windows Installer fails with "permission denied"
2+ messages / 2 participants
[nested] [flat]

* BUG #7985: Postgres Windows Installer fails with "permission denied"
@ 2013-03-23 11:20 hkhanafe@hotmail.com
  2013-04-02 08:45 ` Re: BUG #7985: Postgres Windows Installer fails with "permission denied" Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  0 siblings, 1 reply; 2+ messages in thread

From: hkhanafe@hotmail.com @ 2013-03-23 11:20 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      7985
Logged by:          hassib
Email address:      hkhanafe@hotmail.com
PostgreSQL version: 9.2.2
Operating system:   Windows 7 
Description:        

We are facing an issue with Postgres Windows installer (version 9.2.2). 

In some machines we find that the installer works, in other machines it
fails and 
when checking the logs, we find that the script "initcluster" failed. 

We are installing Postgres in the default directory (i.e. c:\program files
(x86)\PostgreSQL), and 
the data directory under "c:\ProgramData". 

After long hours of debugging in the machines where it fails we found the
problem in the following 
line of the scripts "strInitdbPass = strInstallDir & "\" &
objFso.GetTempName", which is actually 
trying to save the password file under the installation directory (i.e.
c:\program files (x86)\PostgreSQL) 
, which failed with "Permission denied" error, when changing this line to
point to another directory 
the script worked. 

We tried to run the installer as "Local Administrator", but that also didn't
fix the issue.

What would be the solution for this issue?



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #7985: Postgres Windows Installer fails with "permission denied"
  2013-03-23 11:20 BUG #7985: Postgres Windows Installer fails with "permission denied" hkhanafe@hotmail.com
@ 2013-04-02 08:45 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Sandeep Thakkar @ 2013-04-02 08:45 UTC (permalink / raw)
  To: hkhanafe@hotmail.com; +Cc: pgsql-bugs

Never seen this error during installation. Can you please provide the
installation logs from  %TEMP% ?


On Sat, Mar 23, 2013 at 4:50 PM, <hkhanafe@hotmail.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      7985
> Logged by:          hassib
> Email address:      hkhanafe@hotmail.com
> PostgreSQL version: 9.2.2
> Operating system:   Windows 7
> Description:
>
> We are facing an issue with Postgres Windows installer (version 9.2.2).
>
> In some machines we find that the installer works, in other machines it
> fails and
> when checking the logs, we find that the script "initcluster" failed.
>
> We are installing Postgres in the default directory (i.e. c:\program files
> (x86)\PostgreSQL), and
> the data directory under "c:\ProgramData".
>
> After long hours of debugging in the machines where it fails we found the
> problem in the following
> line of the scripts "strInitdbPass = strInstallDir & "\" &
> objFso.GetTempName", which is actually
> trying to save the password file under the installation directory (i.e.
> c:\program files (x86)\PostgreSQL)
> , which failed with "Permission denied" error, when changing this line to
> point to another directory
> the script worked.
>
> We tried to run the installer as "Local Administrator", but that also
> didn't
> fix the issue.
>
> What would be the solution for this issue?
>
>
>
> --
> 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.30589523

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] 2+ messages in thread


end of thread, other threads:[~2013-04-02 08:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-03-23 11:20 BUG #7985: Postgres Windows Installer fails with "permission denied" hkhanafe@hotmail.com
2013-04-02 08:45 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.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