Some startup issues

Free version of Xfilesharing

Moderator: admin

Message
Author
helgerossvoll
Posts: 4
Joined: Jun 02, 2008 11:05 am

Some startup issues

#1 Postby helgerossvoll » Jun 02, 2008 11:12 am

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?

helgerossvoll
Posts: 4
Joined: Jun 02, 2008 11:05 am

#2 Postby helgerossvoll » Jun 02, 2008 11:45 am

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

Code: Select all

[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

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#3 Postby PilgrimX182 » Jun 02, 2008 11:57 am

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.

helgerossvoll
Posts: 4
Joined: Jun 02, 2008 11:05 am

#4 Postby helgerossvoll » Jun 02, 2008 12:06 pm

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

Code: Select all

[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..

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#5 Postby PilgrimX182 » Jun 02, 2008 12:14 pm

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.

helgerossvoll
Posts: 4
Joined: Jun 02, 2008 11:05 am

#6 Postby helgerossvoll » Jun 02, 2008 1:25 pm

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: [email protected]
smtp_pass: SecretPass

?

User avatar
PilgrimX182
Posts: 2181
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#7 Postby PilgrimX182 » Jun 03, 2008 10:48 am

Yes. Will put this to my TODO list.


Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests