Re: initdb/XP/could not locate executable

From: Jason Tishler <jason(at)tishler(dot)net>
To: Tambet Matiisen <t(dot)matiisen(at)aprote(dot)ee>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb/XP/could not locate executable
Date: 2003-01-13 11:52:28
Message-ID: 20030113115228.GA1012@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-01-13 12:00:00 Re: Strange error:IpcSemaphoreCreate: semget(key=1, num=17,
Previous Message Tambet Matiisen 2003-01-13 08:58:16 Re: initdb/XP/could not locate executable