Re: ipc-daemon2 says: Unable to open "Sem" file: No such - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: ipc-daemon2 says: Unable to open "Sem" file: No such
Date
Msg-id 20040204214456.GB1372@tishler.net
Whole thread Raw
In response to Re: ipc-daemon2 says: Unable to open "Sem" file: No such  ("Octavio Alvarez" <alvarezp@alvarezp.ods.org>)
List pgsql-cygwin
Octavio,

On Tue, Feb 03, 2004 at 02:05:50PM -0800, Octavio Alvarez wrote:
> I actually have a /tmp.

I figured as much.

> I found something. "ipc-daemon2 &" DOES start, but I have to do it
> manually.

Sounds like a permissions problem.

> I'd also like to know if this error really corresponds to ipc-daemon2,
> as I read it in the Event Viewer, but nothing gets logged into
> /var/log.

The above is the expected behavior.

> Check out this session. (Some messages are translated, so they might
> not be exactly like the ones in English).
>
> Your group is currently "mkpasswd".  This indicates that
> the /etc/passwd (and possibly /etc/group) files should be rebuilt.
> See the man pages for mkpasswd and mkgroup then, for example, run
> mkpasswd -l [-d] > /etc/passwd
> mkgroup  -l [-d] > /etc/group
> Note that the -d switch is necessary for domain users.

The above is likely the problem.  If you passwd and group files are not
correct, then (strange) problems can occur.  Try fixing this
configuration problem and then try again.  Any luck?

> oalvarez@octavio-alvarez ~
> $ ls /tmp -l
> total 4049
> -rw-r--r--    1 oalvarez Usuarios  3916720 Feb  3 12:39 MultiFileMsg2
> -rw-r--r--    1 oalvarez Usuarios    23568 Feb  3 12:39 MultiFileSem2
> -rw-r--r--    1 oalvarez Usuarios   204304 Feb  3 12:39 MultiFileShm2

The above permissions should be:

$ ls -l /tmp/MultiFile*
-rw-rw-rw-    1 system   Administ  3916720 Feb  3 10:15 /tmp/MultiFileMsg2
-rw-rw-rw-    1 system   Administ    23568 Feb  3 10:15 /tmp/MultiFileSem2
-rw-rw-rw-    1 system   Administ   204304 Feb  3 10:15 /tmp/MultiFileShm2

> Any ideas?

See above.

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: "Leeuw van der, Tim"
Date:
Subject: Re: ipc-daemon2 says: Unable to open "Sem" file: No such
Next
From: Jason Tishler
Date:
Subject: Re: Postgresql wants cygcygipc-2.dll despite server - cygwin 1.5.7