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.
XFileSharing Pro - Trouble adding a second server
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.
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.
When I attempt to browse:
http://alpha.sharpfile.com/?op=admin_settings
it gives the error: "invalid license_key"
Please help
http://alpha.sharpfile.com/?op=admin_settings
it gives the error: "invalid license_key"
Please help