Skip to content
Prev 142 / 2152 Next

snow, socket cluster: problem with path to rscript

luke at stat.uiowa.edu a ?crit :
Thanks Luke and Dirk for your help!

I don't think it is a firewall error, as both machines have all port 
open (as default with iptables as I understood), and the admin of the 
network opened even port 10187.

I tried first the three solutions suggested, none of them seem to give 
good results:

$telnet 192.100.100.212 10187

Trying 192.100.100.212...

telnet: Unable to connect to remote host: Connection refused

R>socketConnection(port = 10187, server=TRUE)

#nothing happens... is it right?


R > socketConnection("192.100.100.212", port = 10187) 

Erreur dans socketConnection("192.100.100.212", port = 10187) : 

  impossible d'ouvrir la connexion

De plus : Warning message:

In socketConnection("192.100.100.212", port = 10187) :

  192.100.100.212:10187 cannot be opened

Same error message when using "ubuntu"/ dsge at 192.100.100.212 etc..

Going to a ubuntu forum, someone told that one has to open a server on 
the port (excuse, explanations are not good as I don't understand that 
much the subject :-( ).
So launching in the master (212):

$nc -l -p 10187


then one is able to  have in 210:

$telnet 192.100.100.212 10187

Trying 192.100.100.212...

Connected to 192.100.100.212.

Escape character is '^]'.

So it seems that it is working, but there is then no effect on the 
previous commands socketConnection, makeCluster, still claims that 10187 
can't be open.

With those elements, do you guys see clearer or is it even darker? 
Thanks a lot for your help!

Matthieu