SRCDS Steam group


my all 3 servers down for no reason!!!
#16
first you can always use the "ps ax" command (or with similar options like only "x" or "faux" -> see "man ps" for details) to find out what processes are running. you will also see what options the server was started with and so which port is used (you might need the option "ww" for the ps command to display long command lines completely, that's why I told you to use "ps fauxww").

srcds creates its own log files if you have the command "log on" in the server.cfg or at command line (./srcds_run ... +log on). you will find them in the logs directory of your server.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#17
(06-12-2010, 06:04 PM)BehaartesEtwas Wrote:  
(06-12-2010, 06:47 AM)chuck Wrote:  i know but you were confusing mean...
sorry :-)

Quote:by the way what does this cause when u try to run server -port 27015 but it goes to 27018.. while other 2 port does work 27016 27017
that means another server is already running at 27015... I don't know why, but sometimes srcds seems to just use another port if the one you specified is taken and sometimes it gives that error message.

(06-13-2010, 08:06 PM)BehaartesEtwas Wrote:  first you can always use the "ps ax" command (or with similar options like only "x" or "faux" -> see "man ps" for details) to find out what processes are running. you will also see what options the server was started with and so which port is used (you might need the option "ww" for the ps command to display long command lines completely, that's why I told you to use "ps fauxww").

srcds creates its own log files if you have the command "log on" in the server.cfg or at command line (./srcds_run ... +log on). you will find them in the logs directory of your server.
weird now one of my server is down and i tried to screen ./srcds_run but it goes to port 27018 but i want server to go to 27015... any idea? here there command i tried to put screen ./srcds_run -console -game cstrike -autoupdate +ip 38.99.168.192 +port 27015 -insecure -tickrate 100 +maxplayers 22 +map surf_legends
Reply
#18
use -port not +port

still this is an idication that you have some server running at 27015. if a server is down it does not mean that the port is free. the server might just hang. so before you restart the server always check if the process is still running, i.e. connect to the screen where you started the server. only if that screen is not there anymore you might start a new server process.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#19
(06-15-2010, 05:27 PM)BehaartesEtwas Wrote:  use -port not +port

still this is an idication that you have some server running at 27015. if a server is down it does not mean that the port is free. the server might just hang. so before you restart the server always check if the process is still running, i.e. connect to the screen where you started the server. only if that screen is not there anymore you might start a new server process.
alright thanks!!! but is there a command to view server running without going to play game or look at logs?
Reply
#20
anyone?
Reply
#21
I wrote it like 4 times in this thread and you already used it yourself. I won't repeat it again...

the logs are simple text files in the cstrike/logs directory of your server. Just transfer it to your PC and open it with your favorite text editor.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#22
no you just don't get it.... I'm on computer 24/7 and I'm wondering when my server is running and i log in ssh, how can i view my server running in ssh to see what it load and not loaded!!!not looking into logs where shows crappy logs that not needed
cuz when i go screenlog.0 file it show empty 0 size!!!
Reply
#23
[Image: windows-logo.jpg]
Reply
#24
wtf? lol
Reply
#25
chuck: read the third post of this thread. if you have a specific problem, ask a specific question please including the error message or what ever hindering from doing what ever you try (and the command you try). if you don't have a specific problem read the man page (i.e. type "man screen" in your linux console).

ps: can someone ban loopyman please? he is posting commercials in this thread. xD
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#26
A What!

I posted a windows logo :/
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#27
just kidding ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#28
Inside joke, no offense chuck Toungue

Typically if its your first time running game servers without a control panel you would use Windows for simplicity, but you must be ready for a challenge Toungue
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#29
well...
(06-04-2010, 08:54 AM)chuck Wrote:  hello, since my tech left, i have no idea how to run server in linux
looks it wasn't his choice. and linux isn't that hard to learn that it would justify a switch "back" to windoze. ;-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#30
Feels like he has problems that servers are running. Cant he create a file like this below and exec it. To kill all servers?

Code:
#!/bin/bash
/usr/bin/killall -9 srcds_run
/bin/sleep 15


And after it try to start them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)