[CSGO] error after editing csgoserver
HI, In the begining all working fine, but when i change the setting(gamemode and type) on csgoserver file this error happens
[csgoserver@vps252012 ~]$ ./csgoserver force-update -bash: ./csgoserver: /bin/bash^M: bad interpreter: No such file or directory
can someone helpme pls?
99% sure you messed up with the syntax.
Post your csgoserver script, make sure to hide sensitive information (steam account if any, API Key, and GSLT).
OK, your script seems good.
Is that a new install ? Why would you run force-update ? Are the normal update, and validate functions OK ? Start function ?
In other words, is the issue occurring only with force-update ?
no command works, and all give the same error @UltimateByte
What distro do you have ? Looks like an issue with your bash interpreter.
./csgoserver update-functions
Try that.
Also, did you install all the dependencies ?
Still the same error, at first time all work fine, but when i change csgoserver settings start give me the same error when i try to start the server @UltimateByte
tryed the same with rust server, at begin works, but when i change the rustserver file, stop works with the same error
What about you answer my 2 questions ?
yh i installed all
If you got trouble counting 2 questions, it's gonna be a pain. So again, What distro do you have ? And i'll add one more : What is your VPS provider ? Are they customizing their distros ?
Lastly, can you output your logs in /home/your_user/log/script ?
And one more question again : What are you editing your script with ?
Looks like the file might be is using windows line endings rather than unix. I recommend deleting the file and re downloading. Your text editor is probably saving the file with windows line ending causing the issue. I recommend using vi, nano, notepadd++ or sublime text.
Just downloaded the text file and was using windows line endings...so yeah thats probably it,
Thx it worked!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.