Admin Backup/Transfer issue

webquarry

Verified User
Joined
Mar 19, 2004
Messages
168
I use the admin backup/transfer to make quick backups via ftp to another machine on the network. On one machine I get occasional error messages in it's message system:

User admin has been backed up. <5:00:05>
User twm has been backed up. <5:58:02>
Could not read reply from control connection -- timed out.
ncftpput /home/tmp/admin/user.admin.twm.tar.gz: timed out while waiting for server response.
<5:58:27>

The machine that it is sending to is dedicated to nothing but backups and only runs an ftp daemon. It is never under any sort of load. Other machines are able to reliably send their backups to it without any issue. Only this one machine seems to have the issue.

Anyone have any idea what I might check? Is there is a way to increase ncftpput's timeout?
 
Change -t 25 in /usr/local/directadmin/scripts/custom/ftp_upload.php to whatever secs you want. If the file or folder isnt there you need to copy it first.

Code:
cd /usr/local/directadmin/scripts
mkdir custom
cp ftp_upload.php custom
chown -R diradmin:diradmin custom
 
Change -t 25 in /usr/local/directadmin/scripts/custom/ftp_upload.php to whatever secs you want. If the file or folder isnt there you need to copy it first.

Code:
cd /usr/local/directadmin/scripts
mkdir custom
cp ftp_upload.php custom
chown -R diradmin:diradmin custom

Seems to have done the trick. Thanks so much!
 
Back
Top