XFileSharing Pro - Trouble adding a second server

Message
Author
mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

Trouble adding a second server

#1 Postby mubin » May 20, 2012 6:38 pm

Everything works fine under domain.com, however, I have now added a 2nd server so i have domain.com & file.domain.com
Both servers /html/ & /cgi-bin/ directories contain the exact same files
I successfully added the file.domain.com to "add servers" from the admin menu

Now, when i upload a file, the file gets written to the /upload/ directory on file.domain.com but the upload_result page shows nothing but "Upload Finished"....no download links...not even the html table/container....also, nothing gets written to the mysql database.

In summary: upload works, but the file info does not get added to the database, and a download link does not get generated.

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

#2 Postby admin » May 21, 2012 7:25 am

check web server error log on your file server, looks like there's some error.

mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

#3 Postby mubin » May 21, 2012 10:03 am

So it is not a license issue?

This is the error log:

WEB server error log:
2012/05/21 11:27:01 [notice] 25120#0: signal 10 (SIGUSR1) received, reopening logs
2012/05/21 11:27:01 [notice] 25120#0: reopening logs
2012/05/21 11:27:01 [notice] 25122#0: signal 10 (SIGUSR1) received, reopening logs
2012/05/21 11:27:01 [info] 25122#0: epoll_wait() failed (4: Interrupted system call)
2012/05/21 11:27:01 [notice] 25122#0: reopening logs
2012/05/21 11:27:01 [emerg] 25122#0: open() "/usr/local/nginx/logs/traffic.log" failed (13: Permission denied)
2012/05/21 11:27:01 [notice] 25122#0: reopening logs

WEB server logs.txt
2012-05-20 14:37:00 Starting upload. Size: 56327
2012-05-20 14:39:21 Starting upload. Size: 644124
2012-05-20 14:40:23 Starting upload. Size: 644113
2012-05-20 17:56:27 Starting upload. Size: 56310

FILE server error log:
2012/05/21 11:27:01 [notice] 14686#0: signal 10 (SIGUSR1) received, reopening logs
2012/05/21 11:27:01 [notice] 14687#0: signal 10 (SIGUSR1) received, reopening logs
2012/05/21 11:27:01 [notice] 14686#0: reopening logs
2012/05/21 11:27:01 [info] 14687#0: epoll_wait() failed (4: Interrupted system call)
2012/05/21 11:27:01 [notice] 14687#0: reopening logs
2012/05/21 11:27:01 [emerg] 14687#0: open() "/usr/local/nginx/logs/traffic.log" failed (13: Permission denied)
2012/05/21 11:27:01 [notice] 14687#0: reopening logs

FILE server logs.txt:
2012-05-20 20:11:23 Starting upload. Size: 3575848
INFO:114964:jlbduzswfjep:jlbduzswfjep:OK
2012-05-21 11:24:57 Starting upload. Size: 1563
INFO:116410:8k1npxt15u9r:8k1npxt15u9r:OK
2012-05-21 11:26:22 Starting upload. Size: 1740
INFO:116411:gb93fzzpo9eh:gb93fzzpo9eh:OK
2012-05-21 11:30:33 Starting upload. Size: 2982
INFO:116418:lpxigapgk7b8:lpxigapgk7b8:OK

Additional information:
1) when uploading via flash-uploader, download links get generated, however, nothing gets inserted into the database so they return a 404.
2) traffic.log is chown'd to nobody:root and chmod'd to 777.
3) Based my debugging, i've narrowed the problem down to XUpload.pm or fs.cgi because they post expect a $_POST value which i don't think is being sent over to a subdomain; but instead it looks like a 301 redirect.

mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

#4 Postby mubin » May 21, 2012 1:42 pm

When I attempt to browse:
http://alpha.sharpfile.com/?op=admin_settings

it gives the error: "invalid license_key"



Please help

mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

#5 Postby mubin » May 21, 2012 6:12 pm

somebody please help/

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

#6 Postby admin » May 21, 2012 6:33 pm

Not sure why are you trying to run it on alpha.sharpfile.com when your license issued to sharpfile.com. Anyway, your file server problems not related with incorrect license.

mubin
Posts: 76
Joined: Dec 19, 2011 10:53 am

#7 Postby mubin » May 21, 2012 7:17 pm

I am trying to run it on alpha.sharpfile.com because I have added an additional server.

Any idea on what the problem is and what should be done to rectify it if it is not a license issue?

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

#8 Postby admin » May 22, 2012 11:42 am

mubin wrote:I am trying to run it on alpha.sharpfile.com because I have added an additional server.


I guess you're doing that wrong way. Read install.txt about how to add new servers.


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 0 guests