SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't quit hlds, endless loop of restarting
#1
myBB 
Hello,
I got a linux server and I installed hlds on it.
Everything is perfect but I can not quit hlds.
If I type: quit
It goes into an endless loop of restarting.
This also happens when I change a map.
Reply
#2
strg+c will terminate the server when you are logged into the linux shell.
If you are running the Server detached in a screentab the kommand "ps fx" will show you the prozesses and their PIDs of the current user. Shut them down with kill PIDnumber
Reply
#3
In the future maybe you like to start the server with screen:
apt-get install screen
man screen
(read and learn)

To shutdown the srcds process:
ps -ef
Find the PID and kill it with:
kill -9 <pid>
Reply
#4
SSH:

Code:
ps ux

A list will come down whit a lot of pid's your see something like this:

Code:
root     10811  0.0  0.0   5292   528 ?        Ss   Mar15   0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root     10883  0.0  0.0      0     0 ?        S    Mar15   0:00 [pdflush]
root     20987  0.0  0.0   4576  1132 ?        S    09:29   0:00 /bin/sh /home/server27015/hlds_run -game cstrike +hostname "csserver2" +map de_dust2 -ip 77.233.237.234
root     20998  0.0  0.6  69976 55876 ?        Sl   09:29   0:01 ./hlds_amd -game cstrike +hostname "csserver2" +map de_dust2 -ip 77.233.237.234 -port 27015 +maxplayers
root     21214  0.3  0.0  10188  2960 ?        Ss   11:16   0:00 sshd: root@pts/0
root     21217  1.0  0.0   4760  1448 pts/0    Ss   11:17   0:00 -bash

Then chose the two pids and type in my case: 20987 and 20998:
Code:
Kill 20998; kill 20987
Should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)