This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ipc-daemon2.exe fails


Hello I am running the latest Cygwin with cygipc-2.03-2.tar package
and when I run
/usr/bin/ipc-daemon2.exe it immediately exits, no error message is printed,
i have a /tmp directory and when i run ipcs it says: Bad system call

When I do ps it also shows that no ipc-daemon2.exe is working.

I need this to run a server which uses shared memory (I didn't write
the server just using binaries) and my friend has it running fine on
his XP machine! I am running Windows 98 SE.

Is there some special arguments I must give ipc-daemon2 or has this
been deprecated and if so which package should I use? I can't find any
man page for ipc-daemon2 or cygipc

Here is what I did:

Optimus Prime@voltron /usr/bin
$ ipcs
Bad system call

Optimus Prime@voltron /usr/bin
$ pwd
/usr/bin

Optimus Prime@voltron /usr/bin
$ ./ipc-daemon2.exe

Optimus Prime@voltron /usr/bin
$ ps -efl | grep daemon2

Optimus Prime@voltron /usr/bin
$ ps -efl | grep DAEMON2

Optimus Prime@voltron /usr/bin
$

Oddly enough when I run strace on it it actually runs and creates
files in /tmp but then goes into some loop. I have attached foo.txt
logfile

Optimus Prime@voltron /usr/bin
$ strace -o foo.txt ./ipc-daemon2.exe

$ ls -al /tmp
total 4089
drwxr-xr-x   3 Optimus Prime all       0 Dec 29 15:23 .
drwxr-xr-x  13 Optimus Prime all       0 Dec 29 00:53 ..
drwxr-xr-x   2 Optimus Prime all       0 Dec 29 15:51 .X11-unix
-rw-r--r--   1 Optimus Prime all 3916720 Dec 29 22:47 MultiFileMsg2
-rw-r--r--   1 Optimus Prime all   23568 Dec 29 22:47 MultiFileSem2
-rw-r--r--   1 Optimus Prime all  204304 Dec 29 22:47 MultiFileShm2
-rw-r--r--   1 Optimus Prime all    1421 Dec 29 16:02 XWin.log


Regards,
Zach

Attachment: foo.txt
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]