Re: Error installing postgresql-8.2.4 on windows 2003 server - Mailing list pgsql-general

From Andrei Kovalevski
Subject Re: Error installing postgresql-8.2.4 on windows 2003 server
Date
Msg-id 46B1DEBF.3090901@commandprompt.com
Whole thread Raw
In response to Error installing postgresql-8.2.4 on windows 2003 server  ("Hkrenske" <hkrenske@tellsystems.com.au>)
List pgsql-general
Hkrenske wrote:
>
> I have been successful in installing to Windows 2000 but when
> installing the binary installation “postgresql-8.2.msi” as a service,
> I receive the error
>
> The program "postgres" is needed by initdb but was not found in the
>
> same directory as "C:/Program Files/PostgreSQL/8.2/bin/initdb".
>
> Check your installation.
>
> I have checked and found both the postgres.exe and initdb.exe files in
> the directory "C:/Program Files/PostgreSQL/8.2/bin/initdb".
>
> Does anyone have any ideas what the problem could be?
>
> Hugh
>
Try to run initdb under non-privileged user. You can use

runas /user:username "initdb -D ..."


Andrei.

pgsql-general by date:

Previous
From: "Hkrenske"
Date:
Subject: Error installing postgresql-8.2.4 on windows 2003 server
Next
From: Andrei Kovalevski
Date:
Subject: pgTray - win32 tray tool for monitoring PostgreSQL service