Thread: ipc-daemon2 says "

ipc-daemon2 says "

From
"Octavio Alvarez"
Date:
Hi. I know this might not be the best place for my question, but I trust
postgresql lists more, and this is directly related to Postgres. :-)

I'm trying to install PostgreSQL 7.4 according to this page,
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/doc/FAQ_MSWIN?rev=1.16
and this other one,
http://www.tishler.net/jason/software/postgresql/postgresql-7.3.4.README

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 searched the archives, and most people get a "permission denied", but
here it doesn't even find the file! I don't know what this file is
supposed to be, nor where can I find it.

I'd appreciate any help.

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

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

Re: ipc-daemon2 says "

From
Jason Tishler
Date:
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.

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

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

From
"Octavio Alvarez"
Date:
Thanks, Jason. I will check that.

(I also wanted to correct the subject to the message. ;) Looks like I
missed it in the original. )

Octavio.

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.

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

From
"Octavio Alvarez"
Date:
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.

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

From
Jason Tishler
Date:
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