New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Write errors when backup to FTP target

Got problems with your B2 or B3? Share and get helped!
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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.
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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.
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Re: Write errors when backup to FTP target

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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.
asparak
Posts: 173
Joined: 08 Jun 2009, 07:38

Re: Write errors when backup to FTP target

Post by asparak »

If you want a second opinion, send me the job and details and I'll try it from my Bubba 2
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Re: Write errors when backup to FTP target

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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.
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Re: Write errors when backup to FTP target

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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.
asparak
Posts: 173
Joined: 08 Jun 2009, 07:38

Re: Write errors when backup to FTP target

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post by RandomUsername »

Thanks asparak.

This has really got me stumped. :cry:

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.
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Re: Write errors when backup to FTP target

Post 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
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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?
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post by RandomUsername »

Any news on this yet?
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Write errors when backup to FTP target

Post 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. :(
Post Reply