Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: IO::Socket::INET and LTSP read-only filesystem

by NetWallah (Canon)
on Apr 17, 2007 at 03:17 UTC ( [id://610440]=note: print w/replies, xml ) Need Help??


in reply to IO::Socket::INET and LTSP read-only filesystem

What OS, perl version and IO::Socket versions are you using ?
There is useful disgnostic instruction, as well as proposed solutions at http://bugs.gentoo.org/show_bug.cgi?id=58122.
"On some operating systems the Perl module IO::Socket reports obscure error
on unsuccessful connect() in non-blocking mode as: "Invalid argument" in
place of the true cause: "Connection refused". The remote service should be
checked if available and accessible (firewall rules? network problems?).

Another possible reason for "Invalid argument" reported by IO::Socket when
running within chroot jail is some network-related system file missing in a
chroot jail, e.g. /etc/protocols, /etc/services, /etc/netconfig,
/etc/resolv.conf, /etc/nsswitch.conf, /etc/hosts, /etc/host.conf
-- depending on the operating system in use. System debugging tools
(debugger, strace, truss) may help to find the cause. "

     "Choose a job you like and you will never have to work a day of your life" - Confucius

  • Comment on Re: IO::Socket::INET and LTSP read-only filesystem

Replies are listed 'Best First'.
Re^2: IO::Socket::INET and LTSP read-only filesystem
by kwaping (Priest) on Apr 17, 2007 at 15:05 UTC
    Thanks a lot for that helpful link and the information.

    OS: Linux 2.6.17.8.-ltsp-1
    perl -v: 5.8.0
    IO::Socket version: 1.26

    I'll talk to the sysadmin about getting Perl and IO::Socket updated, if possible.

    ---
    It's all fine and dandy until someone has to look at the code.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://610440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found