The Problem:
When running /scripts/cpbackup on the nightly cron the script would terminate on trying to FTP te packaged files to the FTP server, the error produced is:
Net::FTP=GLOB(0×83259bc): Timeout at /scripts/cpbackup line 389 Can’t call method “login” on an undefined value at /scripts/cpbackup line 391, line 31.
The Issue:
Basicaly reinstalling Perl’s Net:FTP module.
The Solution:
Run the following commands, while logged in SSH by root.
perl -MCPAN -e shell
cpan> force install Net::FTP
Do you want to modify/update your configuration (y|n) ? [no]
quit
NOTE: MAKE SURE THE FTP SERVER NAME IS VALID