initdb failed on Windows 2000

From: Yoshiyuki Asaba <y-asaba(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: initdb failed on Windows 2000
Date: 2007-08-27 11:46:35
Message-ID: 20070827.204635.168593305.y-asaba@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I have compiled PostgreSQL 8.2.4 with MinGW on Windows 2000. Then I
have executed initdb as Administrator. However initdb failed with the
following message.

----
The program "postgres" is needed by initdb but was not found in the
same directory as "C:\msys\1.0\local\pgsql\bin/initdb".
Check your installation.
----

So, I have debugged initdb.exe. I found that CreatePipe() was failed
with ERROR_ACCESS_DENIED in exec.c:pipe_read_line().

Does anyone know why CreatePipe() was failed with ERROR_ACCESS_DENIED?
Or is there a way that Administrator can execute initdb.exe on Windows
2000?

Regards,
--
Yoshiyuki Asaba
y-asaba(at)sraoss(dot)co(dot)jp

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2007-08-27 12:18:15 anoncvs update schedule
Previous Message Magnus Hagander 2007-08-27 10:50:07 Re: Buildfarm failures MSVC