CM2Walki / CSGO

Dockerfile for automated build of a CS:GO gameserver: https://hub.docker.com/r/cm2network/csgo/

Home Page:https://CM2.Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Container is not starting on Ubuntu 18.10

buckalot opened this issue · comments

Hi,
I'm desperately trying to get the container running on my docker-server but the container keeps stopping with exit code 127. Are there any requirements I'm missing?

The logfile looks like this:

Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
[  0%] Checking for available updates...
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
CWorkThreadPool::StartWorkThread: Thread creation failed.
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
CWorkThreadPool::StartWorkThread: Thread creation failed.
/home/steam/steamcmd/steamcmd.sh: line 39:    13 Segmentation fault      (core dumped) $DEBUGGER "$STEAMEXE" "$@"
tar: /home/steam/csgo-dedicated/csgo: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
sed: can't read /home/steam/csgo-dedicated/csgo/cfg/server.cfg: No such file or directory
bash: /home/steam/csgo-dedicated/srcds_run: No such file or directory

Running steamcmd.sh in the docker shows:

Redirecting stderr to '/root/Steam/logs/stderr.txt'
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
[  0%] Checking for available updates...
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
CWorkThreadPool::StartWorkThread: Thread creation failed.
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
CWorkThreadPool::StartWorkThread: Thread creation failed.
src/tier0/threadtools.cpp (4122) : Probably deadlock or failure waiting for thread to initialize.
Thread failed to initialize
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.
./steamcmd.sh: line 39:    87 Segmentation fault      (core dumped) $DEBUGGER "$STEAMEXE" "$@"

Thinks I've tried:

  • Run with the basic Setup: docker run -d --net=host --name=csgo-dedicated -e SRCDS_TOKEN={YOURTOKEN} cm2network/csgo (with my valid token)
  • Add a volumen
  • try different networking-settings
  • Checked for free disc-space on the host (800GB)
  • Manually set DNS to 8.8.8.8 / 8.8.4.4 - other wget works aswell

The host is:

  • Ubuntu 18.10 (GNU/Linux 4.18.0-25-generic x86_64)
  • Docker Version: 18.06.1-ce

I have this same issue!

It seems to be a permission issue. When I did
sudo chmod 777 HOSTFOLDER
it got a bit further.

bump, these are the last start logs i'm getting before it freezes:

csgo-server  | [S_API FAIL] SteamAPI_Init() failed; create pipe failed.[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
csgo-server  | CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
csgo-server  | Setting breakpad minidump AppID = 730
csgo-server  | Forcing breakpad minidump interfaces to load
csgo-server  | Looking up breakpad interfaces from steamclient
csgo-server  | Calling BreakpadMiniDumpSystemInit
csgo-server  | Looking up breakpad interfaces from steamclient
csgo-server  | Calling BreakpadMiniDumpSystemInit
csgo-server  | Setting breakpad minidump AppID = 740

I've updated to Ubuntu 22 and Docker to 23 that solved the issue for me.

bump, these are the last start logs i'm getting before it freezes:

csgo-server  | [S_API FAIL] SteamAPI_Init() failed; create pipe failed.[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
csgo-server  | CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
csgo-server  | Setting breakpad minidump AppID = 730
csgo-server  | Forcing breakpad minidump interfaces to load
csgo-server  | Looking up breakpad interfaces from steamclient
csgo-server  | Calling BreakpadMiniDumpSystemInit
csgo-server  | Looking up breakpad interfaces from steamclient
csgo-server  | Calling BreakpadMiniDumpSystemInit
csgo-server  | Setting breakpad minidump AppID = 740

I do have the same issue and don't know why it don't proceed. Even ChatGPT doesn't has an answer.