Bernard Li wrote: > Hi Andrea: > >> Try a `telnet <client> 8181` on your image server, the output >> should be >> the same shown in the virtual console... if it doesn't work there's a >> network problem or a bug in the client's autoinstallscript. Otherwise >> the problem is in si_monitortk code... > > I can telnet to that host fine from the imageserver. > > It seems that it is failing with the following error message: > > error: cannot set SO_SNDTIMEO option to socket > > Perhaps there is a difference between x86 and x86_64? Potentially it > might be different for ia64 as well? > > Cheers, > > Bernard >
very strange... this is the option to set the timeout of 10sec for the connection to the client. It is done by the setsockopt syscall. The piece of code is the following: eval { # Set a timeout on the socket. setsockopt(SOCK, SOL_SOCKET, SO_SNDTIMEO, pack('LL', 10, 0)) or die "error: cannot set SO_SNDTIMEO option to socket\n"; setsockopt(SOCK, SOL_SOCKET, SO_RCVTIMEO, pack('LL', 10, 0)) or die "error: cannot set SO_RCVTIMEO option to socket\n"; # Connection to the client. connect(SOCK, sockaddr_in(8181, inet_aton($ip))) or die "error: connection failed\n"; }; The first strange thing is that since it is in an "eval" construct the execution should proceed, simply using socket without timeout, but proceed... the second strange thing is why the option is not set. Maybe LL (long long) is assembled in a different way in x86_64, but AFAIK 'L' should be _exactly_ 32-bit in _all_ architectures. To check it can you try to run: perl -e 'print length(pack("LL")), "\n";' The right result should be 8. Cheers, Andrea ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel