Posts: 14
	Threads: 3
	Joined: May 2008
	
Reputation: 
0
	 
 
	
	
		I'm using CentOS on a vps but i keep getting this error
There is no screen to be attached matching css-server.
How do i fix i get that error when i use
screen -x css-server
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 483
	Threads: 9
	Joined: Mar 2007
	
Reputation: 
0
	 
 
	
	
		just do screen -x
what is the output?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	Joined: May 2008
	
Reputation: 
0
	 
 
	
	
		[root@vps ~]# screen -x
There is no screen to be attached.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 483
	Threads: 9
	Joined: Mar 2007
	
Reputation: 
0
	 
 
	
	
		what command is in your server.sh?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	Joined: May 2008
	
Reputation: 
0
	 
 
	
	
		#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike -tickrate 66 +map cs_assault +maxplayers 22 -port 27015 -autoupdate
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 483
	Threads: 9
	Joined: Mar 2007
	
Reputation: 
0
	 
 
	
	
		ok well run this
screen -A -m -d -S css-server ./srcds_run -console -game cstrike -tickrate 66 +map cs_assault +maxplayers 22 -port 27015 -autoupdate
what is the output?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 483
	Threads: 9
	Joined: Mar 2007
	
Reputation: 
0
	 
 
	
		
		
		05-30-2008, 09:23 AM 
(This post was last modified: 05-30-2008, 09:23 AM by HBS|Ryan.)
	
	 
	
		i mean actually run it at a prompt not through a script file.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	Joined: May 2008
	
Reputation: 
0
	 
 
	
	
		[css@vps ~]$ screen -A -m -d -S css-server ./srcds_run -console -game cstrike -tickrate 66 +map cs_assault +maxplayers 22 -port 27015 -autoupdate
[css@vps ~]$
Nothing happens?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 483
	Threads: 9
	Joined: Mar 2007
	
Reputation: 
0
	 
 
	
	
		you in the directory of your install?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 728
	Threads: 2
	Joined: May 2006
	
Reputation: 
0
	 
 
	
	
		why don't you just do screen itself without a script to see what is going on?
1) cd to your install folder
2) screen -S nameofyourscreenthatyoumakeup (a new virtual terminal will open up, it won't look like anything but it is)
3) ./srcds_run blahblahblah and see if your server starts up correctly
4) stats couple times to see if it's running
5) status couple times to see if it's running
6) CTRL A + D to detach
screen -r nameofyourscreenthatyoumadeup (from above) to attach, CTRL A + D to detach
also if you do a "ps aux"  it will list all the processes including a screen session
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 14
	Threads: 3
	Joined: May 2008
	
Reputation: 
0
	 
 
	
	
		I've reinstalled CentOS and srcds i still get the same error
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 728
	Threads: 2
	Joined: May 2006
	
Reputation: 
0
	 
 
	
	
		did you do what i suggested?  i doubt you had to re-install your os for this but if you've got the time to kill......