Re: Initdb fails... Again!
От | Jason Tishler |
---|---|
Тема | Re: Initdb fails... Again! |
Дата | |
Msg-id | 20030124124357.GB2092@tishler.net обсуждение исходный текст |
Ответ на | Re: Initdb fails... Again! (Dan Holmsand <dan@eyebee.com>) |
Ответы |
Re: Initdb fails... Again!
|
Список | pgsql-cygwin |
Dan, On Wed, Jan 22, 2003 at 11:05:39PM +0100, Dan Holmsand wrote: > Jason Tishler wrote: > >Hmm...I recommend getting to the bottom of this because it may stop > >working "out of blue" sometime in the future. > > I had a very similar experience: sometimes postgres started, sometimes > not. Your problem may be not quite the same as Markko's, because the permissions of his /tmp/MultiFile* files were "-rw-rw-rw-". > It turned out that the "postgres" user must have write permissions to > /tmp/MultiFileSem, otherwise both postgres and ipctest fails (when run > from the postgres account). Yes, the client user must have write access in order for cygipc to function properly. > ipc-daemon creates this file with -rw-r--r-- permissions on my > machine. What is the permissions of /tmp? $ ls -ld /tmp drwxrwxrwx+ 111 Administ Domain U 221184 Jan 24 06:49 /tmp If they are not 777, then execute: $ chmod 777 /tmp $ rm -f /tmp/MultiFile* and restart ipc-daemon as a service. Are the permissions of /tmp/MultiFile* writable by all now? Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
В списке pgsql-cygwin по дате отправления: