ShilongLi 8 Jun, 2021 @ 11:38pm
HELP !!!
HELP !!!
I encountered an error when I installed the csgo server on Linux (CentOS).

These are the commands I entered on "steamcmd":

Steam>login anonymous

Steam>force_install_dir /root/csgoserver

Steam>app_update 740 validate

ERROR! Failed to install app '740' (Disk write failure)



Why is it so?

I log in with root

I guarantee that "/root/csgoserver" exists.

I had chomd 777 /root/csgoserver

I had chmod 777 steamcmd.sh

I have enough space to install it.

I would appreciate it if that you could hlep me.

please help me.
:steamsad:
< >
Showing 1-5 of 5 comments
Major Koenig 9 Jun, 2021 @ 6:29am 
This with Steamcmd error appears in all installations. No matter if Windows / Debian / Linux. No matter which hard drive or SSD.
Major Koenig 9 Jun, 2021 @ 7:18am 
During the update process the steamapps folder is deleted, then the error message "Disk write failure" appears.
Metal_Warrior 10 Jun, 2021 @ 2:13pm 
Don't EVER run ANYTHING related to server applications as root. Dedicated user, dedicated home directory, but NEVER root, and most certainly not /root/. And stop using chmod 777 for anything. You're breaking every security your server provides. At max use 755.

Bloody hell. Morons all around.

Apart from that:

(you might have to recheck, I'm a Debian SysOp and don't use CentOS)
useradd --system --home-directory /opt/csgo csgo

su csgo /usr/games/steamcmd +login anonymous +force_install_dir /opt/csgo +app_update 740 validate +quit

This should install your server.
But, from professional to pebcak: Leave installing and running servers to people who have at least basic knowledge how to set up a server.
Major Koenig 13 Jun, 2021 @ 5:01pm 
Hello,

the problem occurred to many users and had to do with an update of steam, a day later it was fixed.


Anyone who runs a game server via root shouldn't be surprised if the user root gets cheated at some point.
Bloo Alien 13 Jun, 2021 @ 8:32pm 
So pleased to see folks givin' good security advice here! Too often I see threads like this where the first suggestions are incredibly bad advice like "just run as admin" or "disable the firewall".
< >
Showing 1-5 of 5 comments
Per page: 1530 50