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

From Paul R. Sand
Subject Re: Problem with initdb failing
Date
Msg-id 00c101c3a240$17089170$6402090a@mVerify.local
Whole thread Raw
In response to Re: Problem with initdb failing  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
Jason,

I should have read further before posting my previous question.  I did find
the permissions problem and have been able to start ipc-daemon2 as a
service. I am now working on starting up postmaster... I will ask for help
if I run into more trouble.


Regards,

Paul


-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: Monday, November 03, 2003 1:22 PM
To: Paul R. Sand
Cc: 'Pgsql-Cygwin'
Subject: Re: [CYGWIN] Problem with initdb failing

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: Jason Tishler
Date:
Subject: Re: Problem with initdb failing
Next
From: "Nupur Pande"
Date:
Subject: postgres.h