Donations
|
If you wish to make a donation you can by clicking the image below.
|
|
|
|
|
26th March, 2009, 02:51 AM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
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.
|
26th March, 2009, 03:13 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
26th March, 2009, 04:42 AM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
exec: 88: ./ucc-bin: not-found
The os is Ubunto Server running on slicehost.com
|
26th March, 2009, 08:19 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
28th March, 2009, 04:17 PM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
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.
|
28th March, 2009, 07:42 PM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
28th March, 2009, 08:16 PM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
./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.
|
28th March, 2009, 08:35 PM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
29th March, 2009, 12:12 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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?
|
29th March, 2009, 12:26 AM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
I will look into switching...
|
29th March, 2009, 12:32 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
|
29th March, 2009, 02:18 AM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
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.
|
2nd April, 2009, 03:21 AM
|
Rampage
|
|
Join Date: Aug 2006
Location: USA, Pennsylvania
Posts: 51
|
|
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?
|
2nd April, 2009, 10:47 PM
|
Killing Spree
|
|
Join Date: Jan 2007
Posts: 36
|
|
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.
|
3rd April, 2009, 06:54 AM
|
Super Moderator
|
|
Join Date: Jan 2004
Location: North Carolina
Posts: 2,245
|
|
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.
Last edited by 2399Skillz : 4th April, 2009 at 02:50 PM.
|
7th April, 2009, 12:28 PM
|
Rampage
|
|
Join Date: Oct 2005
Posts: 71
|
|
Quote:
Originally Posted by sxxxe83
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?
|
7th April, 2009, 10:06 PM
|
Killing Spree
|
|
Join Date: Jan 2007
Posts: 36
|
|
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
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|