| От | Jason Tishler |
|---|---|
| Тема | Re: initdb failing: Invalid binary "/usr/bin/postgres"? |
| Дата | |
| Msg-id | 20020711133412.GA1508@tishler.net обсуждение исходный текст |
| Ответ на | Re: initdb failing: Invalid binary "/usr/bin/postgres"? (dbruzzone@attbi.com) |
| Список | pgsql-cygwin |
Dave,
On Wed, Jul 10, 2002 at 07:57:26PM +0000, dbruzzone@attbi.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
В списке pgsql-cygwin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера