RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

Newsletter script
Some startup issues

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free
View previous topic :: View next topic  
Author Message
helgerossvoll



Joined: 02 Jun 2008
Posts: 4

PostPosted: Jun 02, 2008 11:12 am    Post subject: Some startup issues Reply with quote

Couple of things,
1) How does sendmail need to be configured for this to work? Never used sendmail to send e-mail outside the box as I usually have the option to enter e-mail server IP user/pass (for smtp auth).

2) When I use the demo on sibsoft.net (standard edition) I get a progress bar with speed of transfer etc and download link etc when file is complete. None of these show here.

3) After sending a file I get only Transfer complete, but there is no files showing in admin interface nor on the uploads/temp folder on server


Any tips to get these 3 issues fixed?
Back to top
View user's profile Send private message
helgerossvoll



Joined: 02 Jun 2008
Posts: 4

PostPosted: Jun 02, 2008 11:45 am    Post subject: Reply with quote

Seems I got to the rootcause of problem 2 and 3, mod_security2 logs shows a lot of errors:

Code:
[Mon Jun 02 13:35:15 2008] [error] [client 81.167.*.*] ModSecurity: Request body is larger than the configured limit (1310720). [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=530134804031&js_on=1"] [unique_id "Y6ZhatXhWzsAACnrBOoAAAAC"]
[Mon Jun 02 13:37:38 2008] [error] [client 81.167.*.*] ModSecurity: Error reading request body: Connection reset by peer [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=958828516446&js_on=1"] [unique_id "aAbDZ9XhWzsAACoRAcwAAAAA"]
[Mon Jun 02 13:37:38 2008] [error] [client 81.167.*.*] ModSecurity: Error reading request body: Connection reset by peer [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=958828516446&js_on=1"] [unique_id "aAbDZ9XhWzsAACoRAcwAAAAA"]
[Mon Jun 02 13:37:38 2008] [error] [client 81.167.*.*] ModSecurity: Audit log: Failed to lock global mutex: Identifier removed [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=958828516446&js_on=1"] [unique_id "aAbDZ9XhWzsAACoRAcwAAAAA"]
[Mon Jun 02 13:37:38 2008] [error] [client 81.167.*.*] ModSecurity: Audit log: Failed to unlock global mutex: Identifier removed [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=958828516446&js_on=1"] [unique_id "aAbDZ9XhWzsAACoRAcwAAAAA"]
[Mon Jun 02 13:39:14 2008] [error] [client 81.167.*.*] ModSecurity: Error reading request body: Connection reset by peer [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=852920268451&js_on=1"] [unique_id "bHoNXtXhWzsAACo0BMsAAAAC"]
[Mon Jun 02 13:39:14 2008] [error] [client 81.167.*.*] ModSecurity: Error reading request body: Connection reset by peer [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=852920268451&js_on=1"] [unique_id "bHoNXtXhWzsAACo0BMsAAAAC"]


Sp problemd changed to, how to get Xfiletransfer to work properly with mod_security2 and also part 1) of my previous e-mail is still an open issue
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1901
Location: UFO Lab

PostPosted: Jun 02, 2008 11:57 am    Post subject: Reply with quote

There should be mod_security config file in same folder where apache httpd.conf file is. I don't remember exact option for max upload size there, but I think you will find it easily.

Sendmail is usually configured fine by default. Do you have any problems with sending e-mail. Anyway, if you wish to configure it, contact your server administrator.
Back to top
View user's profile Send private message Visit poster's website
helgerossvoll



Joined: 02 Jun 2008
Posts: 4

PostPosted: Jun 02, 2008 12:06 pm    Post subject: Reply with quote

I changed the max body size which got rid of the first error, then error changed to:

Code:
[Mon Jun 02 13:37:38 2008] [error] [client 81.167.*.*] ModSecurity: Error reading request body: Connection reset by peer [hostname "filetransfer.*.*"] [uri "/cgi-bin/upload.cgi?upload_id=958828516446&js_on=1"]


Maybe someone have gotten around this one?

I am the one that have put up this server, but my skills is far from perfect yet.. Will try to google more for sendmail options..
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1901
Location: UFO Lab

PostPosted: Jun 02, 2008 12:14 pm    Post subject: Reply with quote

We actually have directives in .htaccess inside cgi-bin to disable mod_security for this folder. Make sure .htaccess enabled in cgi-bin folder.

Once again: in 95% cases you don't need to extra configure sendmail manually.
Back to top
View user's profile Send private message Visit poster's website
helgerossvoll



Joined: 02 Jun 2008
Posts: 4

PostPosted: Jun 02, 2008 1:25 pm    Post subject: Reply with quote

Yeah, got that mod_security issue fixed.. Used the .htaccess file from htdocs on both places, had to copy the .htaccess file manually.. Checked the one in the cgi-bin dir and saw the differences, so thats all solved..

Any plans to add the options:

smtp_server: smtp.company.com
smtp_user: someuser@company.com
smtp_pass: SecretPass

?
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1901
Location: UFO Lab

PostPosted: Jun 03, 2008 10:48 am    Post subject: Reply with quote

Yes. Will put this to my TODO list.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group