Re: initdb, could not locate postgres executable

From: Daniel Convissor <danielc(at)analysisandsolutions(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb, could not locate postgres executable
Date: 2003-11-28 17:28:40
Message-ID: 20031128172840.GB24513@panix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Fri, Nov 28, 2003 at 11:59:57AM +0300, Grigoriy Puzankin wrote:
... snip ...
> creating configuration files... ok
> creating template1 database in /cygdrive/d/pgsql.data/base/1... ok
> initializing pg_shadow... FATAL: /usr/bin/postgres: could not locate postgres executable

I got this same problem when I ran dbinit in a user account other than the
one that installed Cygwin. I installed as administrator, then ran as
user. Switching over to the admin account got it to run fine.

This is explained in the ms faq page patch I mailed to the list the other
day.

--Dan

--
FREE scripts that make web and database programming easier
http://www.analysisandsolutions.com/software/
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7th Ave #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2003-11-28 20:22:24 Re: FAQ_MSWIN patch: whitespace
Previous Message Dave Page 2003-11-28 13:04:48 Re: pgadmin fails to connect