View Full Version : WebAdmin problems
legacy-Siq_Puppy
03-16-2004, 01:45 AM
I have the ded linux server up and running. All seems fine but since I do not have the game yet I can not check. One problem I am encoutering is that there are no game types and no mutators.
Is anyone else seeing this?
Is there a fix or do I have something set wrong?
All help appreciated.
Thanks,
Siq
legacy-Orbital
03-16-2004, 06:03 AM
having same problem :( I was wondering if this is an issue with a particular version - seeing as some people are getting this some arent...
Is it only the linux version?
Is it only the version d/l from faster files?
dunno really, just clutching at straws :(
Frogger
03-16-2004, 09:25 AM
Originally posted by Orbital
Is it only the linux version?
yes..from what i've seen
http://www.ina-community.com/forums/showthread.php?s=&threadid=356736
legacy-Bry
03-16-2004, 09:38 AM
Originally posted by frogger187
yes..from what i've seen
http://www.ina-community.com/forums/showthread.php?s=&threadid=356736
yes id agree with that statement. Unfortunately i do not have access to a linux system myself to test but so far ive only seen it reported on linux servers
legacy-Indigo7
03-16-2004, 09:40 AM
I'm running it on FreeBSD, same problem. I am also not able to set or save a map rotation at all, it just ignores my changes, doesn't save it, and the drop down list is null.
legacy-Orbital
03-16-2004, 10:12 AM
so it is beginning to look like a linux problem rather than something dodgy going on with our ini files (which in my case is pretty much just the default settings - changed port, enabled webadmin obviously(!) and advanced admin switched on)
something to do with permissions? I had to grant execute permission to the ucc-bin file.
Im a complete linux novice im afraid so cant really offer much help!
legacy-Big_Iron
03-16-2004, 10:49 AM
Hmm ... I have somewhat the same problems with the Windows install of the dedicated server ... the drop down on the WebAdmin for the ONS maps only shows 2 maps.
legacy-Bry
03-16-2004, 10:57 AM
Originally posted by Big_Iron
Hmm ... I have somewhat the same problems with the Windows install of the dedicated server ... the drop down on the WebAdmin for the ONS maps only shows 2 maps.
you need to go into the default section and add them udner the map list.
This isnt the same problem as is being reported here
legacy-»Dan«[ger]
03-16-2004, 10:59 AM
From the german website inunreal.de
by *Nitro*Nébû
Problem :
Web-Admin cannot see any gametypes or mutators.
Solution :
The problem is the file CacheRecords.ucl which isn´t created properly if you reset or stop the server.
To solve this, extract the CacheRecords.ucl from the UT2004-3186-DedicatedServer.zip file and save it to another place/directory in the system directory. The file has to be copied (into the system directory?) after every start/reset/stop.
Here´s a Linux-Shellscript ( I don´t have Linux so I don´t know if it makes any sense.)
The original CacheRecords.ucl from the UT2004-3186-DedicatedServer.zip file is in the /home/ut2004server/ directory.
Edit- Script removed.
Scroll down for the corrected script
legacy-]V[CapTallaT
03-16-2004, 11:12 AM
Thank you Nickless it works!
I have a FreeBSD server that was giving me the WebAdmin problem, now it is fixed.
Awesome!
legacy-Orbital
03-16-2004, 11:16 AM
doesnt help me im afraid, still the same 'bug'
edit: ah, i think i miss understood - trying again now...
eek, how do i extract that one file...
edit2: yes, worked n1 mate :)
legacy-|u|Spectre
03-16-2004, 12:00 PM
sweet it works now but I can't get that script working (yes I am a linux n00b)
all I did was change the folders that you had in that to match mine and make it executable (named it pub.sh) is there something I am missing? I get this error
[spec@host ut2004]$ ./pub.sh
: No such file or directory
But I made sure the directories are all correct.
#!/bin/sh
runserver()
{
cd /home/spec/ut2004/pub/System/
while true
do
cp /home/spec/ut2004/CacheRecords.ucl .
screen ./ucc-bin server ONS-Torlan?game=Onslaught.ONSOnslaughtGame?AdminName=* *****?AdminPassword=******** ini=UT2004.ini -nohomedir done } runserver 2>&1 >/dev/null &
legacy-HFD|Splasher
03-16-2004, 12:23 PM
Same problem here with the web administration. When the server startet,
1) he cant connect to the master server
2) when i join the webadminstration, the server shouting down with this error:
Critical: Assertion failed: InPos<=Size [File:../../Core/Inc/FFileManagerLinux.h] [Line: 82]
Exit: Executing UObject::StaticShutdownAfterError
Exit: Exiting.
Log: FileManager: Reading 0 GByte 56 MByte 813 KByte 592 Bytes from HD took 0.743271 seconds (0.222396 reading, 0.520875 seeking).
Log: FileManager: 0.000000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
3) cant open the key file
:eek:
legacy-*Nitro*Nébû
03-16-2004, 12:28 PM
The Newsposter at inunreal.de posted my shellskript in a wrong format.
Here's the right one:
#!/bin/sh
runserver()
{
cd /home/ut2004server/System/
while true
do
cp ../CacheRecords.ucl .
./ucc-bin server ONS-Torlan ini=UT2004.ini --nohomedir
done
}
runserver 2>&1 >/dev/null &
And yes, it's a Linux-specific problem.
The CacheRecords.ucl gets corrupted.
Make sure you extract
CacheRecords.ucl
to
/home/ut2004server/
from
UT2004-3186-DedicatedServer.zip
by
unzip UT2004-3186-DedicatedServer.zip System/CacheRecords.ucl
And move it to the correct directory.
Hope this helps.
Nébû @ nitroclan.de
legacy-Quad
03-16-2004, 12:40 PM
It means:
Make a backup from the original file from the server archive before running your server. Then copy and overwrite the file every time you restart/stop/start your server.
legacy-*Nitro*Nébû
03-16-2004, 12:54 PM
Originally posted by Quad
It means:
Make a backup from the original file from the server archive before running your server. Then copy and overwrite the file every time you restart/stop/start your server.
:up: :D
legacy-Falcon_UMD
03-16-2004, 12:58 PM
The fix works for Mac OS-X.
Step 1. Unzip the uncorrupted file into your system folder under the name CacheRecords.bak
unzip -p ut2004-3186-dedicatedserver.zip System/CacheRecords.ucl > /blah/dedicatedserver/System/CacheRecords.bak
Step 2. modify the script below to match your install locations and it should run out of the box.
~JM
#!/bin/bash
# This script will run the UT Server up to LIMIT times. It accounts for the corruption of CacheRecords.ucl by overwriting it
#and will send the admin e-mails if the server crashes
#send any bugs to jeanmarc@starfleet.umd.edu
pidfile="current.run"
var0=0
LIMIT=10
while [ "$var0" -lt "$LIMIT" ]
do
cd "/blah/dedicatedserver/System"
#fix the corruption of this file by overwriting it with the backup
cp CacheRecords.bak CacheRecords.ucl
./ucc-bin-macosx server "ONS-Torlan?game=Onslaught.ONSOnslaughtGame ini=/blah/dedicatedserver/server.ini -nohomedir"
echo ---------------CRASH/EXIT---------------------------
# write the number of times the server has been run to the crashfile
echo "UT 2004 Crashed # $var0" > $pidfile
var0=`expr $var0 + 1`
# uncomment next line if you want the server to send you and e-mail when it crashes/restarts
#mail utadmin@your_isp.com <$pidfile
done
echo "SERVER IS DOWN" >$pidfile
#uncomment next line if you want an e-mail to let you know the server is down
#mail utadmin@your_isp.com <$pidfile
echo LAST CRASH SERVER IS DOWN
exit 0
legacy-|u|Spectre
03-16-2004, 01:01 PM
could someone go into a lil more depth in regards to the linux script...I made pub.sh and put the script in there (changing the paths to the folders and files) made the script executable but it will not start the server when I type ./pub.sh it just says
[spec@host ut2004]$ ./pub.sh
: No such file or directory
legacy-*Nitro*Nébû
03-16-2004, 01:04 PM
Originally posted by |u|Spectre
could someone go into a lil more depth in regards to the linux script...I made pub.sh and put the script in there (changing the paths to the folders and files) made the script executable but it will not start the server when I type ./pub.sh it just says
[spec@host ut2004]$ ./pub.sh
: No such file or directory
Make sure line-breaks are correct:
#!/bin/sh
runserver()
{
cd /home/ut2004server/System/
while true
do
cp ../CacheRecords.ucl .
./ucc-bin server ONS-Torlan ini=UT2004.ini --nohomedir
done
}
runserver 2>&1 >/dev/null &
And then make sure your ucc-bin is executable:
chmod 755 ucc-bin
legacy-|u|Spectre
03-16-2004, 01:09 PM
they are and it is
legacy-blata
03-16-2004, 04:59 PM
ls -l pub.sh
make sure x flags are set if there not
chmod 755 pub.sh
then ./pub.sh will be exacutable.
or type bash pub.sh
legacy-talyn
03-16-2004, 07:42 PM
It works! Many thanks!
legacy-*Nitro*Nébû
03-17-2004, 01:02 AM
Originally posted by blata
ls -l pub.sh
make sure x flags are set if there not
chmod 755 pub.sh
then ./pub.sh will be exacutable.
or type bash pub.sh
:eek: :bulb: :confused: :weird:
:D
legacy-maltloaf
03-17-2004, 08:07 AM
thanks nitro, i thought i was going mad when i couldnt fix this.
legacy-Siq_Puppy
03-17-2004, 10:56 AM
Thanks for letting us know where the problem is coming from. Your fix looks to be working for most everyone and if I copy in a new version before I restart it works for me as well. The only problem is that the setup I have does not really allow a script to be run so I would have to do it manually each time.
Does Epic/ATARI/Digital Extremes/whoever plan on fixing this so that we don't have to use this workaround? Since it is such an in your face bug I would have thought that something like this would have been caught by beta testers or others long ago.
Siq
legacy-bre_rawr
03-18-2004, 08:14 PM
bump for those that havent seen this yet.
Thanks guys, this really helped.
legacy-*Nitro*Nébû
03-19-2004, 02:08 AM
Originally posted by Siq_Puppy
Thanks for letting us know where the problem is coming from. Your fix looks to be working for most everyone and if I copy in a new version before I restart it works for me as well. The only problem is that the setup I have does not really allow a script to be run so I would have to do it manually each time.
Does Epic/ATARI/Digital Extremes/whoever plan on fixing this so that we don't have to use this workaround? Since it is such an in your face bug I would have thought that something like this would have been caught by beta testers or others long ago.
Siq
Another solution is to extract a virgin CacheRecords.ucl and make it read-only via
chmod 444 CacheRecords.ucl
This way, you don't even need a special script to copy with this problem ;)
legacy-chrome
03-19-2004, 01:53 PM
Originally posted by *Nitro*Nébû
Another solution is to extract a virgin CacheRecords.ucl and make it read-only via
chmod 444 CacheRecords.ucl
This way, you don't even need a special script to copy with this problem ;)
Yeah, I was going to suggest that :P
I'm getting this too, no wonder I was having trouble.
*bump*
legacy-chrome
03-19-2004, 09:58 PM
bump!
Someone needs to write a FAQ thread with this solution in it and get it made sticky.
legacy-blata
03-19-2004, 10:07 PM
I have a tutorial under reveiew at www.unrealadmin.org as we speek. Hopefully I did a good enugh job that it will be published.
legacy-chrome
03-19-2004, 10:13 PM
chrome@kirin:~/UT2004$ diff CacheRecords.ucl System/CacheRecords.ucl
chrome@kirin:~/UT2004$ md5sum CacheRecords.ucl
70cb2557cf98387a68ace4a4c8592614 CacheRecords.ucl
chrome@kirin:~/UT2004$ md5sum System/CacheRecords.ucl
70cb2557cf98387a68ace4a4c8592614 System/CacheRecords.ucl
chrome@kirin:~/UT2004$ ls -la System/CacheRecords.ucl
-r--r--r-- 1 chrome staff 165084 Mar 10 12:03 System/CacheRecords.ucl
No changes to the file since I set it to mode 444, so at least the ut ded server isn't ignoring the mode set.
Changing the mode on the file is definitely the best solution.
BTW, those who are trying to extract just a single file from a zip under linux, use:
chrome@kirin:~/UT2004$ unzip ../UT2004-3186-DedicatedServer.zip System/CacheRecords.ucl
Archive: UT2004-3186-DedicatedServer.zip
inflating: System/CacheRecords.ucl
Saves you having to unzip the whole archive again.
legacy-Siq_Puppy
03-21-2004, 01:22 AM
This needs a bump simply because I am interested if Epic palns on fixing this sooner rather than later.
Come on Epic what's the deal?
Siq
legacy-Siq_Puppy
03-23-2004, 07:15 PM
Can someone at Epic please address this? The workaround does not work for everyone's setup and it is really causing me a ton of problems. There must be a fix you can release quickly to take care of this problem. Manually copying in CacheRecords.ucl files every time a server goes down is a pain in the neck. And no I can not use the script that copies it in for me ... it does not work for my instances.
Siq
legacy-Siq_Puppy
03-27-2004, 04:27 PM
Well this is STILL an issue and no one from Epic or Atari has seen fit to address or even aknowledge the problem. Great way to ignore 60%+ of your server base guys!! I guess they feel since they have their own server rental program know they don't need us lowly Linux admins.
Thank for freaking nothing!
Siq
legacy-Designlogic
03-27-2004, 05:14 PM
Originally posted by Bry
you need to go into the default section and add them udner the map list.
This isnt the same problem as is being reported here
I'm having the same problem, but still under ONS it shows only 2 maps still even though there are 5 listed under the game type at the bottom of my .ini file. Any other solutions maybe? Thanks
Rob
legacy-Designlogic
03-27-2004, 05:16 PM
Originally posted by Siq_Puppy
Can someone at Epic please address this? The workaround does not work for everyone's setup and it is really causing me a ton of problems. There must be a fix you can release quickly to take care of this problem. Manually copying in CacheRecords.ucl files every time a server goes down is a pain in the neck. And no I can not use the script that copies it in for me ... it does not work for my instances.
Siq
LOL, I agree with you, but where would the world be without us Linux Admins?? It would be a pretty lonely place, lol. ;)
Rob
legacy-StarmanTHX
03-31-2004, 08:24 PM
This fix worked for me under Mac OS X. Thanks a TON!
One question - if I add a custom map am I screwed?
Mike
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.