Re: initdb, could not locate postgres executable - Mailing list pgsql-cygwin

From Daniel Convissor
Subject Re: initdb, could not locate postgres executable
Date
Msg-id 20031128172840.GB24513@panix.com
Whole thread Raw
In response to initdb, could not locate postgres executable  (Grigoriy Puzankin <pgsql@b-great.net>)
Responses Re: initdb, could not locate postgres executable
List 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

pgsql-cygwin by date:

Previous
From: "sympatico"
Date:
Subject: unsubscribe
Next
From: Patricia Frontiera
Date:
Subject: install problems with ipc-daemon2