From: Eric Hodel Date: 2003-12-03T13:48:05-08:00 Subject: Re: Linux protocol.rb and smtp.rb problem --2OzUYMsT4j3Kc+NU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable George Girton (ggirton@mac.com) wrote: > On Wednesday, December 03, 2003, at 01:11PM, Zach Dennis wrote: >=20 > >I am moving my ruby program file from my winbox to my linux( redhat 9 ) = box. > >I've got ruby 1.8.1 installed on my linux box. However when I run my scr= ipt > >the following lines error out: > > > >smtp =3D Net::SMTP::new( server ) > >smtp.start( domain , username , password , "cram_md5" ) > > > >It complains about: > > > >/usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'initialize': getaddrinfo: > >Name or service not known( SocketError ) > > from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'new' > > from /usr/local/lib/ruby/1.8/net/protocol.rb:83:in 'connect' > > from /usr/local/lib/ruby/1.8/net/protocol.rb:82:in 'timeout' > > etc...etc...etc... > > > >It works beautifully on my Windows box. Any ideas? >=20 > I'm looking forward to the answer to this question, I had the > same getaddrinfo error on Mac OS 10.3 last month. Except it > was with the Net ftp object rather than SMPT as in your case. > Works fine on Windows, and no idea how to debug it. (Debug mode > shows connection being made ok) IPv6? --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --2OzUYMsT4j3Kc+NU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/zloVMypVHHlsnwQRAsWgAKDrAkzDaWP9u8j9epRmFCAnWUqmVwCaAwbg nUEYGWMyzMgQQuNssBzCAEI= =Qh19 -----END PGP SIGNATURE----- --2OzUYMsT4j3Kc+NU--