M
Mike Goldsby
Attached is a simple test program. I'm running the server on Ubuntu
Linux
7.10, the client on Windows XP SP2. On one pair of such systems it
works
perfectly. On the other, it fails with the error given below. Any idea
why it behaves differently on the two pairs of systems and what I can do
to fix it?
Thanks,
--Mike
C:\home\ruby\drbtest>ruby gds_client.rb 134.252.17.114
D, [2008-11-17T20:11:51.514000 #948] DEBUG -- : Connected to GDS server
(druby://134.252.17.114:9999) /usr/lib/ruby/1.8/drb/drb.rb:736:in
`open': druby:
//sandia-925b175b:1035 - #<SocketError: getaddrinfo: Name or service not
known>
(DRb:
RbConnError)
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:729:in `
each'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:729:in `
open'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1189:in
`initialize'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1169:in
`new'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1169:in
`open'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1085:in
`method_missing'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1103:in
`with_friend'
"/tmp/output.txt" [dos] 30L, 1339C from
(druby://134.252.17.114:9999) /usr/lib/ruby/1.8/drb/drb.rb:1084:in
`method_missing'
from (druby://134.252.17.114:9999) ./global_data_set.rb:13:in
`put'
from gds_client.rb:27:in `run'
from gds_client.rb:44
1,0-1 Top
Attachments:
http://www.ruby-forum.com/attachment/2939/code.txt
Linux
7.10, the client on Windows XP SP2. On one pair of such systems it
works
perfectly. On the other, it fails with the error given below. Any idea
why it behaves differently on the two pairs of systems and what I can do
to fix it?
Thanks,
--Mike
C:\home\ruby\drbtest>ruby gds_client.rb 134.252.17.114
D, [2008-11-17T20:11:51.514000 #948] DEBUG -- : Connected to GDS server
(druby://134.252.17.114:9999) /usr/lib/ruby/1.8/drb/drb.rb:736:in
`open': druby:
//sandia-925b175b:1035 - #<SocketError: getaddrinfo: Name or service not
known>
(DRb:
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:729:in `
each'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:729:in `
open'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1189:in
`initialize'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1169:in
`new'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1169:in
`open'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1085:in
`method_missing'
from (druby://134.252.17.114:9999)
/usr/lib/ruby/1.8/drb/drb.rb:1103:in
`with_friend'
"/tmp/output.txt" [dos] 30L, 1339C from
(druby://134.252.17.114:9999) /usr/lib/ruby/1.8/drb/drb.rb:1084:in
`method_missing'
from (druby://134.252.17.114:9999) ./global_data_set.rb:13:in
`put'
from gds_client.rb:27:in `run'
from gds_client.rb:44
1,0-1 Top
Attachments:
http://www.ruby-forum.com/attachment/2939/code.txt