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

From Octavio Alvarez
Subject Re: ipc-daemon2 says: Unable to open "Sem" file: No such
Date
Msg-id 3439.63.84.67.25.1075845950.squirrel@alvarezp.ods.org
Whole thread Raw
In response to Re: ipc-daemon2 says: Unable to open "Sem" file: No such  ("Octavio Alvarez" <alvarezp@alvarezp.ods.org>)
Responses Re: ipc-daemon2 says: Unable to open "Sem" file: No such
List pgsql-cygwin
I actually have a /tmp.

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

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.

I installed PostgreSQL to a non-previously-installed-cygwin system, by
downloding the setup program and choosing only PostgreSQL 7.4 and
leaving everything else as the default.

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.

oalvarez@octavio-alvarez ~
$ net start ipc-daemom2
Service name is not valid.

To get more help type NET HELPMSG 2185.

oalvarez@octavio-alvarez ~
$ ipc-daemon2 --remove-as-service

oalvarez@octavio-alvarez ~
$ ipc-daemon2 --install-as-service

oalvarez@octavio-alvarez ~
$ net start ipc-daemon2
Cygwin IPC Daemon2 is starting.
Cygwin IPC Daemon2 could not start.

The service did not return any error.

To get more help type NET HELPMSG 3534.

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

oalvarez@octavio-alvarez ~
$ ls /tmp -ld
drwxrwxrwx+   2 oalvarez Usuarios        0 Feb  3 14:01 /tmp

oalvarez@octavio-alvarez ~
$ net stop ipc-daemon2
Cygwin IPC Daemon2 is not started.

To get more help type NET HELPMSG 3521.

oalvarez@octavio-alvarez ~
$ uname -a
CYGWIN_NT-5.0 octavio-alvarez 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown
unknown Cygwin

oalvarez@octavio-alvarez ~
$ ipc-daemon2 &
[1] 1560

oalvarez@octavio-alvarez ~
$ kill 1560

oalvarez@octavio-alvarez ~
$ find / -iname "sem"

oalvarez@octavio-alvarez ~
$

Any ideas?

Jason Tishler said:
> Octavio,
>
>> On Mon, Feb 02, 2004 at 03:35:58PM -0800, Octavio Alvarez wrote:
>> I can't get ipc-daemon2 running. As soon as I try "net start
>> ipc-daemon2" I get the following error message:
>>
>> Unable to open "Sem" file: No such file or directory.
>
> I could only reproduce the above if I deleted (i.e., renamed) my /tmp
> directory.  Do you have a /tmp?  If not, then create one.  If so, then I
> don't know what is causing your problem.

--
Octavio Alvarez.
E-mail: alvarezp@alvarezp.ods.org.

Agradezco que sus correos sean enviados siempre a esta dirección.

pgsql-cygwin by date:

Previous
From: Ralph
Date:
Subject: Postgresql wants cygcygipc-2.dll despite server - cygwin 1.5.7
Next
From: "Leeuw van der, Tim"
Date:
Subject: Re: ipc-daemon2 says: Unable to open "Sem" file: No such