Skip site navigation (1) Skip section navigation (2)

Re: ipc-daemon2 says: Unable to open "Sem" file: No such

From: "Octavio Alvarez" <alvarezp(at)alvarezp(dot)ods(dot)org>
To: alvarezp(at)alvarezp(dot)ods(dot)org
Cc: "Jason Tishler" <jason(at)tishler(dot)net>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: ipc-daemon2 says: Unable to open "Sem" file: No such
Date: 2004-02-03 22:05:50
Message-ID: 3439.63.84.67.25.1075845950.squirrel@alvarezp.ods.org (view raw or flat)
Thread:
Lists: 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(at)octavio-alvarez ~
$ net start ipc-daemom2
Service name is not valid.

To get more help type NET HELPMSG 2185.

oalvarez(at)octavio-alvarez ~
$ ipc-daemon2 --remove-as-service

oalvarez(at)octavio-alvarez ~
$ ipc-daemon2 --install-as-service

oalvarez(at)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(at)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(at)octavio-alvarez ~
$ ls /tmp -ld
drwxrwxrwx+   2 oalvarez Usuarios        0 Feb  3 14:01 /tmp

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

To get more help type NET HELPMSG 3521.

oalvarez(at)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(at)octavio-alvarez ~
$ ipc-daemon2 &
[1] 1560

oalvarez(at)octavio-alvarez ~
$ kill 1560

oalvarez(at)octavio-alvarez ~
$ find / -iname "sem"

oalvarez(at)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(at)alvarezp(dot)ods(dot)org(dot)

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

In response to

Responses

pgsql-cygwin by date

Next:From: Leeuw van der, TimDate: 2004-02-04 11:08:27
Subject: Re: ipc-daemon2 says: Unable to open "Sem" file: No such
Previous:From: Octavio AlvarezDate: 2004-02-03 16:41:25
Subject: Re: ipc-daemon2 says: Unable to open "Sem" file: No such

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group