Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: Ongoing port test error  (Read 4221 times)

0 Members and 1 Guest are viewing this topic.

Offline blejdas

Ongoing port test error
« 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


« Last Edit: Saturday, March 09, 2013, 05:14:23 AM by blejdas »

Offline [SWISS]Merlin

Re: Ongoing port test error
« Reply #1 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

Offline blejdas

Re: Ongoing port test error
« Reply #2 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.

Offline [SWISS]Merlin

Re: Ongoing port test error
« Reply #3 on: Sunday, March 10, 2013, 09:46:51 AM »
sorry, then i do not know about. guess it's Linux (not my world).

Offline blejdas

Re: Ongoing port test error
« Reply #4 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

Offline [SWISS]Merlin

Re: Ongoing port test error
« Reply #5 on: Thursday, March 14, 2013, 05:23:46 AM »
you are running two servers?
but you use different ports for the two servers, right?

Offline blejdas

Re: Ongoing port test error
« Reply #6 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.

Offline [VerteX]$MoNeY$

Re: Ongoing port test error
« Reply #7 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.

Offline [SWISS]Merlin

Re: Ongoing port test error
« Reply #8 on: Thursday, March 14, 2013, 18:16:27 PM »
and both Servers have the same Problem ?

Offline blejdas

Re: Ongoing port test error
« Reply #9 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 :)

Offline [SWISS]Merlin

Re: Ongoing port test error
« Reply #10 on: Tuesday, March 19, 2013, 14:40:58 PM »
:) a bit special, but if you are happy, very good.

Offline BiG_SerGiO

  • Administrator
  • Epic Poster
  • *
  • Posts: 2,232
  • "I got soul but i'm not a soldier..."
    • View Profile
    • Portuguese Warriors
  • AA: [PTwars]b!6
Re: Ongoing port test error
« Reply #11 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?
"Three things can not hide for long: the Moon, the Sun and the Truth"?
Hmm?

https://vortexservers.com/clients/aff.php?aff=406

Offline blejdas

Re: Ongoing port test error
« Reply #12 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 :)

Offline Rob_LD

Re: Ongoing port test error
« Reply #13 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?
« Last Edit: Thursday, March 21, 2013, 13:15:47 PM by Rob_LD »

Offline blejdas

Re: Ongoing port test error
« Reply #14 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.

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager