Re: Initdb on Windows 2003

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <James_Hughes(at)McAfee(dot)com>, <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Initdb on Windows 2003
Date: 2006-03-03 14:13:47
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0F81F@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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 Thomas Hallgren 2006-03-03 14:17:54 Re: [NOVICE] pg_config --pgxs
Previous Message Csaba Nagy 2006-03-03 14:09:13 Re: PostgreSQL Anniversary Summit, Call for Contributions