You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - Linux Specific

Reply
Thread Tools Display Modes
  #21  
Unread 26th March, 2009, 02:51 AM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

I found this information: http://ut.congiman.com/settingup.html

Note that it is for a Sus distro, but I assumed (maybe not correctly) that since I was having some errors when starting the server that Ubuntu 8.04 probably needs some similar library files loaded.

Keep in mind that I am definitely a Linux noob. I am just looking for possibilities to get my server running.
Reply With Quote
  #22  
Unread 26th March, 2009, 03:13 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Could be possibly. That article was also made in 2000.

I've installed a linux server on Ubuntu before, without having to install anything extra.

I've also installed it, regularly on Redhat/Fedora/CentOS without having to install anything at all extra. On a completely fresh install, I created a new user. Installed the server, ran the server.

What kind of error/problems are you encountering with trying to run the server?

On a side note, Ubuntu isn't really designed to be setup as a server environment. It's more suited towards desktop use. I would switch to something like CentOS or Fedora.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #23  
Unread 26th March, 2009, 04:42 AM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

exec: 88: ./ucc-bin: not-found

The os is Ubunto Server running on slicehost.com
Reply With Quote
  #24  
Unread 26th March, 2009, 08:19 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Do this.

wget http://www.ut-files.com/Patches/utpgpatch451.tar.bz2

tar -jxvf utpgpatch451.tar.bz2

bash ./ucc.init restart


That should solve the problem, I'll go ahead and add this to the guide too.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #25  
Unread 28th March, 2009, 04:17 PM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

I still keep getting this:

Quote:
exec: 88: ./ucc-bin: not-found
Everything else works, but for some reason it did not creat a ucc.bin file. All I am starting is a standard, non-modified UT DM server.

Last edited by }{BwA}{Bite_Me : 28th March, 2009 at 04:20 PM.
Reply With Quote
  #26  
Unread 28th March, 2009, 07:42 PM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Are you using asu to start the server? If so, you need to type

./ucc.init start

NOT

./ucc-bin start

If not, where are you typing the start command? You should be in the System directory.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #27  
Unread 28th March, 2009, 08:16 PM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

./ucc.init restart

I just tried
./ucc.init start

this had the same result as restart.

Last edited by }{BwA}{Bite_Me : 28th March, 2009 at 08:21 PM.
Reply With Quote
  #28  
Unread 28th March, 2009, 08:35 PM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Can you PM me the login details of your server? I'll take a look at it, would be faster to trouble shoot it that way.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #29  
Unread 29th March, 2009, 12:12 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

I'm starting to think it's just not going to work on ubuntu 8..

For some reason it's not even letting me execute the ucc-bin file directly by typing:

bash ucc-bin --help

Gives me errors while in the System directory. Do you have to run ubuntu? Why not run a distro more suited towards a server environment?
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #30  
Unread 29th March, 2009, 12:26 AM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

I will look into switching...
Reply With Quote
  #31  
Unread 29th March, 2009, 12:32 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

I mean I know that wont solve the problem per say, but man it would be so much easier I think; using a distro that's designed around running as a server as apposed to running as a desktop.

If I had my desktop setup, I'd install that version of ubuntu and see what I can come up with running it locally. I know for a fact that I've setup/started/hosted a server on a version of ubuntu before, but it was version 5 or 6 I believe.

Is this server local to you (in your home/office/work) where you do the installing yourself? If so, did you opt to install EVERYTHING; because I know when installing them they'll tell you that most stuff isn't needed. In a case of a server environment, installing everything would make it easier.
__________________

UT-FILES.COM
Get your files
Reply With Quote
  #32  
Unread 29th March, 2009, 02:18 AM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

It is a VPS rented server...
I know that I can load it with other distro's, but I don't know which ones off the top of my head.

I appreciate all the advise and direction. I need to talk to some one else to see if they have issue with me reloading the server and then I will most likely be able to hit this again with a different distro.

In any regard, the step by step is really appreciated and I will still follow up to see if it can be enhanced by my immediate experiences.
Reply With Quote
  #33  
Unread 2nd April, 2009, 03:21 AM
}{BwA}{Bite_Me }{BwA}{Bite_Me is offline
Rampage
 
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
Default

We now have a basic server up and running on CentOS.

Are there any tools that you use to manage the server? I am thinking that there are probably some tools to monitor the UT server application and restart it if it crashes, or is this an innate function of UT. Is there a way to put the UT server application in the server startup script incase the server is re-booted?
Reply With Quote
  #34  
Unread 2nd April, 2009, 10:47 PM
sxxxe83 sxxxe83 is offline
Killing Spree
 
Join Date: Jan 2007
Posts: 36
Default

Hi,

I use Debian 4 etch as OS, and have installed webmin. There you can under "System" set "Bootup and Shutdown" commands, and it will generate a little script.

I had this command

Code:
sudo /usr/ut99/./ucc.init start
and webmin made this script that will run at bootup and shutdown.


Code:
#!/bin/sh

case "$1" in
'start')
	sudo /usr/ut99/./ucc.init start
	;;
'stop')
	sudo /usr/ut99/./ucc.init stop
	;;
*)
	echo "Usage: $0 { start | stop }"
	;;
esac
exit 0
As I have never tried CentOS I cant tell if Webmin work with that, but since it is Linux I guess it does work.

If you use (ASU) and run the script it will make an ucc.init file, this file will make sure the server is always running (I always thought).

sXe

Last edited by sxxxe83 : 2nd April, 2009 at 11:01 PM.
Reply With Quote
  #35  
Unread 3rd April, 2009, 06:54 AM
2399Skillz 2399Skillz is offline
Super Moderator
 
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
Default

Under CentOS you need to edit the /etc/rc.local file using root.

Put this line in at the bottom:

su - username -c 'cd /path/to/the/script; ./ucc.init start'

su - (this is also know as "switch user", since the script is being ran by root, it'll log in as the user you specify)
username -c (you need to change username with the user you are using to run the severs)
'cd /path/to/the/script; (this is the absolute path to the asu script)
./ucc.init start (this is obviously the command to run the asu startup script)

This will start the ut server should the box ever get rebooted.

The ASU script should restart the server, should it ever crash. Only under a hard crash will you have to go manually start it, but that rarely happens. I don't use anything to manage the servers. All I have is SSH and FTP to access/configure the server and ASU to handle the starting/stopping of the server. I do have cPanel installed on the server, but it's not used to handle anything related to the servers.

Edit::
One thing I would like to mention is that I always start my servers using restart. I hardly ever just use start. Reason for this is sometimes the server is already running, yet it's hung up. So if you use the start command, it'll attempt to start a new instance of the server sometimes. Using restart will cause the server to kill the old process, if it exists, then start the server. If the old process doesn't exist, then it'll just start the server. IMHO I think "start" should be removed from the utility and only restart/stop should be used. Either that or start do the same thing as restart.
__________________

UT-FILES.COM
Get your files

Last edited by 2399Skillz : 4th April, 2009 at 02:50 PM.
Reply With Quote
  #36  
Unread 7th April, 2009, 12:28 PM
spatieman spatieman is offline
Rampage
 
Join Date: Oct 2005
Posts: 71
Default

Quote:
Originally Posted by sxxxe83 View Post
You may need this:
Code:
sudo apt-get install libsdl1.2debian
And some of the files, log dirs need write access:
Code:
sudo chmod 777 /usr/ut99/System/ucc-bin
sudo chmod 777 /usr/ut99/ucc.init
sudo chmod 777 /usr/ut99/Logs/
sudo chown -R user:user /usr/ut99/*
Perhaps 777 is a bit too much, but thats just to be sure it works. Could step back a few when all works as it should

sXe
question, what is this libsdl1 for, and what is it doing?
Reply With Quote
  #37  
Unread 7th April, 2009, 10:06 PM
sxxxe83 sxxxe83 is offline
Killing Spree
 
Join Date: Jan 2007
Posts: 36
Default

I thought it was needed for the server, when I did a lot of "google" search looking for answers, as my server did not start, had permission problems and so on. But after some searching now it may look as it's only needed for clients:

Code:
SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard.
sXe
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:39 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.