Re: Initdb fails... Again!

From: Jason Tishler <jason(at)tishler(dot)net>
To: Dan Holmsand <dan(at)eyebee(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Initdb fails... Again!
Date: 2003-01-24 12:43:58
Message-ID: 20030124124357.GB2092@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-01-24 12:45:05 Re: Postgres 7.3.1 "make install" fails when trying to
Previous Message Jason Tishler 2003-01-24 12:36:04 Re: Postgres 7.3.1 "make install" fails when trying to