yazzer
05-29-2001, 11:06 AM
About a week ago both of my Raq3s (one at 4webspace and one at CommuniTech.net) started emailing me this error message:
Timeout at /usr/lib/perl5/site_perl/5.005/i386-linux/Net/FTP.pm line 551
Here is the code from my FTP.pm
==============
$sock = $ftp->_data_cmd($cmd, $remote) or
return undef;
while(1)
{
last unless $len = sysread($loc,$buf="",1024);
my $wlen;
unless(defined($wlen = $sock->write($buf,$len)) && $wlen == $len)
{
$sock->abort;
close($loc)
unless defined $localfd;
return undef;
}
}
===============
The bold line starting with "unless" is line 551.
Does anyone have any idea what the error is about? I hadn't installed any patches or touched my machine in a month, it just started giving me the errors on both Raq3s. Weird!
I'm still getting my nightly backups FTPed to my home computer. Webalizer is still reporting.
Timeout at /usr/lib/perl5/site_perl/5.005/i386-linux/Net/FTP.pm line 551
Here is the code from my FTP.pm
==============
$sock = $ftp->_data_cmd($cmd, $remote) or
return undef;
while(1)
{
last unless $len = sysread($loc,$buf="",1024);
my $wlen;
unless(defined($wlen = $sock->write($buf,$len)) && $wlen == $len)
{
$sock->abort;
close($loc)
unless defined $localfd;
return undef;
}
}
===============
The bold line starting with "unless" is line 551.
Does anyone have any idea what the error is about? I hadn't installed any patches or touched my machine in a month, it just started giving me the errors on both Raq3s. Weird!
I'm still getting my nightly backups FTPed to my home computer. Webalizer is still reporting.
