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

Поиск
Список
Период
Сортировка
От dbruzzone@attbi.com
Тема Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Дата
Msg-id 20020711221650.UVOG24728.rwcrmhc51.attbi.com@rwcrwbc55
обсуждение исходный текст
Ответ на initdb failing: Invalid binary "/usr/bin/postgres"?  ("Davide Bruzzone" <dbruzzone@attbi.com>)
Список 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 по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: initdb failing: Invalid binary "/usr/bin/postgres"?
Следующее
От: s0lao@netscape.net (S. L.)
Дата:
Сообщение: Re: initdb failing: Invalid binary "/usr/bin/postgres"?