Operating System - HP-UX
1849279 Members
5924 Online
104042 Solutions
New Discussion

HP-UX ftp.rb:292:in `addr': getnameinfo: address family not supported (SocketError)

 
Mauro Gatti
Valued Contributor

HP-UX ftp.rb:292:in `addr': getnameinfo: address family not supported (SocketError)

Hi all,
after I successfully installed ruby 1.8.7 on HP-UX 11.23 IA64 I was
trying to use Net::FTP class when I got this error:

/usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:292:in `addr': getnameinfo:
address family not supported (SocketError)
        from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:292:in `makeport'
        from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:328:in
`transfercmd'
        from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:424:in
`retrlines'
        from /usr/local/lib/hpux64/ruby/1.8/monitor.rb:242:in
`synchronize'
        from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:422:in
`retrlines'
        from /usr/local/lib/hpux64/ruby/1.8/net/ftp.rb:631:in `list'
        from ./mauro.rb:11


It happens when I use ftp.list

Did you already face this problem?

Thank You

Regards

Mauro
Ubi maior, minor cessat!