Switching Map breaks WebAdmin
Hi.
When switching map, the WebAdmin interface stops functioning. I believe it's due to a failure binding the port to listen on, as shown by this line in the log: Code:
WebServer DM-1on1-Albatross.WebServer (Function UWeb.WebServer.BeginPlay:0227) BindPort: bind failed Thanks. |
What ports are you using for the game server and webadmin? Try changing the webadmin port to something random (like 1337) and see if it helps.
|
Sounds like a bad mod that holds on to some references it shouldn't, thus preventing the previous level (including the web server) from shutting down at map change.
Does it only happen when switching away from a certain map? Try disabling all your mods and switch them on again one at a time. |
It's happening when moving away from DM-Antalus. I haven't tried moving away from another map yet.
I use a bash script to run my server (server-init). Heres what it contains: Code:
#!/bin/bash Code:
Log: Log file open, Mon Sep 29 16:15:29 2008 |
Have you tried the 32bit version already?
|
The 32-bit version doesn't work for some reason:
Code:
scan@knuckles:~/ut2004serv/System$ ./ucc-bin |
Have you checked the permission for the file?
|
Code:
scan@knuckles:~/ut2004serv/System$ ls -l ucc-bin* Edit: Okay, I decided an edit might be a bit cleaner than a double post, so I'll just update my progress. ucc-bin was failing miserably because 32-bit compatibility wasn't installed. Whoops! Incase anyone has the same problem, this can be fixed with: Code:
sudo apt-get install ia32-libs ucc-bin does not seem to have the same problem as ucc-bin-linux-amd64. I can use this for now, but it's still kind of disappointing that it doesn't work 64-bit.. |
Bumping an old thread :/ .
Anybody found a solution for this? Seems like x64 ucc-bin has this issue. Any fix applied yet? |
And it works in 32bit mode?
|
Yes, it does.
Installed some 32 compat-libs and it works. But in x64, no luck so far. |
If it works in 32bit mode then stick with it. The only real advantage of 64 bit mode is that the server may use more than 2GB (or 4? not sure about Linux, on Windows it's 2) of RAM, but then again all pointers are twice the size, so the server will require more RAM compared to the 32 bit version.
|
Sorry for bumping. I noticed the same problem - WebServer unable to bind its port - but I'm not using 64bit, in fact, it's certain that my mod is causing the issue.
Code:
Log: WebServer AS-Osaka.WebServer (Function UWeb.WebServer.BeginPlay:0227) BindPort: bind failed Quote:
I do hook myself into the GameStats class in order to track game events, creating my custom GameStats class instance when the match starts and passing all function calls to the original GameStats if present. I will try cleaning the references it uses later on today, I just wanted to ask for maybe other ideas here, other admins and mod authors might find this useful. EDIT: My fix didn't work, I still have the BindPort failure, so the question remains: what kind of references could prevent the game from shutting down the webserver? EDIT #2: Solved by resetting a static reference to the Mutator to None upon server travel. |
i have the same problem
what u mean by resetting a static reference to the Mutator to None upon server travel. please explain what i have to do and where to change |
He probably assigned an actor from the current level to a default class property somehow and fixed his problem using the Mutator.ServerTraveling() event.
The engine only cuts the "referencing tree" at the level, so if another reference to an actor from that complex construct is created, the entire level is still referenced and won't be garbage-collected on map change. |
All times are GMT +1. The time now is 07:40 PM. |