08-23-2012, 07:51 AM
(This post was last modified: 08-23-2012, 10:02 AM by johnnydotexe.)
Server OS: CentOS 6 minimal w/ putty & ftp access
Processor: 4x core sandy bridge, 1x core allocated to the container we're using
Ram: 8GB DDR3-1333, 3gb allocated to the container we're using
Game(s): Team Fortress 2
Start Up Command: sudo /etc/init.d/srcds start & sudo /etc/init.d/srcds1 start
Admin Mods: Metamod, Sourcemod
I recently installed and launched a 24/7 MvM server to /usr/local/valve/ for TF2 in a container on my mac mini server and it runs great. I wanted to launch a second server(24/7 2fort) so this is what I did which I now think was incorrect...
-Made a copy of /usr/local/valve/orangebox/ and named it /usr/local/valve/orangebox1/
-Edited /valve/orangebox1/tf/motd.txt | motd_txt.txt | mapcycle.txt
-Edited /valve/orangebox1/tf/cfg/server.cfg
-Created /etc/init.d/srcds1 script to have server run as service
-Edited /etc/init.d/srcds1 with the dir of the new server, new server name, new launch parameters(dif map, dif port, dif max players)
When I try to launch the service using sudo /etc/init.d/srcds1 start it says it starts but it doesn't actually start, I don't see it in screen -ls or top, nor do I see it in my TF2 client server browser.
Right now this is how the filetree looks...
Server #1 - //usr/local/valve/orangebox/
Server #2 - //usr/local/valve/orangebox1/
They're sharing installrecord.blob and /hl2/ folders, and anything else the updatetool.bin installed in to /valve/ with the first server.
Should I delete /orangebox1/ and do an actual fresh updatetool.bin install and have it look something like this...
Server #1 - //usr/local/valve/orangebox/
Server #2 - //usr/local/valve/Server2/orangebox/
...and either leave it like that or move Server #1 files in to a new folder called /valve/server1/ and fix the DIR path in the srcds.sh script for it?
Also, what is the command(s) I need to run in terminal to update either server when there's been a game update? The only command I know is the one that launches the server with -update as a parameter, but I don't like launching the server that way. I prefer it to run as a service.
Thanks.
Edit: If I have to re-install everything from scratch, including my first TF2 server, that's no problem. I have mapcycle.txt/motd.txt/motd_text.txt/server.cfg for each server backed up on to my home pc.
Processor: 4x core sandy bridge, 1x core allocated to the container we're using
Ram: 8GB DDR3-1333, 3gb allocated to the container we're using
Game(s): Team Fortress 2
Start Up Command: sudo /etc/init.d/srcds start & sudo /etc/init.d/srcds1 start
Admin Mods: Metamod, Sourcemod
I recently installed and launched a 24/7 MvM server to /usr/local/valve/ for TF2 in a container on my mac mini server and it runs great. I wanted to launch a second server(24/7 2fort) so this is what I did which I now think was incorrect...
-Made a copy of /usr/local/valve/orangebox/ and named it /usr/local/valve/orangebox1/
-Edited /valve/orangebox1/tf/motd.txt | motd_txt.txt | mapcycle.txt
-Edited /valve/orangebox1/tf/cfg/server.cfg
-Created /etc/init.d/srcds1 script to have server run as service
-Edited /etc/init.d/srcds1 with the dir of the new server, new server name, new launch parameters(dif map, dif port, dif max players)
When I try to launch the service using sudo /etc/init.d/srcds1 start it says it starts but it doesn't actually start, I don't see it in screen -ls or top, nor do I see it in my TF2 client server browser.
Right now this is how the filetree looks...
Server #1 - //usr/local/valve/orangebox/
Server #2 - //usr/local/valve/orangebox1/
They're sharing installrecord.blob and /hl2/ folders, and anything else the updatetool.bin installed in to /valve/ with the first server.
Should I delete /orangebox1/ and do an actual fresh updatetool.bin install and have it look something like this...
Server #1 - //usr/local/valve/orangebox/
Server #2 - //usr/local/valve/Server2/orangebox/
...and either leave it like that or move Server #1 files in to a new folder called /valve/server1/ and fix the DIR path in the srcds.sh script for it?
Also, what is the command(s) I need to run in terminal to update either server when there's been a game update? The only command I know is the one that launches the server with -update as a parameter, but I don't like launching the server that way. I prefer it to run as a service.
Thanks.
Edit: If I have to re-install everything from scratch, including my first TF2 server, that's no problem. I have mapcycle.txt/motd.txt/motd_text.txt/server.cfg for each server backed up on to my home pc.