Socket.pm busted in get() ?

T

the_swadster

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
 
B

Brian Wakem

the_swadster said:
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.


I've had a few "Bad arg length for Socket::unpack_sockaddr_in, length is 0"
errors before. I tracked them all down to DNS issues. Each error coincided
with downtime on the DNS servers we use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,077
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top