dbTalk Databases Forums  

Re: [BUGS] [pgsql-hackers-win32] Initdb failing for no apparent reason in

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] [pgsql-hackers-win32] Initdb failing for no apparent reason in in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrew Dunstan
 
Posts: n/a

Default Re: [BUGS] [pgsql-hackers-win32] Initdb failing for no apparent reason in - 01-09-2005 , 03:43 AM








Steve McWilliams wrote:

Quote:
Nevermind, I found out what this was. Turned out that the customer
machine in question had particularly heavy security settings and so the
enetaware account did not have permission to write into the directory
where it was trying to create PGDATA. Once I widened the settings on the
parent directory then it worked fine. Kind of odd that inidb.exe just
fails silently when this is the case however.



Very odd, since initdb calls chmod to fix the directory permissions, if
it already exists, and creates it with those same permissions if it
isn't (in both cases the permissions are 0700 ). If that isn't enough on
Windows, perhaps someone can tell us what is.

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.