Hey guys, I have taken the pride of installing a server on my Linux machine to host for my friends. This is the procedure I followed to install the server.
1. I created a user on my Linux machine called gmod.
2. I logged in as that user.
3. [CODE]mkdir ~/Steam[/CODE]
4. [CODE] cd ~/Steam[/CODE]
5. [CODE]wget http://media.steampowered.com/client/steamcmd_linux.tar.gz[/CODE]
6. [CODE]tar -xvzf steamcmd_linux.tar.gz[/CODE]
7. [CODE]./steamcmd.sh +login anonymous +force_install_dir ../gmodds +app_update 4020 validate +quit[/CODE]
8. Waited for about 30 minutes for everything to download.
9. [CODE]cd ~/gmodds/[/CODE]
10. [B][U]THIS IS WHERE BAD THINGS START HAPPENING[/U][/B]
[CODE] ./srcds_run -game garrysmod +maxplayers 32 +map gm_construct[/CODE]
This is the output...
[CODE]gmod@Alec-PC-Lubuntu:~/gmodds$ ./srcds_run -game garrysmod +maxplayers 1 +map gm_construct
Auto detecting CPU
Using default binary: ./srcds_linux
Server will auto-restart if there is a crash.
Console initialized.
ConVarRef 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.
dlopen failed trying to load:
/home/gmod/.steam/sdk32/libsteam.so
with error:
/home/gmod/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory
Logging into anonymous gameserver account.
Fetching Workshop Addons.. No -authkey
dlopen failed trying to load:
/home/gmod/.steam/sdk32/libsteam.so
with error:
/home/gmod/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
/home/gmod/.steam/sdk32/libsteam.so
with error:
/home/gmod/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
/home/gmod/.steam/sdk32/libsteam.so
with error:
/home/gmod/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory
Unknown command "cl_cmdrate"
Unknown command "cl_updaterate"
Unknown command "rate"
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Warning! Singleplayer mode not available on dedicated server.
PREP OK
Lua JIT is DISABLED!
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Map cycle file 'cfg/mapcycle.txt' was not found.
Nav File is wrong or something (4)
[/CODE]
At "[I]Nav file is wrong or something (4)[/I] it just hangs and doesn't give any more output.
It seems to me like it cannot load some Steam libraries. Is there any way to fix this? Any help is appriciated.
Usually those libsteam errors are harmless, but a simple symbolic link will suppress them.
[code]ln -s ~/gmodds/bin ~/.steam/sdk32[/code]
As for the hanging, maybe try throwing +ip <your external ip> in the command line?
Sorry, you need to Log In to post a reply to this thread.