Re: initdb/XP/could not locate executable - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: initdb/XP/could not locate executable
Date
Msg-id 20030113115228.GA1012@tishler.net
Whole thread Raw
In response to Re: initdb/XP/could not locate executable  ("Tambet Matiisen" <t.matiisen@aprote.ee>)
List pgsql-cygwin
Tambet,

On Mon, Jan 13, 2003 at 10:58:16AM +0200, Tambet Matiisen wrote:
> ...
> > initializing pg_shadow... LOG:  FindExec: invalid binary "/usr/bin/postgres"
> > FATAL:  /usr/bin/postgres: could not locate executable, bailing out...
> >
>
> Following seemed to fix the problem in our case:
>
> chmod 755 /usr/bin
> chmod 755 /usr/bin/postgres
>
> I'm not sure the first one is really needed.

Only the second one is need to solve the problem this time.  But, the
first will prevent it from happening again when setup.exe installs a
newer version of PostgreSQL.

I believe that following may solve this problem once and for all:

    http://cygwin.com/ml/cygwin-apps/2003-01/msg00105.html
    http://cygwin.com/ml/cygwin-apps/2003-01/msg00106.html

Thanks for your help.

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

pgsql-cygwin by date:

Previous
From: "Tambet Matiisen"
Date:
Subject: Re: initdb/XP/could not locate executable
Next
From: Jason Tishler
Date:
Subject: Re: Strange error:IpcSemaphoreCreate: semget(key=1, num=17,