SRCDS Steam group


Establish connection to steam servers.
#1
Well starting to get a little pissed off with this thing Big Grin
When I try to startup my server it says the whole
Adding master server 69.28.151.162:27011
Adding master server 72.165.61.189:27011
L 03/25/2008 - 10:46:19: World triggered "Round_Start"
then I get
"Could not establish connection to Steam servers."

Here is my command line
Code:
taskset -c 1 screen -A -m -d -S dust2 ./srcds_run -console -game cstrike +ip 209.160.58.133 -port 27015 -maxplayers 28 +map cs_office -tickrate 66 -autoupdate -secure

Server is in seattle at a colocation, running ubuntu 7.10 server 64bit with gnome installed.
Firewall I installed firestarter pretty sure I setup it right but even when I stop the firewall I still get that same error.
Reply
#2
For starters, make sure the firewall is completely off on the server, and check open ports on any routers you may be behind. Now try and run the server as simple as possible, to narrow down your problem. Can you run it without screen and without taskset? Try a simple

Code:
./srcds_run -game cstrike -ip 209.160.58.133 -port 27015 -maxplayers 28 +map cs_office -tickrate 66 -autoupdate -secure

And let us know if you can connect to the VAC servers. Also note that "-console" is a windows-only option.

Ryan

ClanWoof Wrote:Well starting to get a little pissed off with this thing Big Grin
When I try to startup my server it says the whole
Adding master server 69.28.151.162:27011
Adding master server 72.165.61.189:27011
L 03/25/2008 - 10:46:19: World triggered "Round_Start"
then I get
"Could not establish connection to Steam servers."

Here is my command line
Code:
taskset -c 1 screen -A -m -d -S dust2 ./srcds_run -console -game cstrike +ip 209.160.58.133 -port 27015 -maxplayers 28 +map cs_office -tickrate 66 -autoupdate -secure

Server is in seattle at a colocation, running ubuntu 7.10 server 64bit with gnome installed.
Firewall I installed firestarter pretty sure I setup it right but even when I stop the firewall I still get that same error.
Reply
#3
Now I am getting, Warning nnet_opensocket: bind: cannot assign requested address
couldn't allocate dedicated server udp port.
and it keeps trying to restart every 10 seconds
Reply
#4
This means there is already a service running on that port (27015). Make sure there are no srcds processes currently running by issuing the command:

Code:
ps aux | grep srcds

If you get any results, you've already got a process running for srcds, and it's already using the IP your other instance was trying to use. Just run:

Code:
killall srcds_run srcds_i686 srcds_i486 screen -9

To end any running srcds and screen processes.

ClanWoof Wrote:Now I am getting, Warning net_opensocket: bind: cannot assign requested address
couldn't allocate dedicated server udp port.
and it keeps trying to restart every 10 seconds
Reply
#5
Hmm, when I do ps aux | grep srcds
I get a huge list of things, my user name is srcds that everything is running on though.

When I typed the second thing, I got a message.
no process killed
Reply
#6
take the 'u' out, do ps -ax | grep srcds

it should be a much smaller list.

Also, do a:

netstat -an | grep 27015

To verify that nothing has bound the port. If you get a result back then a process is still binding port 27015.
Reply
#7
Okay when I typed in ps -ax | grep srcds
I got
Code:
Warning: bad ps syntax, prehaps a bogus "-:? See http://procps.sf.net/faw.html
26172 ?      S   0:00 gedit file://home/srcds/desktop/crontab
27401 pts/0   S+  0:00 grep srcds
27754 ? Ss  0:00 sshd: srcds [priv]
27757 ?   S  0:08 sshd: srcds@pts/5

netstat -an | grep 27015 came up with nothing.
Reply
#8
Well, I just took out the ip and Bam shows up works people are on it. Not sure why my other ip was not working any clue how to setup it so I can use my other ip's?
Reply
#9
As long as you are sure that no service is using the 27015 port, and your set the correct -ip x.x.x.x and -port 27015 on the startup line, it should come up fine. Try it as simple as possible, without screen or taskset just to make sure it is working.
Reply
#10
Well I have tried this with my other ip's and still cannot get them running. Sad Not sure whats going on. I only have one of my servers up using port 27015, but I have many ip's so I should be able to use the other ip's with that same port yes?
Reply
#11
I seem to remember there being an issue with that, try with port 27016 and see if it works.

Also, dumb question, but is the ip you were trying to use aliased correctly and pinging?
Reply
#12
Not sure, how should I test this out?
Reply
#13
Yes turned out it was the ip I was stupid and forgot to enable them. Smile
That was the easy fix.
Reply
#14
deviantlinux Wrote:
Code:
./srcds_run -game cstrike -ip 209.160.58.133 -port 27015 -maxplayers 28 +map cs_office -tickrate 66 -autoupdate -secure

That should be +ip, which would explain the address problems
Reply
#15
Umm - works fine if you look what I said I fixed the problem it was me I forgot to enable the ip's I bought. Smile
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)