Socket.pm busted in get() ?

From: the_swadster (the_swadster_at_yahoo.com)
Date: 10/30/03


Date: 30 Oct 2003 11:38:39 -0800

I am running a (unix) monitoring perl script that runs hourly
collecting some department stats. Several times a day the scripts
croaks with the below error. As the error does not point me directly
to a problem in my code and I have attempted to eliminate more obvious
things, does anyone understand the error(s) information that is
supplied and can put me on the path for resolving my issue.

 get{sock, peer}name() on closed fd at /usr/perl5/5.00503/sun4-
solaris/IO/Socket.pm line 274, <DATA> chunk 2706.
 Use of uninitialized value at
/usr/perl5/5.00503/sun4-solaris/Socket.pm line 295, <DATA> chunk 2706.
 Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be
16 at /usr/perl5/5.00503/sun4-solaris/Socket.pm line 295, <DATA> chunk
2706.

Thanks a bunch,
- Swad



Relevant Pages

  • Socket.pm
    ... I am running a monitoring perl script that runs hourly ... collecting some department stats. ... croaks with the below error. ...
    (comp.lang.perl.modules)
  • socket.pm busted in get( ) ?
    ... I am running a monitoring perl script that runs hourly ... collecting some department stats. ... croaks with the below error. ...
    (comp.lang.perl.modules)
  • Re: Socket.pm busted in get() ?
    ... > I am running a monitoring perl script that runs hourly ... > collecting some department stats. ... > croaks with the below error. ... with downtime on the DNS servers we use. ...
    (comp.lang.perl.misc)