SRCDS Steam group

Ubuntu Linux L4D2 server problem "exec: couldn't exec server.cfg "
The title says it all .. everytime i try to run this darn server.cfg, for Left 4 Dead 2 server .. i just pick up

"exec: couldn't exec server.cfg"

yes, path is correct and i tried to load it manually, but still it won't execute.

Any insight on what am i doing wrong ?

Make you that you both own and have the correct permissions for your user,


Chown -R user:group yourserverdirectory

In English, recursively set the owner and group of your folder and files to the user and group you state.

Chmod 700 username server.cfg

In English, change the permissions to Read Write Execute for your user, no access to group or everybody.

You don't need to chmod your entire L4D2 server to this however and you only really need read and execute access to most things. There is a list somewhere for the linux permissions required for source servers because you only need certain directories writable.

Check out for more stuff.
Well, the thing was not with permissions, i did kernel dump and saw that everybody was giving me wrong folder (/home/whatever/left4dead2/left4dead2/cfg/server.cfg) ... no guide shown that server.cfg should be in *update* folder...

write(1, "Unknown command \"port\"\n", 23) = 23
stat64("/home/whatever/left4dead2/left4dead2/update/cfg/server.cfg", 0xffc2f69c) = -1 ENOENT (No such file or directory)

Anyway it is fixed now and i hope it helps somebody else if this error occurs.

Thanks for the reply anyways, i really appreciate it !


Forum Jump:

Users browsing this thread: 1 Guest(s)