Re: Error installing postgresql-8.2.4 on windows 2003 server

Lists: pgsql-general
From: "Hkrenske" <hkrenske(at)tellsystems(dot)com(dot)au>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Error installing postgresql-8.2.4 on windows 2003 server
Date: 2007-08-02 13:17:44
Message-ID: 001e01c7d507$86558f30$4600a8c0@perch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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


From: Andrei Kovalevski <andyk(at)commandprompt(dot)com>
To: Hkrenske <hkrenske(at)tellsystems(dot)com(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresql-8.2.4 on windows 2003 server
Date: 2007-08-02 13:40:15
Message-ID: 46B1DEBF.3090901@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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.