Re: Problem with initdb failing

From: Jason Tishler <jason(at)tishler(dot)net>
To: "Paul R(dot) Sand" <paul_sand(at)mverify(dot)com>
Cc: 'Pgsql-Cygwin' <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Problem with initdb failing
Date: 2003-11-03 19:21:33
Message-ID: 20031103192132.GA800@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Paul R. Sand 2003-11-03 19:24:24 Re: Problem with initdb failing
Previous Message Paul R. Sand 2003-11-03 18:51:22 Re: Problem with initdb failing