11-22-2007, 01:05 PM
Hey folks. I am attempting to get my first ever game server, TF2, running and I'm having a bunch of troubles. Although I am a Network Administrator by trade, my Linux experience is still pretty basic but I decided to run my server on Ubuntu anyway since I think Linux is probably superior in applications such as this. I have not yet been able to get my server to show up on the list to connect to so I'm not sure what I got going on. This is my server.sh file that I run first:
I then receive this: Starting TF:Source Server
Next, I put in: screen -r tf
and I receive this:
I see a few errors in there but I'm not sure if any of them would stop everything from working. I have the following ports open on my firewall:
UDP 27014
TCP 27030
UDP 27011
TCP 27038
TCP 27015
UDP 27015
Not sure if this is overkill or if I'm missing any. After about 5 minutes, I get a message in my ssh session that says: [screen is terminating] and the I notice the process disappears.
Can anyone help me out or perhaps just push me in the right direction? I would appreciate the assistance.
Thanks
-Chris
Code:
#!/bin/bash
echo "Starting TF:Source Server"
sleep 1
screen -A -m -d -S tf-server ./srcds_run -console -game tf +map ctf_2fort +maxplayers 24 -autoupdate -ip 192.168.0.34 -port 27015
I then receive this: Starting TF:Source Server
Next, I put in: screen -r tf
and I receive this:
Quote:Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Could not locate steam binary:./steam, ignoring.
Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
maxplayers set to 24
Unknown command "startupmenu"
Network: IP 192.168.0.34, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
ConVarRef room_type doesn't point to an existing ConVar
exec: couldn't exec skill1.cfg
Executing dedicated server config file
net.cpp (960) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cSendBufSize <= iVal
net.cpp (968) : Assertion Failed: 0 == iRet && iValLen == sizeof( iVal ) && cRecvBufSize <= iVal
Unknown command "mp_autoteambalance_delay"
Unknown command "mp_autoteambalance_warning_delay"
Unknown command "mp_friendlyfire"
Unknown command "sv_maxspeed"
--------------------------------------------------------
sv_pure set to 1.
Note: Changes to sv_pure take effect when the next map is loaded.
--------------------------------------------------------
exec: couldn't exec banned_user.cfg
exec: couldn't exec banned_ip.cfg
Adding master server 72.165.61.189:27011
Adding master server 69.28.151.162:27011
Using 'steambeta1:27013' CSER server!
MasterRequestRestart
Your server will be restarted on map change.
Your server will be restarted on map change.
Could not establish connection to Steam servers.
I see a few errors in there but I'm not sure if any of them would stop everything from working. I have the following ports open on my firewall:
UDP 27014
TCP 27030
UDP 27011
TCP 27038
TCP 27015
UDP 27015
Not sure if this is overkill or if I'm missing any. After about 5 minutes, I get a message in my ssh session that says: [screen is terminating] and the I notice the process disappears.
Can anyone help me out or perhaps just push me in the right direction? I would appreciate the assistance.
Thanks
-Chris