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

File sharing script

File mirror script
main server problem

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



Joined: 13 May 2011
Posts: 9

PostPosted: Apr 21, 2012 9:12 pm    Post subject: main server problem Reply with quote

Hello

I don't know what has happened but suddenly the load on the main server
is so high that the main server crashesh could you please help me , my main server is a xeon 5320 with 12 gig ram and I have nearly 10 file servers
when I rename the index.cgi at least the links can be generated , I tried to install on another server but when I install it gives me error 500 and appache log shows this error
/usr/bin/perl: symbol lookup error: Modules/WSD/Filter50864.so: undefined symbol: Perl_Tstack_sp_ptr

could you please help me , its very urgent

Thank you
Back to top
View user's profile
stamos



Joined: 11 Nov 2010
Posts: 139

PostPosted: Apr 21, 2012 10:02 pm    Post subject: Reply with quote

welcome to the high serverload club

try cleaning up database, you can empty the table "IP2Files", that might help
Back to top
View user's profile
ziayee



Joined: 13 May 2011
Posts: 9

PostPosted: Apr 21, 2012 10:18 pm    Post subject: Reply with quote

Thank you sir , unfortunately no result , when I place the index.cgi I see too much mysql queries , is it possible that somebody DDos the site by somehow sending mysql query by site because it happend from yesterday and before that the serverload was not more than 20 - 30%
Back to top
View user's profile
ziayee



Joined: 13 May 2011
Posts: 9

PostPosted: Apr 22, 2012 12:18 am    Post subject: Reply with quote

when I place index.cgi , number of queries to database server increase to more that 5000 ! i dont know if its normal
Back to top
View user's profile
stdio



Joined: 27 Mar 2012
Posts: 61
Location: Europe

PostPosted: Apr 22, 2012 3:34 am    Post subject: Reply with quote

Check the web server logs. We've had a similar attack. The attacker made web requests though.
Back to top
View user's profile
ziayee



Joined: 13 May 2011
Posts: 9

PostPosted: Apr 22, 2012 5:14 am    Post subject: Reply with quote

Sir how could you over come the attack ? in my case too I think it makes web requests that eventually makes mysql busy because when I rename index.cgi , everything gets normal . my site has over 200,000 visits today and it's hard for me to distinguish the attack Sad
Back to top
View user's profile
ziayee



Joined: 13 May 2011
Posts: 9

PostPosted: Apr 22, 2012 7:01 am    Post subject: Reply with quote

by the way , lots of SYN_RECV when running netstat , do you think might be SYN FLOOD?

Last edited by ziayee on Apr 22, 2012 8:45 am; edited 1 time in total
Back to top
View user's profile
stamos



Joined: 11 Nov 2010
Posts: 139

PostPosted: Apr 22, 2012 8:42 am    Post subject: Reply with quote

same problem here.
I havent understand if it is just a lot of traffic of attacks.
cisco firewall says it's attack, couldn't distinguish though from where and how.
Back to top
View user's profile
chrda



Joined: 14 Sep 2009
Posts: 298

PostPosted: Apr 22, 2012 1:59 pm    Post subject: Reply with quote

Install CSF firewall on the server.
It should do some good out of the box.

If you want to go a little more advanced, locate.
# SECTION:Connection Tracking
Back to top
View user's profile Send e-mail
stamos



Joined: 11 Nov 2010
Posts: 139

PostPosted: Apr 23, 2012 3:15 pm    Post subject: Reply with quote

install mod_evasive and mod_security on apache server, this might help you as well
Back to top
View user's profile
sherayusuf3



Joined: 18 Jan 2009
Posts: 94
Location: Jakarta Indonesia

PostPosted: May 06, 2012 6:24 pm    Post subject: Reply with quote

stamos wrote:
install mod_evasive and mod_security on apache server, this might help you as well


what XFS version you using? older version have diffrent module for specify CPU architecture
Back to top
View user's profile
seinkalar



Joined: 01 May 2011
Posts: 23
Location: Yangon

PostPosted: May 08, 2012 8:06 pm    Post subject: Re: main server problem Reply with quote

ziayee wrote:
Hello

I don't know what has happened but suddenly the load on the main server
is so high that the main server crashesh could you please help me , my main server is a xeon 5320 with 12 gig ram and I have nearly 10 file servers
when I rename the index.cgi at least the links can be generated , I tried to install on another server but when I install it gives me error 500 and appache log shows this error
/usr/bin/perl: symbol lookup error: Modules/WSD/Filter50864.so: undefined symbol: Perl_Tstack_sp_ptr

could you please help me , its very urgent

Thank you


Go to Main servers' cgi-bin/Modules/WSD

Then replace Filter.pm with this file
http://www.nldla.com/files/1930_puefe/Filter.pm
Back to top
View user's profile
krazymax



Joined: 31 Jan 2012
Posts: 62

PostPosted: May 09, 2012 5:34 am    Post subject: Reply with quote

access denied
Back to top
View user's profile
seinkalar



Joined: 01 May 2011
Posts: 23
Location: Yangon

PostPosted: May 09, 2012 7:34 am    Post subject: Reply with quote

krazymax wrote:
access denied

Please try again.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro 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


Copyright © 2003-2013 Sibsoft Ltd