PhobosUT
09.10.02, 11:25
Ich habe mir den UT2003 Dedicated Server installiert und nach folgender Anleitung wollte ich nun das WebAdmin Interface einrichten:
Let's Begin!
It's best to start with a fresh UT2003.ini file (not necessary, but the only way to guarantee that everything will work as it's supposed to).
First, find the [UWeb.WebServer] section of the UT2003.ini file, and add (or modify) the following lines:
bEnabled=True
ListenPort=#### (specify your desired webadmin port here).
Next, find the [Engine.GameInfo] (not Engine.GameEngine!!) section in your server's .ini file and add (or modify) the following line:
AccessControlClass=XAdmin.AccessControlIni
Close and save the .ini, and start your server. At this point, you should be able to access your server's webadmin in the same fashion used with UT -
http://server:port/
The default username is Admin, and the default password is Admin (both case sensitive). When you log in for the first time, XAdmin is initialized. A master admin account is created, as well as a master admin group (of which the master admin account will be a member). XAdmin.ini is created in the UT2003System directory, which contains all of the username/password/group membership information for any admin accounts that you create on your server.
Now that you have done that you can play about with Users & Groups!
Ist von www.unrealadmin.org
Das funktioniert auch so weit, allerdings musste ich den kompletten Pfad der UT2003.ini angeben, also -ini=/usr/local/games..., obwohl in den Tutorials immer nur -ini=UT2003.ini angegeben war. Vermutlich hatten die den Pfad in die $PATH Variable eingetragen.
Wenn ich Apache ausschalte, und http://192.168.0.4/ eingebe (als Port habe ich 80 angegeben, also brauch' ich den ja in der Adresse nicht) kommt auch die Passwortabfrage. In der Anleitung steht ja, man müsste sich zunächst mit Admin / Admin einloggen. Dann sollte im System Verzeichnis eine XAdmin.ini erstellt werden. Aber ich kann mich nicht einloggen und es wird auch keine XAdmin.ini erstellt.
In UT wurden Benutzername und Passwort in der UnrealTournament.ini festegelegt:
[UTServerAdmin.UTServerAdmin]
AdminUsername=admin
AdminPassword=admin
Das gibt's aber in der UT2003.ini nicht. Also nehme ich an, werden die Benutzernamen und Passwörter in der XAdmin gespeichert, die aber bei mir nicht erstellt wird. Jetzt dachte ich mir es könnte ja sein, dass der Server aus irgendeinem Grund die Datei nicht schreiben darf, obwohl ich ihn als root gestartet habe.
Also habe ich mit chmod -R a+w ut2003_dedicated das komplette Verzeichnis mit allen Dateien für alle schreibbar gemacht. Hat aber auch nix gebracht.
Was kann ich sonst noch machen?
Let's Begin!
It's best to start with a fresh UT2003.ini file (not necessary, but the only way to guarantee that everything will work as it's supposed to).
First, find the [UWeb.WebServer] section of the UT2003.ini file, and add (or modify) the following lines:
bEnabled=True
ListenPort=#### (specify your desired webadmin port here).
Next, find the [Engine.GameInfo] (not Engine.GameEngine!!) section in your server's .ini file and add (or modify) the following line:
AccessControlClass=XAdmin.AccessControlIni
Close and save the .ini, and start your server. At this point, you should be able to access your server's webadmin in the same fashion used with UT -
http://server:port/
The default username is Admin, and the default password is Admin (both case sensitive). When you log in for the first time, XAdmin is initialized. A master admin account is created, as well as a master admin group (of which the master admin account will be a member). XAdmin.ini is created in the UT2003System directory, which contains all of the username/password/group membership information for any admin accounts that you create on your server.
Now that you have done that you can play about with Users & Groups!
Ist von www.unrealadmin.org
Das funktioniert auch so weit, allerdings musste ich den kompletten Pfad der UT2003.ini angeben, also -ini=/usr/local/games..., obwohl in den Tutorials immer nur -ini=UT2003.ini angegeben war. Vermutlich hatten die den Pfad in die $PATH Variable eingetragen.
Wenn ich Apache ausschalte, und http://192.168.0.4/ eingebe (als Port habe ich 80 angegeben, also brauch' ich den ja in der Adresse nicht) kommt auch die Passwortabfrage. In der Anleitung steht ja, man müsste sich zunächst mit Admin / Admin einloggen. Dann sollte im System Verzeichnis eine XAdmin.ini erstellt werden. Aber ich kann mich nicht einloggen und es wird auch keine XAdmin.ini erstellt.
In UT wurden Benutzername und Passwort in der UnrealTournament.ini festegelegt:
[UTServerAdmin.UTServerAdmin]
AdminUsername=admin
AdminPassword=admin
Das gibt's aber in der UT2003.ini nicht. Also nehme ich an, werden die Benutzernamen und Passwörter in der XAdmin gespeichert, die aber bei mir nicht erstellt wird. Jetzt dachte ich mir es könnte ja sein, dass der Server aus irgendeinem Grund die Datei nicht schreiben darf, obwohl ich ihn als root gestartet habe.
Also habe ich mit chmod -R a+w ut2003_dedicated das komplette Verzeichnis mit allen Dateien für alle schreibbar gemacht. Hat aber auch nix gebracht.
Was kann ich sonst noch machen?