Issue running Garry's Mod server CentOS 7.1

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Abtaminto
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Oct 05, 2015 8:54 am

Issue running Garry's Mod server CentOS 7.1

Post by Abtaminto »

When attempting to run my Garry's Mod server with CentOS 7.1 I've been getting an error and not being able to connect to it.

This is what happens when I run the server by typing "sudo ./srcds_run -game garrysmod +maxplayers 8 +map gm_construct" after the "sudo screen -S Gmod" part.

Code: Select all

[root@nylestinks ~]# cd gmod
[root@nylestinks gmod]# sudo screen -S Gmod
with error:
/root/.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 unknown, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Error loading cfg/trusted_keys_base.txt
Error loading cfg/pure_server_minimal.txt
PREP OK
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)
Initializing Steam libraries for secure Internet server
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
/root/.steam/sdk32/libsteam.so
with error:
/root/.steam/sdk32/libsteam.so: cannot open shared object file: No such file or directory
Logging into anonymous gameserver account.
Connection to Steam servers successful.
   Public IP is 74.91.116.63.
Assigned anonymous gameserver Steam ID [A-1:1475958792(5941)].
VAC secure mode is activated.
Thank you for the help in advance!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Issue running Garry's Mod server CentOS 7.1

Post by soja »

You shouldn't be running the gmod server as root with sudo.

Run iptables -L and post the output.

CentOS isn't really recommended for running game servers. Debian and its variants provide higher performance.
Not a NFO employee
Abtaminto
New to forums
New to forums
Posts: 3
Joined: Mon Oct 05, 2015 8:54 am

Re: Issue running Garry's Mod server CentOS 7.1

Post by Abtaminto »

soja wrote:You shouldn't be running the gmod server as root with sudo.

Run iptables -L and post the output.

CentOS isn't really recommended for running game servers. Debian and its variants provide higher performance.
In that case I believe I'm going to just install Debian and then work my way from there.

Thank you for the help!
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Issue running Garry's Mod server CentOS 7.1

Post by soja »

Abtaminto wrote:
soja wrote:You shouldn't be running the gmod server as root with sudo.

Run iptables -L and post the output.

CentOS isn't really recommended for running game servers. Debian and its variants provide higher performance.
In that case I believe I'm going to just install Debian and then work my way from there.

Thank you for the help!
My pleasure. If you need help with anything on Debian, please ask!
Not a NFO employee
Abtaminto
New to forums
New to forums
Posts: 3
Joined: Mon Oct 05, 2015 8:54 am

Re: Issue running Garry's Mod server CentOS 7.1

Post by Abtaminto »

soja wrote:
Abtaminto wrote:
soja wrote:You shouldn't be running the gmod server as root with sudo.

Run iptables -L and post the output.

CentOS isn't really recommended for running game servers. Debian and its variants provide higher performance.
In that case I believe I'm going to just install Debian and then work my way from there.

Thank you for the help!
My pleasure. If you need help with anything on Debian, please ask!
Probably an idiot mistake on my part but I've been following to SteamCMD wiki guide on setting up SteamCMD and I've got this issue:

Code: Select all

steam@nylestinks:~/steamcmd$ ls
linux32  steamcmd_linux.tar.gz  steamcmd.sh  steam.sh
steam@nylestinks:~/steamcmd$ ./steamcmd.sh
./steamcmd.sh: line 29: /home/steam/steamcmd/linux32/steamcmd: No such file or directory
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Issue running Garry's Mod server CentOS 7.1

Post by soja »

Have you ran "sudo apt-get install lib32gcc1" yet?
Not a NFO employee
Post Reply