[SOLVED] Trying to setup dedicated cs:go server; update: steamcmd launches, but fatal error
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(I'm starting to think it's a directory problem and I have to specify it in the bash script. But I'm unsure exactly what to edit)
Code:
root@adam-server:/steamcmd# sh steam.sh
steam.sh: 9: cd: can't cd to steam.sh
steam.sh: 13: [: Linux: unexpected operator
steam.sh: 1: steam.sh: sw_vers: not found
steam.sh: 56: steam.sh: /osx32/steam: not found
steam.sh: 59: [: osx32: unexpected operator
root@adam-server:/steamcmd#
root@adam-server:/# export LD_LIBRARY_PATH=/Steamcmd/linux32:$LD_LIBRARY_PATH
root@adam-server:/# /Steamcmd/linux32/steamcmd
bash: /Steamcmd/linux32/steamcmd: No such file or directory
root@adam-server:/#
Unrelated:
I want a little linux man sitting on my desk who I can constantly pesture all day long for my silly noob questions.
Don't go into the linux32 directory.
I guess you followed this guide?
Heres what I did to get it up.
Code:
smile@mile:~/Downloads$ mkdir ./steam
smile@mile:~/Downloads$ mv ./steamcmd.tar.gz
mv: missing destination file operand after `./steamcmd.tar.gz'
Try `mv --help' for more information.
smile@mile:~/Downloads$ mv ./steamcmd.tar.gz ./steam
smile@mile:~/Downloads$ cd steam/
smile@mile:~/Downloads/steam$ tar -xzf ./steamcmd.tar.gz
smile@mile:~/Downloads/steam$ ls
linux32 steamcmd.tar.gz steam.sh
smile@mile:~/Downloads/steam$ ./steam.sh
./steam.sh: line 49: ulimit: open files: cannot modify limit: Operation not permitted
./steam.sh: line 56: /home/smile/Downloads/steam/linux32/steam: No such file or directory
smile@mile:~/Downloads/steam$ ls
linux32 steamcmd.tar.gz steam.sh
smile@mile:~/Downloads/steam$ STEAMEXE="steamcmd ./steam.sh"
smile@mile:~/Downloads/steam$ STEAMEXE="steamcmd ./steam.sh"
smile@mile:~/Downloads/steam$ STEAMEXE=steamcmd ./steam.sh
./steam.sh: line 49: ulimit: open files: cannot modify limit: Operation not permitted
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[ 0%] Downloading update (0 of 10,116 KB)...
So basicaly
mkdir steam
Download to directory steam
untar
run STEAMEXE=steamcmd ./steam.sh
Don't go into the linux32 directory.
I guess you followed this guide?
Heres what I did to get it up.
So basicaly
mkdir steam
Download to directory steam
untar
run STEAMEXE=steamcmd ./steam.sh
Code:
root@adam-server:/# cd downloads
root@adam-server:/downloads# mkdir ./steam
root@adam-server:/downloads# ls
steam
root@adam-server:/downloads# wget http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz
--2012-08-22 16:39:53-- http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz
Resolving blog.counter-strike.net (blog.counter-strike.net)... 63.228.223.107
Connecting to blog.counter-strike.net (blog.counter-strike.net)|63.228.223.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1715622 (1.6M) [application/x-gzip]
Saving to: `steamcmd.tar.gz'
100%[======================================>] 1,715,622 449K/s in 4.7s
2012-08-22 16:40:19 (360 KB/s) - `steamcmd.tar.gz' saved [1715622/1715622]
root@adam-server:/downloads# ls
steam steamcmd.tar.gz
root@adam-server:/downloads# mv steamcmd.tar.gz steam
root@adam-server:/downloads# ls
steam
root@adam-server:/downloads# cd steam
root@adam-server:/downloads/steam# ls
steamcmd.tar.gz
root@adam-server:/downloads/steam# tar xvfz steamcmd.tar.gz
steam.sh
linux32/steamcmd
root@adam-server:/downloads/steam# ls
linux32 steamcmd.tar.gz steam.sh
root@adam-server:/downloads/steam# ./steam.sh
./steam.sh: line 56: /downloads/steam/linux32/steam: No such file or directory
root@adam-server:/downloads/steam# ls
linux32 steamcmd.tar.gz steam.sh
root@adam-server:/downloads/steam# STEAMEXE=steamcmd ./steam.sh
./steam.sh: line 56: /downloads/steam/linux32/steamcmd: No such file or directory
root@adam-server:/downloads/steam# ls
linux32 steamcmd.tar.gz steam.sh
root@adam-server:/downloads/steam# STEAMEXE="steamcmd ./steam.sh"
root@adam-server:/downloads/steam# STEAMEXE="steamcmd ./steam.sh
>
> "
root@adam-server:/downloads/steam# STEAMEXE="steamcmd ./steam.sh"
root@adam-server:/downloads/steam# STEAMEXE=steamcmd ./steam.sh
./steam.sh: line 56: /downloads/steam/linux32/steamcmd: No such file or directory
No luck. :|
Edit:
I am running a 64bit Ubunutu, do you think that will cause any issues since steam.sh is checking for a Linux32 enviroment?
Should be backwards compatible yeah?
Last edited by onedayiwillbetheanswerer; 08-22-2012 at 02:16 AM.
Im running debian 64bit so this should not really be a problem. But who knows.
Just one thing that I noticed you're doing different from me is that you are running it as root and I as an unpriviliged user. Also it should rather cause more problems not running as root when coming to permissions in this case I would try it. Especially as you are installing a service as root.
If this does not bring the cure I'm out of idea. Also you could strace the whole thing.
If this does not bring the cure I'm out of idea. Also you could strace the whole thing.
Tried both as a user and as a user with sudo.
Still no go.
I even tried giving all files full 777.
From what I can tell in the steam.sh script, it should be executing.
It points to the correct directory, so that's as far as my knowledge goes
Never used strace before, but I shall give it a go.
If that fails.. where do I go from here? haha
Last edited by onedayiwillbetheanswerer; 08-22-2012 at 05:41 AM.
Tried it again from gound up. Worked for me. A little trick to get rid of the STEAMEXE=steamcd ./steam.sh line is to have a symlink in linux32 from steam to steamcmd.
Code:
cd linux32
ln -s ./steamcmd ./steam
Then you can just call ./steam.sh. Or set the variable inside the steam.sh script to it.
This all came from looking at the steam.sh script which like we all found out does not really do much beside setting the LD_DIRECTORY and setting the STEAMEXE to run.
Tried it again from gound up. Worked for me. A little trick to get rid of the STEAMEXE=steamcd ./steam.sh line is to have a symlink in linux32 from steam to steamcmd.
Code:
cd linux32
ln -s ./steamcmd ./steam
Then you can just call ./steam.sh. Or set the variable inside the steam.sh script to it.
This all came from looking at the steam.sh script which like we all found out does not really do much beside setting the LD_DIRECTORY and setting the STEAMEXE to run.
I've already tried setting the variable inside the steam.sh script, so I didn't have to type the 'STEAMEXE=steamcmd'
Is there a way I could just execute the steamcmd file without using the script to clarify whether I have the correct OS or not?
I know I have the correct OS, so then the script is pointless, yeah?
edit: I'm going to try installing ia32-libs and see what happens.
Last edited by onedayiwillbetheanswerer; 08-23-2012 at 02:54 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.