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

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

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

Yes.

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

It worked... Don't know why the directory permissions
would be wrong on a fresh Cygwin install though...

Cheers...

Dave

Browse pgsql-cygwin by date

  From Date Subject
Next Message S. L. 2002-07-12 05:27:27 Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Previous Message Jason Tishler 2002-07-11 13:34:13 Re: initdb failing: Invalid binary "/usr/bin/postgres"?