SRCDS Steam group


tf2 server does not start
#1
Hi guys,

I have just installed a tf2 server and when I try to run it, it seems to do nothing at all. This is what happens:

./srcds_run -game tf +maxplayers 24 -port 27016

Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP unknown, mode MP, dedicated Yes, ports 27016 SV / 27005 CL

I have a cs1.6 server running on the same machine, works like a charm.
I don't provide an IP address when starting up the server since I don't do it either on my cs1.6 server.
When I do provide an IP I get a different output:

sudo ./srcds_run -game tf +maxplayers 24 -port 27016 +ip xxx.xxx.xxx.xxx -debug

Auto detecting CPU
Using SSE2 Optimised binary.
Enabling debug mode
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
WARNING: NNET_OpenSocket: bind: Cannot assign requested address
Couldn't allocate any server IP port
cat: hlds.7783.pid: No such file or directory
email debug.log to linux@valvesoftware.com
Sat Oct 10 16:10:43 CEST 2009: Server restart in 10 seconds

the debug.log contains na valuable info, just the command that started the server...

I have created a very simple server.cfg, just containing the name and rcon pass
Reply
#2
Remove the -port and -ip parameter.
Reply
#3
the reason for the -port being there is that I have another server running on 27015, so just want to make sure, each server starts on the correct port

this is what I get without the port & ip parm:

./srcds_run -game tf +maxplayers 24
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.

Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
Unknown command "r_decal_cullsize"
maxplayers set to 24
Unknown command "startupmenu"
Network: IP unknown, mode MP, dedicated Yes, ports 27016 SV / 27005 CL
Reply
#4
Okay. You must also set a map like: +map cp_well
Reply
#5
I was just about to say that... The server can't start if you dont tell it what map to do... That most definetly is your problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)