Index: [Article Count Order] [Thread]

Date:  Thu, 4 Apr 2002 20:20:47 -0500
From:  Brad Cox <bcox@virtualschool.edu>
Subject:  [webricken:85] ai_family not supported (SocketError)
To:  webricken@notwork.org
Message-Id:  <p05101506b8d2abe1362a@[192.168.1.2]>
X-Mail-Count: 00085

I just joined this list. Sorry if this is a faq.

On running the HelloWorld example on linux 7.0 + apache latest, I get 
this error. Same results with eruby.

Any suggestions?

ruby 1.6.7 (2002-03-01) [i686-linux]
[2002-04-04 20:27:45] INFO  Logging start (level=4).
/usr/local/lib/ruby/site_ruby/1.6/webrick/server.rb:54:in 
`getaddrinfo': getnameinfo: ai_family not supported (SocketError)
	from /usr/local/lib/ruby/site_ruby/1.6/webrick/server.rb:54:in `listen'
	from 
/usr/local/lib/ruby/site_ruby/1.6/webrick/server.rb:50:in `initialize'
	from 
/usr/local/lib/ruby/site_ruby/1.6/webrick/httpserver.rb:23:in 
`initialize'
	from ./lib/ile.rb:6:in `new'
	from ./lib/ile.rb:6
                                                            [FAILED]
grep -rli ai_family /usr/local/lib/ruby/
/usr/local/lib/ruby/1.6/i686-linux/socket.so

-- 
Brad Cox, PhD; bcox@virtualschool.edu 703 361 4751
o For industrial age goods there were checks and credit cards.
    For everything else there is http://virtualschool.edu/mybank
o Java Interactive Learning Environment http://virtualschool.edu/jile
o Java Web Application Architecture: http://virtualschool.edu/jwaa