Need help with csgo server start line

paliuba

New Member
Hello,

i'm a new in this forum. Sup guys, dont be mad on me, maybe i create in bad sub-forum.


OK, i have problem with csgo server on debian.

I install csgo server, and start. It's ok - server runing. Then i shutdown server, and try to start again, and i have error:

$ ./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_mirage +sv_setsteamaccount MYTOKEN -net_port_try 1
-su: 1: ./srcds_run: not found

What the problem?
 


JasKinasis

Well-Known Member
It looks as if you are running srcds_run from the wrong place.
./srcds_run means that the srcds_run script/executable is in the current working directory.

So to get this to work - you need to either cd into the directory containing srcds_run, OR you need to specify the correct path to srcds_run when you run it.
e.g. /path/to/srcds_run (plus all of your additional arguments).

To find the path to srcds_run - you can use locate, or find.
e.g.
locate srcds_run or find / -type f -name "srcds_run"

Once you have the correct path to srcds_run - use that instead of ./

That should fix it!
 

paliuba

New Member
It looks as if you are running srcds_run from the wrong place.
./srcds_run means that the srcds_run script/executable is in the current working directory.

So to get this to work - you need to either cd into the directory containing srcds_run, OR you need to specify the correct path to srcds_run when you run it.
e.g. /path/to/srcds_run (plus all of your additional arguments).

To find the path to srcds_run - you can use locate, or find.
e.g.
locate srcds_run or find / -type f -name "srcds_run"

Once you have the correct path to srcds_run - use that instead of ./

That should fix it!

Thanks mate. It's working ! :) cheers
 



Members online



Top