BUG #6228: Failed to set permissions on the installed files

From: "Craig" <lumberjackchester(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6228: Failed to set permissions on the installed files
Date: 2011-09-27 16:05:09
Message-ID: 201109271605.p8RG59Ac028192@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6228
Logged by: Craig
Email address: lumberjackchester(at)gmail(dot)com
PostgreSQL version: 8.2
Operating system: Windows Server 2008 R2
Description: Failed to set permissions on the installed files
Details:

Hi,

I have read the FQA and understand that 8.2 is not supported on Windows 7,
but I have successfully installed it on my development server running server
2008 R2 before without this problem. I think that this may be a windows
issue rather than a postgre bug, but I thought I'd ask for help anyway.
Thank you in advance for any advice.

The exact words of any error message you see when the installation fails:

FAILED TO SET PERMISSIONS ON THE INSTALLED FILES. PLEASE SEE THE LOGFILE IN
C:/Program Files(x86)/PostgreSQL/8.2/tmp/pgperm.log

The exact version of PostgreSQL you are installing
8.2.21

Whether you installed a 32-bit or 64-bit release of PostgreSQL:

32-bit

The operating system and version you are using, eg:
"Windows Sever 2008 R2 Standard"

Whether you are running a 32-bit or 64-bit version of your operating system

64-bit

How you ran the installer. Command-line arguments, what user account you ran
it from, etc.

Ran using Administrator account through mstsc /console

What antivirus and/or software firewall products you have installed, if any,
even if they are disabled

NO 3rd party firewall or anti-virus software installed.

Which, if any, of the troubleshooting instructions you have already tried:

FAQ:
http://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_
Windows#Common_installation_errors
http://forums.enterprisedb.com/posts/list/2044.page#7503
http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=%2Fco
m.ibm.tivoli.itbsm.doc_4.1%2Fbsmi144.htm

Whether a previous version of PostgreSQL was installed, and if so:

No previous versions were installed

Collect the installer log file:

Failed to set permissions on the installed files.
Please see the logfile in 'C:\Program Files
(x86)\PostgreSQL\8.2\tmp\pgperm.log'.
=== Logging stopped: 9/22/2011 11:47:22 ===

Get the contents of the PostgreSQL server error log:

see pgperm.log

(On Windows Vista and Windows 7): The UAC security level

UAC was disabled

Whether you started the installer by logging in as Administrator, started it
from from your own normal user account, or ran it using the "Run As
Administrator" menu option.

Installer was ran using the Administrator account through mstsc /console

Whether your computer is a part of a Windows domain. Home computers usually
are not, business computers usually are.

No

Whether you have any Group Policy configured

No, I have not configured any GP. This is a fresh installation of the OS.

Windows Event log:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="MsiInstaller" />
<EventID Qualifiers="0">1013</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-09-22T18:56:50.000000000Z" />
<EventRecordID>1697</EventRecordID>
<Channel>Application</Channel>
<Computer>s15453983</Computer>
<Security UserID="S-1-5-21-1044676344-1125360700-2537789345-500" />
</System>
- <EventData>
<Data>Product: PostgreSQL 8.2 -- Failed to set permissions on the
installed files. Please see the logfile in 'C:\Program Files
(x86)\PostgreSQL\8.2\tmp\pgperm.log'.</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data>(NULL)</Data>
<Data />

<Binary>7B31463730314442442D313636302D343130382D423130412D464234333545413633
4246307D</Binary>
</EventData>
</Event>

Environemt variables:

C:\Users\Administrator>set
ALLUSERSPROFILE=C:\ProgramData
AOLDIR=C:\project-open
APPDATA=C:\Users\Administrator\AppData\Roaming
CLIENTNAME=WIN-FKC0EEI78J6
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=S15453983
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\Administrator
LOCALAPPDATA=C:\Users\Administrator\AppData\Local
LOGONSERVER=\\S15453983
MAILENABLE_PATH=C:\PARALL~1\Plesk\MAILSE~1\MAILEN~1
NUMBER_OF_PROCESSORS=8
OS=Windows_NT
Path=C:\Parallels\Plesk\Mail Servers\Mail
Enable\BIN;C:\PARALL~1\Plesk\ADDITI~1\
Perl\bin\;C:\Parallels\Plesk\Additional\Python\;C:\Windows\system32;C:\Windo
ws;C
:\Windows\System32\Wbem;C:\Parallels\Plesk\Mail Servers\Mail
Enable\BIN64;C:\Pro
gram Files (x86)\PostgreSQL\8.2\bin;C:\project-open\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.py;.pyw
PGPASSWORD=Qwer.1234
plesk_bin=C:\Parallels\Plesk\admin\bin
plesk_cli=C:\Parallels\Plesk\bin
plesk_dir=C:\Parallels\Plesk\
plesk_vhosts=C:\Inetpub\vhosts\
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 2 Stepping 3, AuthenticAMD
PROCESSOR_LEVEL=16
PROCESSOR_REVISION=0203
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SESSIONNAME=RDP-Tcp#0
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
TMP=C:\Users\ADMINI~1\AppData\Local\Temp
USERDOMAIN=S15453983
USERNAME=Administrator
USERPROFILE=C:\Users\Administrator
windir=C:\Windows

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marquis103 2011-09-27 16:05:16 Re: Problem with the 9.1 one-click installer Windows7 64bit
Previous Message Kevin Grittner 2011-09-27 14:44:46 Re: Problems with ENUM type manipulation in 9.1