Hi,

The OpenDX version is 4.2.0. The system is Linux (Slackware 8.1). The binary used is the rpm for redhat-7.1 from the website.

The problem is that: the outborad module doesn't work, even for the simplest "hello" module from "samples". The Error message is: "Bad Parameter: connection to host localhost failed". The error message was generated as soon as the external module sucessfully connected to the server, and waiting for the server reply.

I did track the problem a little bit. The following is the output of "strace" of the server. It seems the server did receive the connection request from the outboard module, and returned a socket with file id of "6". However, this file id was changed to "1073826104" when the server tried to "setsockopt ".

... ...
[pid 9696] accept(3, {sin_family=AF_INET, sin_port=htons(33118), sin_addr=inet_addr("160.91.49.27")}}, [16]) = 6
[pid  9696] unlink("/tmp/.DX-unix/DX1910") = 0
[pid  9696] close(4)                    = 0
[pid  9696] close(3)                    = 0
[pid 9696] setsockopt(1073826104, SOL_SOCKET, SO_SNDBUF, [32768], 4) = -1 EBADF (Bad file descriptor) [pid 9696] setsockopt(1073826104, SOL_SOCKET, SO_RCVBUF, [32768], 4) = -1 EBADF (Bad file descriptor) [pid 9696] getsockopt(1073826104, SOL_SOCKET, SO_SNDBUF, 0x97e6d78, 0xbfffdf3c) = -1 EBADF (Bad file descriptor) [pid 9696] getsockopt(1073826104, SOL_SOCKET, SO_RCVBUF, 0x97e6d7c, 0xbfffdf3c) = -1 EBADF (Bad file descriptor) [pid 9696] rt_sigaction(SIGPIPE, {SIG_DFL}, {0x4050e078, [PIPE], SA_RESTART|0x4000000}, 8) = 0 [pid 9696] write(1073826104, "\356\0\1\1\0\0\0\0\0\2\0\0x\1\0\0\1\0\0\0\1\0\0\0x\1\0"..., 512) = -1 EBADF (Bad file descript$ [pid 9696] rt_sigaction(SIGPIPE, {0x4050e078, [PIPE], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
[pid  9696] close(1073826104)           = -1 EBADF (Bad file descriptor)
... ...

Junren

Reply via email to