Debian 8.2 64 bits et Garry's mod uniquement en root ?

Bonjour,

je n’arrive pas à faire fonctionner le jeux Garry’s mod sur un Debian 8.2 64bits, sur la version 32 bits aucun problème, sur les autres jeux Steam en version 64 bits ça ne pose pas de problème non plus visiblement.

J’ai installé les lib suivantes:

apt-get install -y lib32z1 apt-get install -y lib32ncurses5 apt-get install -y gcc-multilib

Ce qui est super bizarre c’est qu’en “root” le serveur se lance correctement, mais avec un autre utilisateur il plante.

Je suppose donc que les lib nécéssaires 32 bits sont bien installées, mais il y à un problème de droit, pour les chemin ont été ajoutés uniquement pour l’utilisateur root ?

Voilà le log d’un serveur en root:

root@debian:/var/serveurs/20fec17371a70f10fbc71fb86c860b2f_d34b9d26cc7c114e2e284d811bf48a88# ./srcds_run -debug -game garrysmod -console -condebug -port 27015 +ip 192.168.0.102 +maxplayers 0 +map gm_construct -tickrate 128 -sv_pure 2


************** WARNING ***************
Running the dedicated server as root  
is highly discouraged. It is generally
unnecessary to use root privileges to 
execute the dedicated server.         
**************************************


Auto detecting CPUntinue to launch in 1 secondss
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
Setting breakpad minidump AppID = 4000
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to login to a persistent account.)
Fetching Workshop Addons.. No -authkey
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Network: IP 192.168.0.102, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error loading cfg/trusted_keys_base.txt
Error loading cfg/pure_server_full.txt
pure_server_whitelist.txt not present; pure server using only base file rules
trusted_keys.txt not present; pure server using only base trusted key list
PREP OK
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file cfg/mapcycle.txt.
Nav File is wrong or something (4)
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to login to a persistent account.)
Connection to Steam servers successful.
   Public IP is 78.227.131.39.
Assigned anonymous gameserver Steam ID [A-1:2617660420(6236)].
VAC secure mode is activated.
status
hostname: Garry's Mod
version : 15.12.15/24 6248 secure
udp/ip  : 192.168.0.102:27015  (public ip: 78.227.131.39)
map     : gm_construct at: 0 x, 0 y, 0 z
players : 0 (128 max)

# userid name                uniqueid            connected ping loss state  adr

Voilà le log d’un serveur en “www-data” par exemple (testé avec d’autre utilisateurs):

root@debian:/var/serveurs/20fec17371a70f10fbc71fb86c860b2f_d34b9d26cc7c114e2e284d811bf48a88# su www-data 
$ ./srcds_run -debug -game garrysmod -console -condebug -port 27015 +ip 192.168.0.102 +maxplayers 0 +map gm_construct -tickrate 128 -sv_pure 2
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Couldn't load shader dll: game_shader_generic_garrysmod_srv.soConVarRef mat_dxlevel doesn't point to an existing ConVar
Game_srv.so loaded for "Garry's Mod"
Setting breakpad minidump AppID = 4000
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-processapplicationmanager.cpp (3086) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
Assert( Assertion Failed: CApplicationManager::GetMountVolume: invalid index ):applicationmanager.cpp:3086

Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20160102140258_4.dmp
success = no
error:  libcurl.so: cannot open shared object file: No such file or directory
applicationmanager.cpp (3086) : Assertion Failed: CApplicationManager::GetMountVolume: invalid index
applicationmanager.cpp (3237) : Assertion Failed: m_vecInstallBaseFolders.Count() > 0
No account token specified; logging into anonymous game server account.  (Use sv_setsteamaccount to login to a persistent account.)
Fetching Workshop Addons.. No -authkey
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Network: IP 192.168.0.102, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error loading cfg/trusted_keys_base.txt
Error loading cfg/pure_server_full.txt
pure_server_whitelist.txt not present; pure server using only base file rules
trusted_keys.txt not present; pure server using only base trusted key list
PREP OK
Model models/props_c17/light_industrialbell01_on.mdl not found and models/error.mdl couldn't be loaded
Model models/props_c17/light_industrialbell01_on.mdl not found and models/error.mdl couldn't be loadedModel models/props_c17/light_industrialbell01_on.mdl not found and models/error.mdl couldn't be loaded
Segmentation fault (core dumped)
BFD: Attention: /var/serveurs/20fec17371a70f10fbc71fb86c860b2f_d34b9d26cc7c114e2e284d811bf48a88/core est tronqué: taille attendue du cœur du fichier >= 235323392, obtenu: 1024000.
Cannot access memory at address 0xf77db928
Cannot access memory at address 0xf77db924
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0xffde19f0: 
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0xffde19f0
email debug.log to linux@valvesoftware.com
samedi 2 janvier 2016, 14:03:01 (UTC+0100): Server restart in 10 seconds
samedi 2 janvier 2016, 14:03:02 (UTC+0100): Server Quit

On dirais que déjà il y à un problème avec libcurl.so

Je suppose que c’est juste un problème de droit sur des fichiers lib mais je ne vois pas du tout comment cibler les fichiers en question.

Merci de votre aide.

Eliott.

Hello,

Pour moi ton problème se situerai plus par là :

Tu peux lancer (en root puis avec un autre user) :

which steamerrorreporter exoprt

Et donner le résultat

Ty