Re: initdb, could not locate postgres executable

From: Jason Tishler <jason(at)tishler(dot)net>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb, could not locate postgres executable
Date: 2003-12-01 14:35:18
Message-ID: 20031201143518.GA1040@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Fri, Nov 28, 2003 at 12:28:40PM -0500, Daniel Convissor wrote:
> 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
>
> [snip]
>
> This is explained in the ms faq page patch I mailed to the list the
> other day.

It is also explained in the README that is part of the pre-built Cygwin
PostgreSQL package. Specifically, the following:

4. Cygwin PostgreSQL can fail to start or not function properly if
certain files and directories have incorrect permissions. The
following usually solves these kinds of problems:

$ chmod a+rwx /tmp
$ chmod a+rx /usr/bin /usr/bin/*
$ chmod a+rw /var/log # could adversely affect other daemons

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-12-01 14:37:20 Re: initdb failed: invalid value for parameter "lc_messages": "ENU"
Previous Message pgsql 2003-12-01 08:20:34 Re: install problems with ipc-daemon2