drb + ruby 1.8.0 preview3

  • Thread starter George Moschovitis
  • Start date
G

George Moschovitis

Hi there,

I tried to use the drb lib that comes with 1.8.0 preview3. I got the
following error from the client:

/usr/local/lib/ruby/1.8/drb/drb.rb:252:in `addr': getnameinfo:
ai_family not supported (SocketError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:252:in `open_server'
from /usr/local/lib/ruby/1.8/drb/drb.rb:184:in `open_server'
from /usr/local/lib/ruby/1.8/drb/drb.rb:182:in `each'
from /usr/local/lib/ruby/1.8/drb/drb.rb:182:in `open_server'
from /usr/local/lib/ruby/1.8/drb/drb.rb:542:in `initialize'
from /usr/local/lib/ruby/1.8/drb/drb.rb:784:in `new'
from /usr/local/lib/ruby/1.8/drb/drb.rb:784:in `start_service'

here are some code snippets...

server code:
DRb.start_service("druby://127.0.0.1:9000", {})
DRb.start_service("druby://127.0.0.1:9001", {})

client code:
DRb.start_service <-------- ERROR
$application = DRbObject.new(nil, 'druby://127.0.0.1:9000')
$sessions = DRbObject.new(nil, "druby://127.0.0.1:9001")

thanks in advance for any idea,
-g.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top