Re: Initdb on Windows 2003

From: <James_Hughes(at)McAfee(dot)com>
To: <mha(at)sollentuna(dot)net>, <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Initdb on Windows 2003
Date: 2006-03-03 14:24:32
Message-ID: 2E22904642859A40AF5E1CA1597EBB1F02EF424C@devexmb1.corp.nai.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I did run filemon but did not get anything from it :( Yes I disabled all
anti-virus software, no difference made.

Have raised a helpdesk ticket with Microsoft, see if they can shed any
light on the problem.

James

-----Original Message-----
From: Magnus Hagander [mailto:mha(at)sollentuna(dot)net]
Sent: 03 March 2006 14:14
To: Hughes, James; andrew(at)dunslane(dot)net
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: RE: [HACKERS] Initdb on Windows 2003

> All
>
> I have determined what is causing the failure. It appears that the
> stdout & stderr redirection to nul produces the "Access is Denied."
> message. This is happening even if I type "dir >nul" at the command
> prompt! I assume that this re-direction in PostgreSQL is done when
> starting postgres.exe as to allow the communction between the two
> processes?
>
> I know this is not the correct place to ask my next question but maybe

> there is a Windows expert out there :o) Does anyone have any idea how
> Windows controls access to devices such as nul,comN, lpt1, etc? Or
> what security setting governs this?
>
> Thanks all for your help.

Wow, that's really interesting. Never heard of that one before.

Can you run filemon and/or regmon from sysinternals.com, and see exactly
what object it gets access denied on?

Oh, and did you try this without antivirus/antispyware/personalfirewall
as I beleive someone suggested? Same result, or different but still
broken?

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-03-03 14:40:40 Re: Automatic free space map filling
Previous Message Dave Page 2006-03-03 14:24:13 Re: [NOVICE] pg_config --pgxs