Score:0

CS GO server error on Ubuntu 22.04

mw flag

As a part of my self-training, where I try to learn anything about VPS's, I wanted to start my own small CS:GO server.

I was using multiple tutorials available in the web, but none of those answers my question about the error which is occuring every time, no matter which tutorial I use.

Server details:

VPS from OVHcloud, 1vC, 2 GB operational memory, 40 GB disk space, Ubuntu 22.04

Steps that I performed:

As a root, created a steam user: sudo useradd -m steam sudo passwd steam

Went into the folder cd /home/steam

Installed the dependencies required to run SteamCMD sudo apt-get install lib32gcc-s1

Created a directory for SteamCMD and switched to it mkdir ~/Steam && cd ~/Steam

Downloaded and unzipped the SteamCMD wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz

tar xf steamcmd_linux.tar.gz

Created the install folder force_install_dir ./csgo

Logged as anonymous login anonymous

Updated the app to download the CS GO server files app_update 740 validate

Created an startserver.sh file with following commands inside: ./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2 +sv_setsteamaccount XXXXXX -net_port_tryz (replacing XXX with my token)

Tried to run the .sh file mentioned in pt. 9, and getting this error: LD_LIBRARY_PATH=/home/steam/cs_go/bin:/home/steam/cs_go:/home/steam/cs_go/bin: Failed to open libtier0.so (/home/steam/cs_go/bin/libgcc_s.so.1: version GCC_7.0.0' not found (required by /lib32/libstdc++.so.6))

When I run the .sh script to run the server, I always get the same error, no matter which tutorial I use

As my knowledge about managing/setting VPS servers over SSH is almost close to 0, it's possible that I had the answer just in front of my eyes, but I didn't know that.

Everything that is related to this error should be installed, but it seems that something is wrong with the LD_LIBRARY_PATH.

Any help would be largely appreciated.

Thank you in advance.

Followed tutorials step by step

Installed all necessary libraries (I hope so)

Checked the official SteamCMD wiki

Expectation: to run the server

Score:0
fr flag
sudo apt-get install libc6:i386 lsb-core
sudo apt-get install lib32z1
sudo apt-get install ia32-libs
sudo apt install build-essential

Link

Bart avatar
mw flag
Hello, Unfortunately I get the same output with the error. Third command `sudo apt-get install ia32-libs` returns `Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1`. Installing the mentioned package does nothing for solving my problem as well.
pl flag
Omit that one, and does it work?
Bart avatar
mw flag
Commands from the 1st answer do not result in any changes, still the same error regarding LD_LIBRARY_PATH
Score:0
bq flag

After installing the required libraries as @sinclair pointed out, rename or remove the included libgcc_s.so.1 file inside the server's bin directory.

mv /home/steam/cs_go/bin/libgcc_s.so.1 /home/steam/cs_go/bin/libgcc_s.so.1.old
Bart avatar
mw flag
This allowed me to finally run the server. Nevertheless, I cannot connect to it, as it demand to restart it. `sudo reboot` does not help, so I assume it has to be done via SteamCMD? I cannot find anything related to it in the web.
Facundo Juárez avatar
bq flag
What's the exact error message? I'm assuming the server is prompting you to update it. If that is the case, run _steamcmd_ and type in the following commands: `force_install_dir CSGO_SERVER_DIR` `login anonymous` `app_update 740`. Where CSGO_SERVER_DIR is the path to your server (i.e ./csgo). Updating the server can be automated in the launch script: [link](https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive/Dedicated_Servers#Linux_Scripts).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.