Re: installer woes, 9.1 on windows 2008 R2

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: installer woes, 9.1 on windows 2008 R2
Date: 2013-06-26 20:12:33
Message-ID: 51CB4B31.4040202@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/26/2013 12:49 PM, Igor Neyman wrote:
> Look for bitrock_installer.log in the \Users\<account_you_are_using>\AppData\Local\Temp.
> Or just do search for bitrock_installer.log file.

ahhh. two weirdnesses below...

A) why is it using 'myusername' (the account I ran the installer from)
instead of the postgres service account?
B) why can't it change the permissions?

..........
[11:35:51] Running the post-installation/upgrade actions:
[11:35:51] Delete the temporary scripts directory...
[11:35:51] Write the base directory to the ini file...
[11:35:51] Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo
"C:\PostgreSQL\9.1/installer/server/initcluster.vbs" "postgres"
"postgres" "****" "C:\PostgreSQL\9.1" "D:\PostgreSQL\9.1\data" 5432
"DEFAULT"
Script exit code: 1

Script output:
WScript.Shell Initialized...
Scripting.FileSystemObject initialized...

Called CreateDirectory(D:\PostgreSQL\9.1\data)...
Called CreateDirectory(D:\PostgreSQL\9.1)...
Called CreateDirectory(D:\PostgreSQL)...
Called CreateDirectory(D:\)...
WScript.Network initialized...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:6.1
MajorVersion:6
Ensuring we can read the path D: (using icacls) to myusername:
Executing batch file 'rad72A5A.bat'...
processed file: D:\
Successfully processed 1 files; Failed processing 0 files

Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:6.1
MajorVersion:6
Ensuring we can read the path D:\PostgreSQL (using icacls) to myusername:
Executing batch file 'rad72A5A.bat'...
processed file: D:\PostgreSQL
Successfully processed 1 files; Failed processing 0 files

Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:6.1
MajorVersion:6
Ensuring we can read the path D:\PostgreSQL\9.1 (using icacls) to
myusername:
Executing batch file 'rad72A5A.bat'...
processed file: D:\PostgreSQL\9.1
Successfully processed 1 files; Failed processing 0 files

Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:6.1
MajorVersion:6
Ensuring we can read the path D:\PostgreSQL\9.1\data (using icacls) to
myusername:
Executing batch file 'rad72A5A.bat'...
processed file: D:\PostgreSQL\9.1\data
Successfully processed 1 files; Failed processing 0 files

Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:6.1
MajorVersion:6
Ensuring we can write to the data directory (using icacls) to myusername:
Executing batch file 'rad72A5A.bat'...
processed file: D:\PostgreSQL\9.1\data
Successfully processed 1 files; Failed processing 0 files

Executing batch file 'rad72A5A.bat'...
The files belonging to this database system will be owned by user
"myusername".
This user must also own the server process.

The database cluster will be initialized with locale English_United
States.1252.
The default text search configuration will be set to "english".

fixing permissions on existing directory D:/PostgreSQL/9.1/data ...
initdb: could not change permissions of directory
"D:/PostgreSQL/9.1/data": Permission denied

Called Die(Failed to initialise the database cluster with initdb)...
Failed to initialise the database cluster with initdb

Script stderr:
Program ended with an error exit code

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-06-26 21:58:21 Re: Need help compiling from souce
Previous Message Igor Neyman 2013-06-26 19:49:24 Re: installer woes, 9.1 on windows 2008 R2