initdb, could not locate postgres executable

From: Grigoriy Puzankin <pgsql(at)b-great(dot)net>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: initdb, could not locate postgres executable
Date: 2003-11-28 08:59:57
Message-ID: 1185788613.20031128115957@b-great.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi,

Under CygWin on Windows XP Pro I've been using PostgreSQL 7.3 for a
year, then I decided to switch to PostgreSQL 7.4-1.

When I run initdb the following error occurs:

creating directory /cygdrive/d/pgsql.data... ok
creating directory /cygdrive/d/pgsql.data/base... ok
creating directory /cygdrive/d/pgsql.data/global... ok
creating directory /cygdrive/d/pgsql.data/pg_xlog... ok
creating directory /cygdrive/d/pgsql.data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
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 believe there might be an environment variable that is not set or
set incorrectly. I've tried to uninstall CygWin, cleared all related
Windows XP users account, cleared all CygWin environment variables.
Then I installed CygWin from scratch - no changes, I'm getting the
same error. I also tried to downgrade PostgreSQL to version 7.3 - the
same problem (at least it's not related to PostgreSQL 7.4).

If anyone has thoughts - please share with me.

--
Thanks in advance
Grigoriy Puzankin

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message News 2003-11-28 09:28:15 initdb failed: invalid value for parameter "lc_messages": "ENU"
Previous Message Leeuw van der, Tim 2003-11-28 08:59:47 Re: FAQ_MSWIN patch: clarify instructions