Re: Problem with initdb failing - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: Problem with initdb failing
Date
Msg-id 20031103192132.GA800@tishler.net
Whole thread Raw
In response to Re: Problem with initdb failing  ("Paul R. Sand" <paul_sand@mverify.com>)
Responses Re: Problem with initdb failing
List pgsql-cygwin
Paul,

On Mon, Nov 03, 2003 at 12:51:22PM -0600, Paul R. Sand wrote:
> $ cat /var/log/ipc-daemon2.log
> (ipc-daemon2) Unable to open "Sem" file: Permission denied
> (ipc-daemon2) Unable to start IPC-daemon !

Does the following from the README help?

    2. It is recommended to delete all cygipc temporary files
    (/tmp/cygipc* and /tmp/MultiFile*) before starting postmaster under
    a different user account.  Otherwise, postmaster will fail to start
    due to IPC errors.  Note cygipc 2.x automatically removes these
    files during normal shutdown so this issue has been essentially
    obviated.

If not, what does the following indicate?

    $ ls -ld /tmp /tmp/cygipc* /tmp/MultiFile*
    drwxrwxrwx+ 294 Administ Domain U   438272 Nov  3 14:06 /tmp
    -rw-rw-rw-    1 system   Administ  3916720 Nov  3 07:01 /tmp/MultiFileMsg2
    -rw-rw-rw-    1 system   Administ    23568 Nov  3 07:01 /tmp/MultiFileSem2
    -rw-rw-rw-    1 system   Administ   204304 Nov  3 07:01 /tmp/MultiFileShm2
    -rw-------    1 postgres None      1499136 Nov  3 07:02 /tmp/cygipc2_0

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 by date:

Previous
From: "Paul R. Sand"
Date:
Subject: Re: Problem with initdb failing
Next
From: "Paul R. Sand"
Date:
Subject: Re: Problem with initdb failing