ShilongLi 2021 年 6 月 8 日 下午 11:38
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:
< >
正在显示第 1 - 5 条,共 5 条留言
Major Koenig 2021 年 6 月 9 日 上午 6:29 
This with Steamcmd error appears in all installations. No matter if Windows / Debian / Linux. No matter which hard drive or SSD.
Major Koenig 2021 年 6 月 9 日 上午 7:18 
During the update process the steamapps folder is deleted, then the error message "Disk write failure" appears.
Metal_Warrior 2021 年 6 月 10 日 下午 2:13 
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 2021 年 6 月 13 日 下午 5:01 
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 2021 年 6 月 13 日 下午 8:32 
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".
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50