Sniper's Paradise!


Linux FAQ's

Q...I can start a Unreal server in Linux just fine as a normal user except that the Uwebadmin server gives a bind:failed message. If I start it as root the Uwebadmin server starts up ok. What do I need to do so that Uwebadmin server will start normally when server is started with a normal login.

A...The reason that the Web admin can not bind to port 80 is due to RH6.1 installing a web server by default (which takes port 80). Try changing the ListenPort=5080.
I just installed RH6.1 on my server last week and had the same bind failure message:
The Unreal.ini for webadmin defaults to listen port 80 which didn't work so I tried 90 no go
The Solution was listenport=5080
Frederico tells me that Linux and Unix ports below 1024 are considered "privileged ports" and may only be opened by root authorized persons and Unreal should not be run as root for security reasons. So, the ListenPort must be greater than 1024. (Thanks to Frederico for the info)

Then login to webadmin with: http://<IP address>:5080/
example
http://24.25.222.333:5080/
You may not see the listenport line in your ini so add it here:
[UWeb.WebServer]
Applications[0]=UServerAdmin.UServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=UServerAdmin.UImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
Applications[2]=
Applications[3]=
Applications[4]=
Applications[5]=
Applications[6]=
Applications[7]=
Applications[8]=
Applications[9]=
ApplicationPaths[2]=
ApplicationPaths[3]=
ApplicationPaths[4]=
ApplicationPaths[5]=
ApplicationPaths[6]=
ApplicationPaths[7]=
ApplicationPaths[8]=
ApplicationPaths[9]=
ListenPort=5080
MaxConnections=30
ServerName=


Q...Is there a way to run the server in the background so I can logout after starting it? If (when) my Unreal server crashes, I need to telnet in to restart it, but to keep it running I need to keep the telnet session open (unless I'm horribly mis-informed...)

A1...If you append an ampersand (&) to the end of the line, it will cause the process to run in the background. It will still output to the screen, but at least you can then logout with killing the server. Example:
./ucc server DM-LIANDRI &
Then if I need to stop the server, I can just kill the process by hand.

A2...Here's something else to try:
./ucc server CTF-Face etc, etc. > /tmp/unreal.log &
you can send all of your server output to the log in /tmp/ and keep an eye on the activity.
you can view the log in real time while logged in by doing:
tail -f /tmp/unreal.log

A3...The solution to running in the background on a Linux system is to us the nohup command in shell script. nohup means no hangup when starting a command from a shell. If the shell closes it will not be attached to the calling process (the shell) and won't die when you close the parent shell.
So here is an easy way to do this:
1) edit a file for a shell script called UServer.sh
2) type in the following lines, with any mods you may want.
cd /home/(user)/(Unreal dir)/System
nohup ./ucc server DM-Morpheus?game=(gametype) &
3) When the file is saved, chmod the file to be executable: chmod u+x UServer.sh
4) Start the file: ./UServer.sh

This will start a server in the background with no probs. Your console output will then go to a file in the starting dir called "nohup.out". If you want to have a different file name, do a man page on nohup and there are some extra args you can apped for that as well.


Q...I'm curious to know if anyone has been able to get Unreal to run (actually)Install properly under
Debian 2.1. I have been fighting with all those extras like xdelta/glib..... This files
are really pI$$Ing me off. All I want to run is a Full Dedicated Server. Comments?

A...My server runs on Debian 2.1. I did an install on a RH 6.0, tarballed it, sent it over the net, untar'ed it, and it ran great. Every damn patch I have to install on the RH machine though, then tar up the System dir and send it over the same way. Pain in the ass, but it's a sacrifice I'm willing to make.



Spam Killer

Back To Top
2005 Sniper's Paradise
All logos and trademarks are properties of their respective owners.
Unreal™ is a registered trademark of Epic Games Inc.
Privacy Policy
Website by Softly
Powered by RUSH