[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] backup trouble



> > Hello
> >
> > Until 2 days ago the scheduled backup from my RAQ3 worked fine.
> > But since 2 days I get a message from cron.daily:
> >
> > Can't locate object method "new" via package "Net::FTP::I" at
> > /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm line 253.
> >
> > I've searched the archives but couldn't fined a solution. The
> > backup .raq files are made in /tmp but the don't end up on my
> > backup server.
> >
> > Any suggestions?
> > ---------------------------------
> >
> > It looks like some perl code got incorrectly altered somewhere.
> >
> > The error message seems to be reference a package "Net::FTP::I"
> > that I don't believe exists. In fact, the only package directly
> > referenced by the Net::FTP module appears to be
> > Net::FTP, there is
> > no Net::FTP::I package any place.
> >
> > The code in my version of
> > /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm at line 253
> > would appear to me to be different from yours. I.E. there is
> > no reference to _any_  method named 'new'. My version of
> > this module is 1.25. What do you get when you do:
> >
> > perl -MIO::Socket -e 'print "$IO::Socket::VERSION\n"'
> >
> > Of perhaps more probative value is, what does the code
> > at line 253 in your
> > /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm
> > look like?
>  Hello,
> 
> I've found a file I.pm in my Lost+Found directory but where do I
> copy the file to?
> 
> Jef


On my RaQ4, I.pm is located at:
/usr/lib/perl5/site_perl/5.005/i386-linux/Net/FTP