AAO25.com

Assist => Support => Server Support => Topic started by: blejdas on Saturday, March 09, 2013, 05:10:59 AM

Title: Ongoing port test error
Post by: blejdas on Saturday, March 09, 2013, 05:10:59 AM
I have a big problem. When a server is up ~24 hour and sometimes make this error:

aa25.log:
Code: [Select]
Ongoing port test error
Ongoing port test trying
Ongoing port test died
====== ASSIST SERVER MANAGER - Shutdown Complete ======

Where is the problem? Kernel or Internet? (At the same time, the server TeamSpeak is UP, and second server running)

Debian 64bit
Linux Kernel version: 2.6.32-11-pve

kernel log is empty(no errors),

even when turned off the firewall, the problem arises


Title: Re: Ongoing port test error
Post by: [SWISS]Merlin on Saturday, March 09, 2013, 07:52:21 AM
you should open all needed ports i guess at your Firewall.

http://aao25.com/bug-reports/problem-with-aa-2-5-assist/msg41910/#msg41910
Title: Re: Ongoing port test error
Post by: blejdas on Saturday, March 09, 2013, 08:18:43 AM
thx, for reply...

even when turned off the firewall, the problem arises

all ports is open in firewall.
Title: Re: Ongoing port test error
Post by: [SWISS]Merlin on Sunday, March 10, 2013, 09:46:51 AM
sorry, then i do not know about. guess it's Linux (not my world).
Title: Re: Ongoing port test error
Post by: blejdas on Wednesday, March 13, 2013, 16:24:11 PM
Badly in need of help. The problem occurs more often. Iptables cleaned by opening all traffic. server provider has opened to me a whole traffic, not having any protection ... the problem occurred

my server is     

::PL:: America's Army 2.5 - aao25.pl
Title: Re: Ongoing port test error
Post by: [SWISS]Merlin on Thursday, March 14, 2013, 05:23:46 AM
you are running two servers?
but you use different ports for the two servers, right?
Title: Re: Ongoing port test error
Post by: blejdas on Thursday, March 14, 2013, 12:58:51 PM
Also, I thought that the problem is that on one system are two servers (despite using 2 different IP addresses). But I turned off the second server and the problem is still there.
Title: Re: Ongoing port test error
Post by: [VerteX]$MoNeY$ on Thursday, March 14, 2013, 18:08:22 PM
Sometimes the port appears to be blocked by accident or because its being used often, I think this causes the problem.
Title: Re: Ongoing port test error
Post by: [SWISS]Merlin on Thursday, March 14, 2013, 18:16:27 PM
and both Servers have the same Problem ?
Title: Re: Ongoing port test error
Post by: blejdas on Tuesday, March 19, 2013, 13:44:18 PM
Hello again;)

Sorry to write back after such a long time, but I had a hard week at work.

My friend wrote a script "watcher". It controls the server log file when it detects an error, the server starts again :)
Title: Re: Ongoing port test error
Post by: [SWISS]Merlin on Tuesday, March 19, 2013, 14:40:58 PM
:) a bit special, but if you are happy, very good.
Title: Re: Ongoing port test error
Post by: BiG_SerGiO on Tuesday, March 19, 2013, 20:54:03 PM
My friend wrote a script "watcher". It controls the server log file when it detects an error, the server starts again :)

Don't you wanna share it?
Title: Re: Ongoing port test error
Post by: blejdas on Wednesday, March 20, 2013, 03:35:44 AM
Don't you wanna share it?

Of course, that the share. At this time, we check it. We'll add a few other bugs that need to be detected. As will be finished, a friend willing to make it available for download.

:) a bit special, but if you are happy, very good.

Yes ;) i'm so happy :)
Title: Re: Ongoing port test error
Post by: Rob_LD on Thursday, March 21, 2013, 13:13:20 PM
For the Windows geeks made on the fly:

Code: [Select]
@echo off &setlocal

set a= 1

:start
FINDSTR /I /C:"Ongoing port test died" e:\25Assist\armyops\system\aa25.log > NUL && goto found

goto start


:found
Echo "Server Error found..." >> e:\Error.log
Echo %date% %time% >> e:\Error.log
Echo "Going to restart Server" >> e:\Error.log

taskkill /f /t /im server.exe > NUL


copy e:\25Assist\armyops\system\aa25.log "e:\aa25backup%a%.log"
del e:\25Assist\armyops\system\aa25.log

set /a a= %a% + 1

ping -n 5 127.0.0.1 > NUL

start e:\25Assist\armyops\System\server.exe GLOBAL map-filename etc.


goto start



Checks aa25.log for "Ongoing port test died".
If its found the script records his findings with timestamp in "Error.log"

It then will shut down the server and make a copy of the current aa25.log which is stored to aa25backupXXX.log.
(Whereupon XXX is the consecutive number.)

At final steps it deletes aa25.log and restarts the server.


Change folders and startup options to your own needs.



My personal opinion:
You should'nt meddle with the problem.
If there is an error you need to get the reason, thats the point.


PS: Opening ALL PORTS server side makes computer security related guys like me think:
OMFG!

You would hesitate to open all doors of your house only to have the postman deliver his letters, wouldn't you?
Title: Re: Ongoing port test error
Post by: blejdas on Thursday, March 21, 2013, 13:45:23 PM
If i open only the ports dedicated server AAO25 (info from aa25.ini), the server will not start.
Despite the opening of ports, the port scanner show me "port closed".
I asked the datacenter administrator, do not block anything.

All ports except TCP 20,21,22,25,53,80,110,143,443,993,995,3306,8080,8081,10000, and UDP 53.3306  are closed.

The problem is always present. So either unix aao server version is imperfect, or I was out of luck and have to reinstall the operating system.
Title: Re: Ongoing port test error
Post by: ELiZ on Thursday, March 21, 2013, 14:05:45 PM
If i open only the ports dedicated server AAO25 (info from aa25.ini), the server will not start.
Despite the opening of ports, the port scanner show me "port closed".
I asked the datacenter administrator, do not block anything.

All ports except TCP 20,21,22,25,53,80,110,143,443,993,995,3306,8080,8081,10000, and UDP 53.3306  are closed.

The problem is always present. So either unix aao server version is imperfect, or I was out of luck and have to reinstall the operating system.

Not a single AA port in that list

http://aao25.com/general-server-discussions/running-an-assist-server-ports-ip's/
Title: Re: Ongoing port test error
Post by: Rob_LD on Thursday, March 21, 2013, 14:33:48 PM
The "24h" thing won't go out of my mind.

Have U tried another port then 1716/1717?

How did u check the ports?
Run "netstat" while servers are running and during port errors.

Show us the results.
Title: Re: Ongoing port test error
Post by: blejdas on Thursday, March 21, 2013, 14:51:32 PM
Not a single AA port in that list

http://aao25.com/general-server-discussions/running-an-assist-server-ports-ip's/

But AA ports are open. This is list of the information the nmap(TCP and UDP port scanner) program

The "24h" thing won't go out of my mind.

Have U tried another port then 1716/1717?

How did u check the ports?
Run "netstat" while servers are running and during port errors.

Show us the results.

ok, I will check this