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

From Tambet Matiisen
Subject Re: initdb/XP/could not locate executable
Date
Msg-id 81132473206F3A46A72BD6116E1A06AE1B14BF@black.aprote.com
Whole thread Raw
In response to initdb/XP/could not locate executable  (Pete Boysen <pboysen@iastate.edu>)
Responses Re: initdb/XP/could not locate executable  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin

...
> 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.

  Tambet

pgsql-cygwin by date:

Previous
From: "David P. Caldwell"
Date:
Subject: Another XP Pro experience
Next
From: Jason Tishler
Date:
Subject: Re: initdb/XP/could not locate executable