XFileSharing Pro - Problems Transfering Files

Message
Author
speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

Problems Transfering Files

#1 Postby speakerbox » Oct 14, 2010 10:53 pm

Hello,

I currently have three servers. One servers has my main website and some files on it while the other two are only for storing files.

When I try to move files between the servers from the admin panel I am getting errors.

When I try to move files from server1 to server 2 I get the following error "Software error: Error2 at api.cgi line 21. For help, please send mail to the webmaster ([email protected]),"

When I try to move files from server1 to server3 it also doesn't work how-ever i don't get the same error.

When I click to transfer the files it starts by saying
"Sending 00000/8obkky5le8d6..." then after 10 seconds or so it says "File Not Found Back to Main Site
All Done."

Both error messages can be found below. Can someone please tell me what the issue is here?

Image
Image

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#2 Postby speakerbox » Oct 16, 2010 8:48 pm

Any ideas guys?

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Oct 18, 2010 10:20 am

Check that your file servers installed correcty (try to open them and save) - there should be no errors.

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#4 Postby speakerbox » Oct 18, 2010 9:04 pm

Hello,

I've checked and all the file servers are installed correctly. They are all working fine in accepting uploaded files how-ever I just can't transfer files between servers.

Could there be some security settings obstructing the process? What other things can I try. I need to transfer these files soon because I've canceled one of the servers.

Regards,
Speakerbox

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

#5 Postby admin » Oct 19, 2010 5:20 pm

Next time it worth to check apache error log for errors.
Anyway, let us know by email if it will happen again.

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#6 Postby speakerbox » Oct 20, 2010 9:38 pm

Hey Alex,

So I’ve had my management team look at it since I couldn’t figure it out. Every time I try to transfer from one server to the next I get one error or the other.

The error seems to a program specific issue.

This is the line that's generating the error:
die"Error2" unless $ENV{HTTP_USER_AGENT} eq 'XFS-FSServer';

Here’s a script that my administrator wrote to echo the $ENV{HTTP_USER_AGENT}

http://72.9.245.234/cgi-bin/test.cgi

So it's definitely returning it. Here's a request from the server log
72.9.230.82 - - [19/Oct/2010:18:02:42 -0400] "POST /cgi-bin/api.cgi HTTP/1.1" 200 346 "-" "XFS-FSServer"

That shows that the request does contain the HTTP_USER_AGENT

Whats are your thoughts on this? Any suggestions or ideas?

Regards,
Speakerbox

speakerbox
Posts: 73
Joined: Aug 20, 2010 4:39 am

#7 Postby speakerbox » Oct 21, 2010 3:17 am

Everything is working fine now,

After trouble shooting we decided to re-install the file servers and now everything works fine.