Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-cygwin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group