• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux My server are losing connection with mysql!

Vrotz

Member
Joined
Apr 7, 2011
Messages
1,071
Reaction score
7
Location
Brazil
Hi brahs.

Im using Ubuntu 10.04 64bits.

My server are online normal. In random uptime I lost connection with my mysql.

Players are online and playing normal but if die or logout cannot come back.

My friend said for me to use the command to fix this:
PHP:
 iptables -A INPUT -p tcp --syn -m limit --limit 10/s --limit-burst 15 -j RETURN

But it seems not work. Can anyone help me? The problem isnt my rev! Is the machine are doing it.

Why?!

bump
 
Last edited by a moderator:
Use Debian 7.

Okay.
See that, no have errors to show the problem... No DDoS too.. Whats wrong?

PHP:
Dec 17 06:39:01 localhost-51 CRON[24944]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 07:09:01 localhost-51 CRON[24951]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 07:17:01 localhost-51 CRON[24959]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 07:39:01 localhost-51 CRON[24963]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 08:09:01 localhost-51 CRON[24973]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 08:17:01 localhost-51 CRON[24981]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 08:39:01 localhost-51 CRON[24986]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 09:09:01 localhost-51 CRON[25026]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 09:17:01 localhost-51 CRON[25033]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 09:39:01 localhost-51 CRON[25046]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 10:09:01 localhost-51 CRON[25057]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 10:17:01 localhost-51 CRON[25065]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 10:39:01 localhost-51 CRON[25072]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 11:09:01 localhost-51 CRON[25082]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 11:17:01 localhost-51 CRON[25089]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 11:39:01 localhost-51 CRON[25097]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 12:09:01 localhost-51 CRON[25106]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 12:17:01 localhost-51 CRON[25117]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 12:39:01 localhost-51 CRON[25124]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 13:09:01 localhost-51 CRON[25133]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 13:17:01 localhost-51 CRON[25140]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 13:39:01 localhost-51 CRON[25145]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 14:09:01 localhost-51 CRON[25165]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 14:17:01 localhost-51 CRON[25174]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Dec 17 14:39:01 localhost-51 CRON[25178]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
Dec 17 15:09:01 localhost-51 CRON[25465]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)
 
You need more protection against attacks.
This smells like it's some syn attack on your game port
The iptables do not work against big attacks
 
You need more protection against attacks.
This smells like it's some syn attack on your game port
The iptables do not work against big attacks

So my server is losing the connection because of the attacks? But I didn't receive attacks in the last two days and it happened.

What tfs are you using?

TFS 0.3.7 REV5916
 
Last edited by a moderator:
Back
Top