Re: Problem to update FS 1.5 with Autoupdater on linux

Updated script. Should hopefully disconnect from RCON properly and allow external connections. Also fixed an intermittent bug.

LINK

16 (edited by Nuss 2010-09-17 01:54:25)

Re: Problem to update FS 1.5 with Autoupdater on linux

hey sry for late reply was busy this week smile

had the server run with the new script on autoupdate, but it didnt update to 1017 automatically, did a restart today then it updated

external rcon also dont work yet

and seems a problem with the -noauto parameter, bf2142cc still dont work with, you have to change pass or port in default.cfg to something else than the right one, then it works
using latest modmanager (2.0h), not the default one btw

Re: Problem to update FS 1.5 with Autoupdater on linux

sorry for late reply as well smile school kept me busy

Nuss wrote:

had the server run with the new script on autoupdate, but it didnt update to 1017 automatically, did a restart today then it updated

this is weird. i just started up my test server and it correctly shut down and updated.

external rcon also dont work yet

also weird. external rcon connections works fine for me. if you start the script, wait for the server to fully load, and then immediately try to connect to rcon, does it still not work?

and seems a problem with the -noauto parameter, bf2142cc still dont work with, you have to change pass or port in default.cfg to something else than the right one, then it works
using latest modmanager (2.0h), not the default one btw

not sure i fully understand the problem. with the -noauto option, the server should not interfere with rcon in any way, it does not make use of it. only the auto updater does

Re: Problem to update FS 1.5 with Autoupdater on linux

with or without -noauto, I get this error in the modmanager.log:

[2010-09-23 13:55:57] Error: Failed to bind rcon socket, only in-game rcon will be enabled ((98, 'Address already in use'))
[2010-09-23 13:55:57] Error: Traceback (most recent call last):
  File "admin/modules/mm_rcon.py", line 921, in openSocket
    self.__socket.bind( ( self.__config['rconIp'] , self.__config['rconPort'] ) )
  File "<string>", line 1, in bind
error: (98, 'Address already in use')

and bf2142cc cant login

tested it with the default admin script and there it works smile , have access through BF2ra
but cannot use bf2142cc since it needs modmanager

the server runs now withouth mm, cause autoupdate should work now too

Re: Problem to update FS 1.5 with Autoupdater on linux

hmm. i'll install modmanager on my server and have a look

edit: installed 2.0h and things seem to work fine. have you changed modmanager.con in any way? what's your settings for mm_rcon.rconIp and mm_rcon.rconPort?

edit2: if you haven't rebooted the server you're running the 2142 server on, try doing that. the ip/port might have gotten tied up due to one of the previous script versions.