[SciPy-user] cow socket.error

Cory Davis cdavis at staffmail.ed.ac.uk
Tue Feb 8 13:04:22 EST 2005


Hi All,
Can any one tell me what is going on here?
It seems that some socket error is stopping my cluster from starting up.

In [6]: slave_list = [ ('slave.number.one',2345),
('slave.number.two',2345)]
 
In [7]: cluster = scipy.cow.machine_cluster(slave_list)
 
In [8]: cluster.start(timeout=200)
cory at slave.number.one's password:
cory at slave.number.two's password:
                      Starting Servers
 |----|----|----15---|----|----30---|----|----45---|----|----60
0............................................................
1...........................................................
2...........................................................
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call
last)
 
/home/cory/<console>
 
/eosmls/local/linux/lib/python/scipy/cow/cow.py in start(self,
force_restart, timeout)
    160                 print minute,
    161             if elapsed > timeout:
--> 162                 raise TimeoutError
    163         print 'servers running!'
    164
 
TimeoutError: None
3....................

And when I look at /tmp/crud2345, which is where the output of the ssh
command is piped to I get ...

[cory at slave.number.one tmp]$ cat crud2345
starting server on slave.numer.one:2345
23631
Traceback (most recent call last):
  File "/eosmls/local/linux/lib/python/scipy/cow/sync_cluster.py", line
898, in
?
    server(host,port)
  File "/eosmls/local/linux/lib/python/scipy/cow/sync_cluster.py", line
853, in
server
    the_server=MyThreadingTCPServer( (host, port),
standard_sync_handler)
  File "/eosmls/local/linux/lib/python2.3/SocketServer.py", line 330, in
__init__
    self.server_bind()
  File "/eosmls/local/linux/lib/python2.3/SocketServer.py", line 341, in
server_bind
    self.socket.bind(self.server_address)
  File "<string>", line 1, in bind
socket.error: (99, 'Cannot assign requested address')

Any ideas?

Cheers,
Cory






More information about the SciPy-User mailing list