Re: initdb failing: Invalid binary "/usr/bin/postgres"?

From: Jason Tishler <jason(at)tishler(dot)net>
To: dbruzzone(at)attbi(dot)com
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Date: 2002-07-11 13:34:13
Message-ID: 20020711133412.GA1508@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Dave,

On Wed, Jul 10, 2002 at 07:57:26PM +0000, dbruzzone(at)attbi(dot)com wrote:
> Here's the output after a fresh install (PostgreSQL 7.2.1-2):
>
> $ ls -l /usr/bin/postgres.exe
> -rwx------ 1 Davide None 2708992 Jun 10 06:13 /usr/bin/postgres.exe

The above is bad.

What is the output of the following command?

$ ls -ld /usr/bin

My WAG is that you will get something like following:

drwx------ 2 Davide None 0 Jul 11 09:16 /usr/bin

Am I correct? If so, then your Cygwin setup is not correct.

Use the following to fix at least this aspect:

$ chown 544 /usr/bin
$ chmod 755 /usr/bin

Try re-installing PostgreSQL (again). Does /usr/bin/postgres.exe
install with the appropriate permissions?

Thanks,
Jason

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message dbruzzone 2002-07-11 22:16:49 Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Previous Message Hahaha 2002-07-11 02:35:50 Branca de Neve porn!