Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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

by NetWallah (Canon)
on Apr 17, 2007 at 03:17 UTC ( #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
"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
    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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2023-06-01 11:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found