Page 2 of 3
Re: Write errors when backup to FTP target
Posted: 31 Oct 2009, 06:07
by RandomUsername
pa wrote:Can you run:
Code: Select all
host xxxxx.onlinestoragesolution.net
and provide the ouput?
Code: Select all
xxxxxx.onlinestoragesolution.net has address 208.66.233.200
Also, when you run ncftp by hand:
Code: Select all
ncftp -u username xxxxx.onlinestoragesolution.net
how long does it take to connect?
It connects almost instantly (for comparison, it's a lot faster than connecting to the Bubba's own ftp server).
I'm currently putting a 350 MB file onto the server and there are no issues at all. It's transferring at close to my maximum upload speed of 1 Mb/s.
I don't know what else to tell you
I will PM you the password for the ftp server (there's nothing on it anyway and I can change it again later). Feel free to have a play for yourself.
[EDIT]They seem to be having some problems at the moment. I couldn't connect at all earlier this morning and now transfers aren't completing (they just keep transferring continuously). Attempting to make a remote directory gives a disk full error. I haven't encountered these problems previously so I don't think it's connected to the other problems (don't forget I've tried backing up to an alternative ftp server with the same result). However, there's no point in you wasting your time trying it when it's not working so I'll PM you once it all seems stable again.
I appreciate the help.
Re: Write errors when backup to FTP target
Posted: 31 Oct 2009, 20:24
by RandomUsername
OK, they seem to have sorted out their problems. Manual putting and getting is all working fine. Backups from the Bubba are not
PM containing all relevant details has been sent.
Re: Write errors when backup to FTP target
Posted: 01 Nov 2009, 13:49
by pa
Hi again,
I just used the jobfile you send and (unfortunately for debug purposes) that worked just fine. If you check your ftp account you will find two jobs there that I just uploaded.
Which means that there have to be something else that differs. What version of bubba software are you using?
/PA
Re: Write errors when backup to FTP target
Posted: 02 Nov 2009, 18:43
by RandomUsername
Hi pa,
Thanks so much for trying it, I appreciate it. I'm also glad it worked because it means that it's something (hopefully) fixable at my end.
I'm currently using Bubba software 1.2.3.
I can't get these ftp transfers to fail when running ncftp commands manaully but there's something wrong somewhere for sure.
The only thing that might have caused a bit of grief is that I installed a program called ssmtp but I didn't realise at the time this caused the removal of bubba-frontend and bubba-backend. I removed ssmtp and reinstalled the two bubba packages but maybe something else was removed that I missed. Is there any debugging I can enable on the Perl script?
Thanks.
Re: Write errors when backup to FTP target
Posted: 03 Nov 2009, 08:00
by asparak
If you want a second opinion, send me the job and details and I'll try it from my Bubba 2
Re: Write errors when backup to FTP target
Posted: 04 Nov 2009, 05:35
by pa
Hi,
On line 743 in the backup script, try increasing the verbose level, change "-v 5" to a higher value to get more debug data in the log file. If I remember correctly the highest value is "9".
/PA
Re: Write errors when backup to FTP target
Posted: 04 Nov 2009, 06:48
by RandomUsername
Hi pa,
I've turned the logging up to 9 and it's shed some light on the problem.
Here's a link to the log file (it's over 500 lines so I won't paste it all inline

)
http://dl.getdropbox.com/u/258067/Backup.log
I can see why the second attempt is failing - it's because the first attempt to upload the file has left a half completed file on the server and the second attempt is timing out waiting for confirmation to overwrite the file (maybe that kind of scenario is something that should be accounted for in future updates).
I've no idea why the first attempt is failing though. The folder I'm attempting to upload is only 11 MB uncompressed and I've successfully uploaded files bigger than that manually. Of concern to me is all the mojibake in the file names in some of the debug lines. What's causing that? There should be no issues with character encoding so I'm wondering if this might be a lead as the cause of these problems.
Cheers.
Re: Write errors when backup to FTP target
Posted: 04 Nov 2009, 07:44
by pa
Hi,
I will try tonight to do some further debugging, the backup job that I created previously was not that large so it is possibly the reason for me not seeing the errors that you do.
Can I proceed with using the same username/pass as you send me before?
/PA
Re: Write errors when backup to FTP target
Posted: 04 Nov 2009, 08:52
by RandomUsername
pa wrote:Hi,
I will try tonight to do some further debugging, the backup job that I created previously was not that large so it is possibly the reason for me not seeing the errors that you do.
Can I proceed with using the same username/pass as you send me before?
/PA
Please do. I appreciate any and all help.
Thanks.
Re: Write errors when backup to FTP target
Posted: 05 Nov 2009, 05:33
by asparak
Hi Darren,
Tested from my Bubba 2 and not seeing the issue with timeouts or failures from backup.pl or via CLI using NCFTP.
uploaded 100MB of data with no issues. Just been in and cleaned it up.
Let me know if I can help any further
Re: Write errors when backup to FTP target
Posted: 05 Nov 2009, 08:17
by RandomUsername
Thanks asparak.
This has really got me stumped.
I'd consider doing a resintall of the Bubba if I didn't have loads of data on it that hasn't been backed up.
@pa, any joy with debugging my log?
Cheers.
Re: Write errors when backup to FTP target
Posted: 05 Nov 2009, 08:32
by pa
I ran a test earlier today and can verify that I could recreate your problem this time. But sofar I have not had time to investigate it any further.
/PA
Re: Write errors when backup to FTP target
Posted: 05 Nov 2009, 09:09
by RandomUsername
pa wrote:I ran a test earlier today and can verify that I could recreate your problem this time. But sofar I have not had time to investigate it any further.
/PA
That's almost a relief
I was thinking about reinstalling all the packages the script depends on. Apart from Perl and ncftp is there anything else the script uses?
Re: Write errors when backup to FTP target
Posted: 09 Nov 2009, 07:57
by RandomUsername
Any news on this yet?
Re: Write errors when backup to FTP target
Posted: 10 Nov 2009, 07:15
by RandomUsername
So am I being ignored or something? Excito staff are replying to other posts on this forum but not mine. I've done everything I can to diagnose this problem and given that it's only the perl script supplied by Excito that's going wrong I would expect a small amount of support. I'm really close to just boxing the Bubba up and putting it on ebay so I can replace it with a WHS or something.
