Post Reply  Post Thread 
Establish connection to steam servers.
Author Message
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #1
Establish connection to steam servers.

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.

03-26-2008 03:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
deviantlinux
Junior Member
**


Posts: 24
Group: Registered
Joined: Nov 2007
Status: Offline
Post: #2
RE: Establish connection to steam servers.

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.

This post was last modified: 03-26-2008 06:46 AM by deviantlinux.

03-26-2008 06:44 AM
Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #3
RE: Establish connection to steam servers.

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

03-27-2008 05:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
deviantlinux
Junior Member
**


Posts: 24
Group: Registered
Joined: Nov 2007
Status: Offline
Post: #4
RE: Establish connection to steam servers.

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

03-27-2008 05:38 AM
Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #5
RE: Establish connection to steam servers.

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

03-27-2008 06:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cisco
Junior Member
**


Posts: 13
Group: Registered
Joined: Feb 2008
Status: Offline
Post: #6
RE: Establish connection to steam servers.

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.

This post was last modified: 03-27-2008 07:26 AM by Cisco.

03-27-2008 07:24 AM
Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #7
RE: Establish connection to steam servers.

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.

03-27-2008 08:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #8
RE: Establish connection to steam servers.

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?

03-27-2008 01:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
deviantlinux
Junior Member
**


Posts: 24
Group: Registered
Joined: Nov 2007
Status: Offline
Post: #9
RE: Establish connection to steam servers.

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.

03-28-2008 03:11 AM
Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #10
RE: Establish connection to steam servers.

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?

03-28-2008 05:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Cisco
Junior Member
**


Posts: 13
Group: Registered
Joined: Feb 2008
Status: Offline
Post: #11
RE: Establish connection to steam servers.

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?

03-28-2008 05:51 AM
Find all posts by this user Quote this message in a reply
ClanWoof
Weasel (^)
***


Posts: 142
Group: Registered
Joined: Sep 2007
Status: Offline
Post: #12
RE: Establish connection to steam servers.

Not sure, how should I test this out?

03-28-2008 08:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: