Syntax error with Counter-Strike: Source Linux Server Manager

rainbowcrash64

Honorable
Dec 8, 2013
57
0
10,630
Every time I try to launch one of my four CS:S servers (I have two CS:S and two CS 1.6) it will give me this error :

cssserver@(none):/home/gameservers/CSS1$ ./cssserver
./cssserver: line 844: syntax error: unexpected end of file

It just started doing it a few days ago and it is only on this one server. None of the other servers do this
And my server is currently running Debian 7.6
 
Solution
Well obviously there is something wrong with the script.. or maybe you need to call it with './csserver start' or some other argument? Impossible to know since you have not linked to the script at all.

where is the script from? probably you can just replace it with a fresh copy from wherever your friend got it from.

One other thought why is a server start script 844 lines long?! probably something to do with this..
You already have your answer or at least a hint to the problem. There is a syntax error in your script. Presumably on line 844.

This error happens when you have mismatched structure ie, you do not have matching quotes, matching parenthesis, have not closed a control structure such as a missing if with an endif, or a missing end with a for.
 
Well obviously there is something wrong with the script.. or maybe you need to call it with './csserver start' or some other argument? Impossible to know since you have not linked to the script at all.

where is the script from? probably you can just replace it with a fresh copy from wherever your friend got it from.

One other thought why is a server start script 844 lines long?! probably something to do with this..
 
Solution